review
Installation
SKILL.md
Review
对用户提供的固定点与 HEAD 之间的 diff 做双轴 review:
- Standards — 代码是否符合这个 repo 记录下来的 coding standards?
- Spec — 代码是否忠实实现来源 issue / PRD / spec?
两个轴线都作为并行 sub-agents运行,避免互相污染 context;然后这个 skill 聚合它们的 findings。
Issue tracker 应该已经提供给你;如果缺少 docs/agents/issue-tracker.md,运行 /setup-matt-pocock-skills。
Process
1. Pin the fixed point
用户说的任何内容都是 fixed point:commit SHA、branch name、tag、main、HEAD~5 等。不要自作主张;原样传入。如果用户没有指定,询问:“Review against what — a branch, a commit, or main?” 在拿到 fixed point 前不要继续。
先捕获一次 diff command:git diff <fixed-point>...HEAD(three-dot,因此比较对象是 merge-base)。同时用 git log <fixed-point>..HEAD --oneline 记录 commits 列表。