This runs a two-axis code review on your git diff between any fixed point and HEAD. It spins up parallel sub-agents to check whether your changes match coding standards and whether they actually implement the spec from your issue or PRD. The parallel approach keeps the contexts separate so they don't contaminate each other, then aggregates findings. You pick the comparison point (a commit SHA, branch, tag, or relative ref like HEAD~5), and it validates everything before kicking off the review agents. It's a Chinese localization of Matt Pocock's original skill set. Useful when you want structured feedback on a feature branch before merging, especially if you've got documented standards and clear specs to check against.

skills.sh installs
4.4K
GitHub stars
5.7K
last updated
Aug 21, 2026

Install

$ npx -y skills add vinvcn/mattpocock-skills-zh-cn --skill code-review --agent claude-code

Installs into .claude/skills of the current project.

Files

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

  • Standards:代码是否符合这个 repo 记录下来的 coding standards?
  • Spec:代码是否忠实实现来源 issue / spec?

两个轴线都作为并行 sub-agents运行,避免互相污染 context;然后这个 skill 聚合它们的 findings。每个 sub-agent 都要使用全新的 context window 启动。

Issue tracker 应该已经提供给你;如果没有,请让用户运行 /setup-matt-pocock-skills。

流程

1. 确定 fixed point

用户说的任何内容都是 fixed point:commit SHA、branch name、tag、main、HEAD~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 后才失败。

2. 找到 spec 来源

按以下顺序寻找来源 spec:

  1. Commit messages 中的 issue references(#123、Closes #45、GitLab !67 等),按 tracker doc 中的 workflow 获取。
  2. 用户作为 argument 传入的 path。
  3. docs/、specs/ 或 .scratch/ 下与 branch name 或 feature 匹配的 spec 文件。
  4. 如果什么都找不到,询问用户 spec 在哪里。如果用户说没有 spec,Spec sub-agent 跳过并报告 “no spec available”。

3. 找到 standards 来源

搜索 repo 中所有记录代码应该如何写的文件。当 CODING_STANDARDS.md 或 CONTRIBUTING.md 存在时,必须列入清单。

Sponsors

Details

Repository
github.com/vinvcn/mattpocock-skills-zh-cn
Categories
Git & Pull Requests, Code Review & Quality, Release Management, Productivity & Planning
First seen
Jul 14, 2026

More from vinvcn/mattpocock-skills-zh-cn

All 39
1softaworks avatarcommit-worksoftaworks/agent-toolkitCreate high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Us4.2Kskills.sh installs
2vinvcn avatarresolving-merge-conflictsvinvcn/mattpocock-skills-zh-cn适用于需要解决正在进行的 git merge/rebase 冲突时。3.5Kskills.sh installs
3cursor avatarthermo-nuclear-reviewcursor/pluginsComprehensive security and correctness audit of a branch's changes. Use for thermo nuclear, thermonuclear, or deep review requests, or branch/PR diff audits foc2.8Kskills.sh installs
4cursor avatarreview-and-shipcursor/pluginsReview the current branch for bugs, intent fit, and test coverage; run or write tests; commit focused work; open or update a PR.2.6Kskills.sh installs
5qodo-ai avatarqodo-pr-resolverqodo-ai/qodo-skillsUse when the user wants to review Qodo PR feedback or fix code review comments. Capabilities: view issues by severity, apply fixes interactively or in batch, re2.4Kskills.sh installs
6yoshiko-pg avatardifit-reviewyoshiko-pg/difitA skill for reviewing a specific diff and showing the findings as comments inside difit (the diff viewer). Use it to review branch diffs, commit diffs, or GitHu1.9Kskills.sh installs