Code Review

Review a finished change against its plan. Spawns 1 reviewer subagent, reports ship/rework with severity-tagged findings. Use AFTER /code-build.

alexeyshishin 43a858f 2 files · 2.2 KB Updated

File contents

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. Plan: swarm-report/-plan.md Diff below:

    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.

alexeyshishin/as-skill/tree/main/domains/code/skills/code-review commit 43a858fed2

Frequently asked questions

npx skillmds@latest add alexeyshishin/code-review