$ skilldirectory
— zsh — registry.skilldirectory.dev
skill library blog

home / Coding / Code Review Skill by @mattpocock

Code Review Skill by @mattpocock

FREE
github stars★ 3,15,437updatedOct 2026repo@mattpocock
$git clone https://github.com/mattpocock/skills

The skill is the skills/engineering/code-review folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.

Read the opening of the original SKILL.md
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`.

## Process

### 1. Pin the fixed point

Whatever the user said is the fixed point (a commit SHA, branch name, tag, `main`, `HEAD~5`, etc.). If they didn't specify one, ask for it.

Capture the diff command once: `git diff <fixed-point>...HEAD` (three-dot, so the comparison is against the merge-base). Also note the list of commits via `git log <fixed-point>..HEAD --oneline`.
…

Excerpt only, quoted from the author's repository. Open the repository for the complete file.