codebrewrouter-logging-contract
仓库创建 2026年4月15日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由
保证修改不会破坏可观察性与审计需求。
这个 Skill 做什么
规范 CodebrewRouter 的运行时日志与可见遥测格式与实践。
在修改路由器运行时日志、Aspire 可见请求遥测、代理提示、定制 agent 或相关测试时,遵守 CodebrewRouter 的日志规范,确保 [ROUTER-*] 与 [AGENT-*] 标记的可观测性不被破坏。变更前先读 Docs/engineering/logging-contract.md,并用规定的 RouterLog.Write(...) 等方法写日志。这个项目级合约用来保持可追踪、可分析的运行时遥测一致性。
▸ 展开 SKILL.md 英文原文
Enforce the CodebrewRouter logging contract when changing router telemetry, Aspire-visible request logs, agent prompts, custom agents, or tests that cover [ROUTER-*] and [AGENT-*] tags.
0
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Codebrew-company/CodebrewRouter/master/.agents/skills/codebrewrouter-logging-contract/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Codebrew-company/CodebrewRouter/master/.agents/skills/codebrewrouter-logging-contract/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# CodebrewRouter Logging Contract ## Overview Use this project-level only skill whenever a change touches runtime routing logs, Aspire-visible request telemetry, custom agents, or prompt files that describe agent logging. ## Source Of Truth Read `Docs/engineering/logging-contract.md` before editing logging behavior or agent instructions. ## Runtime Rules - Use `RouterLog.Write(...)` for C# router telemetry. - Router request lifecycle logs must start with an exact `[ROUTER-*]` tag from the contract. - Keep `[ROUTER-CONTEXT]` at Debug. - Keep `[ROUTER-SKIP]`, `[ROUTER-FAIL]`, `[ROUTER-EXHAUSTED]`, and `[ROUTER-MIDSTREAM-FAIL]` at Warning unless the call explicitly escalates to Error. - D
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有