Add an Independent Review Step
A session that wrote the code is biased by its own context. For important work, add an independent review step.
Start with /code-review
Section titled “Start with /code-review”For a plain correctness check, run the bundled /code-review skill (alias /review). It reviews the current diff, or a PR number, branch, or path you pass, in a fresh subagent and returns the findings to your session. --fix applies the findings and --comment posts them on the pull request.
/code-reviewWrite your own prompt, as below, when you want the diff checked against a plan or acceptance criteria.
Review prompt
Section titled “Review prompt”Use a subagent to review the current diff against PLAN.md.Check that every requirement is implemented, edge cases have tests,and nothing outside the task scope changed.Report correctness gaps, not style preferences.What to review
Section titled “What to review”- The current diff.
- The plan or acceptance criteria.
- Tests and verification output.
- Security or data handling risks.
- Scope creep.
Avoid over-reviewing
Section titled “Avoid over-reviewing”Ask the reviewer to report gaps that affect correctness or stated requirements. Otherwise it may generate low-value suggestions that lead to unnecessary abstraction or defensive code.