Code review
Review the whole change against its base with numbered questions. Name the principle, the code and the fix, then verify each finding from scratch.
- Required 8
- Recommended 2
Required
Review the whole change against its base
RequiredReview a branch as one solution, compared with the branch it will merge into. Never review only the changed lines.
Check that it solves a named problem
RequiredEvery change must solve a problem someone can name, or add clear value to the codebase. Code without a reason is cost without return.
Keep it simple to maintain
RequiredChoose the simplest design that solves today's problem. A new developer or agent must understand a change without asking its author.
Name the principle and the fix in every finding
RequiredEvery finding names the broken principle, the exact file and line, and a concrete fix. "This feels messy" is not a finding.
Stay consistent with the codebase
RequiredNew code follows the patterns the codebase already uses for the same job. Two ways to do one thing doubles what every reader must learn.
Write code that agents can parse
RequiredWrite code that people and AI agents can read in one pass, with clear names, small files, types and a predictable structure.
Answer every question by number
RequiredAnswer every review question with its number, even when the answer is "no problems found". A skipped number counts as not reviewed.
Verify every finding from scratch
RequiredCheck each finding again with a reviewer who starts fresh, such as a second person or a new AI agent. Drop findings that don't hold up.
Recommended
Prefer the patterns the industry knows
RecommendedSolve common problems with the patterns and libraries most developers already know. Invent a new pattern only when the known ones fail.
Report problems beyond the diff
RecommendedWhen the review finds other code that breaks the same rules, report it too, as a separate list.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers architecture playbook: https://agentwranglers.se/playbook/architecture/code-review.