review
Installation
SKILL.md
Code Review
Review one immutable diff against:
- Standards — repository instructions and documented coding standards.
- Spec — the originating issue, PRD, or acceptance criteria.
Prepare
- Pin the requested input. Resolve committed endpoints to SHAs; if staged or working-tree changes are included, capture one patch snapshot. Give every reviewer that same immutable diff. Stop on invalid or empty input.
- Find the spec from commit references, a user-provided path, or matching files under
docs/,specs/, or.scratch/. If none exists, mark the Spec axis unavailable. - Find applicable repository instructions and standards such as
CLAUDE.md,AGENTS.md,CONTRIBUTING.md, andCODING_STANDARDS.md. - Inventory the complete diff: files, hunks, additions, deletions, renames, and binary files. Never rely on one possibly truncated diff output.
- Find the specs of the changes. what feature it delivers, or what issue it solves. Use PR summary or linked issues or user provided context. If not sure, Ask user before proceeding. Sometimes its possible to understand the spec from the code changes as well.