Coding Standards 📅 发布时间:2026/9/13 15:05:22 👁 浏览次数: Coding Standards【免费下载链接】compound-engineering-pluginOfficial Compound Engineering plugin for Claude Code, Codex, Cursor, and more项目地址: https://gitcode.com/GitHub_Trending/ev/compound-engineering-pluginEvery exported function declares an explicit return type.Nothing insrc/callsconsole.logdirectly; route it through thelog()helper.规则内容建议写成可引用的具体条款上面两条都是因为后文会看到报告中的每个标准类发现必须能引用到具体规则引不出条款的发现会被丢弃。 和 CLAUDE.md、AGENTS.md 的关系是**按变更文件互斥**的CODING_STANDARDS.md 是指定标准源指令文件CLAUDE.md/AGENTS.md只对没有任何 CODING_STANDARDS.md 管辖的变更文件继续充当标准。任何文件都不会同时按两类文件评分当某次审查的标准来自指令文件回退时报告会在使用它的 Coverage 部分点名说明这个回退。 这也是指南推荐把可执行规则放进 CODING_STANDARDS.md 而非 AGENTS.md 的原因指令文件每一轮都进每个 agent 的上下文长度受压标准文件只在审查时由一个评审角色读一次可以随时间生长。 ## 执行审查 在装好插件的 agent 会话里按你的审查对象调用。常用形式来自 [docs/guides/ce-code-review.md](https://link.gitcode.com/i/74a141ff0ddb40997328561047de7276) 的 Example invocations text # 审查当前分支base 来自 origin/HEAD 或 PR 元数据 /ce-code-review # 审查指定 PR不 checkout /ce-code-review 1234 # 审查指定分支不 checkout /ce-code-review feat/notification-mute # 当前 checkout 对显式 base 审查跳过范围检测 /ce-code-review base:origin/main【免费下载链接】compound-engineering-pluginOfficial Compound Engineering plugin for Claude Code, Codex, Cursor, and more项目地址: https://gitcode.com/GitHub_Trending/ev/compound-engineering-plugin创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考