code-review
从固定比较点(提交、分支、标签或合并基点)审查变更,分别检查代码是否符合仓库规范,以及是否满足原始需求或问题描述。并行运行两类评审子代理,将发现并列汇报。适用于审查分支、PR、进行中的改动,或从指定比较点开始检查变更。
译文已校对查看英文原文
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
适用对象:软件开发与测试。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Process
- 1. Pin the fixed point
- 2. Identify the spec source
- 3. Identify the standards sources
- 4. Spawn both sub-agents in parallel
- 5. Aggregate
- Why two axes
Two-axis review of the diff between HEAD and a fixed point the user supplies: Standards: does the code conform to this repo's documented coding standards? Spec: does the code faithfully implement the originating issue / spec? Both axes run as parallel sub-agents so they don't pollute each other's context, then this skill aggregates their findings. Start every sub-agent with a fresh context window. The issue tracker should have been provided to you. If not, tell the user to run /setup-matt-pocock-skills. Whatever the user said is the fixed point (a commit SHA, branch name, tag, main, HEAD5, etc.). If they didn't specify one, ask for it. Capture the diff command once: git diff ...HEAD (three-dot, so the comparison is against the merge-base). Also note the list of commits via git log ..HEAD --oneline. Before going further, confirm the fixed point resolves (git rev-parse ) and the diff is non-empty. A bad ref or empty diff should fail here, not inside two parallel sub-agents. Look for the originating spec, in this order: 1. Issue references in the commit messages (#123, Closes #45, GitLab !67, etc.), fetched via the workflow in the tracker doc. 2. A path the user passed as an argument.
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- mattpocock/skills
- 源文件
- skills/engineering/code-review/SKILL.md
- 固定版本
- 4ae2317ddb22b046e26455e4f9c9b3aaaf62212d
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:Matt Pocock Skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T19:02:01.837Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。