code-review ยท diff
git:20260811.6b9321d to git:20261017.66ad76d
1 added, 1 removed. Audit A to A.
---
name: code-review
description: Review a finished change against its plan. Spawns 1 reviewer subagent, reports ship/rework with severity-tagged findings. Use AFTER /code-build.
---
# Skill: /code-review
ORCHESTRATOR. One reviewer subagent. Read-only โ the reviewer does not fix.
## Invocation
`/code-review <slug>`
## Steps
1. **Gather**: plan `swarm-report/<slug>-plan.md` + build report `swarm-report/<slug>-build.md`
+ the diff (`git diff` for staged + unstaged, or vs the branch point).
2. **Spawn 1 reviewer** (`Task`, `general-purpose`). Prompt:
- > Answer TERSE. Read `.claude/agents/reviewer.md` and follow it exactly.
+ > Answer TERSE. Read `.claude/agents/code-reviewer.md` and follow it exactly.
> Plan: swarm-report/<slug>-plan.md
> Diff below:
> <paste git diff here>
Paste the diff INTO the prompt โ the reviewer must not re-read the whole repo.
3. **Report** the reviewer's verdict + findings verbatim.
4. If `verdict: rework` โ the findings ARE the input to a `/code-build <slug>` retry. Do not
auto-fix here; hand them back and let the user decide.