code-review

Installation
SKILL.md

对用户提供的 fixed point 与 HEAD 之间的 diff 做双轴 review:

  • Standards — 代码是否符合这个 repo 记录下来的 coding standards?
  • Spec — 代码是否忠实实现来源 issue / 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、mainHEAD~5 等。如果用户没有指定,就询问。

先捕获一次 diff command:git diff <fixed-point>...HEAD(three-dot,因此比较对象是 merge-base)。同时用 git log <fixed-point>..HEAD --oneline 记录 commits 列表。

继续前,确认 fixed point 能解析(git rev-parse <fixed-point>),并且 diff 非空。错误 ref 或空 diff 应该在这里失败,而不是进入两个并行 sub-agents 后才失败。

Installs
2.7K
GitHub Stars
3.6K
First Seen
Jul 4, 2026
code-review — vinvcn/mattpocock-skills-zh-cn