skills/superpowers/requesting-code-review/SKILL.md
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
npx skillsauth add jbro/pi-agent requesting-code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review code changes directly to catch issues before they cascade.
Core principle: Review early, review often.
Mandatory:
Optional but valuable:
1. Get git range:
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
git diff --stat $BASE_SHA..$HEAD_SHA
git diff $BASE_SHA..$HEAD_SHA
2. Work through the review checklist below.
3. Act on findings:
Code Quality:
Architecture:
Testing:
Requirements:
Production Readiness:
[What's well done? Be specific with file:line references.]
[Bugs, security issues, data loss risks, broken functionality]
[Architecture problems, missing features, poor error handling, test gaps]
[Code style, optimization opportunities, documentation improvements]
For each issue: file:line reference, what's wrong, why it matters, how to fix.
Ready to merge? [Yes / No / With fixes] Reasoning: [1-2 sentence technical assessment]
For report wording quality (clarity, brevity, tone), use the writing-clearly-and-concisely skill.
When executing plans:
Ad-hoc development:
Never:
If a finding seems wrong:
testing
Use when writing or editing human-facing prose that needs clearer, more concise wording.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting any conversation or task, to determine which skills apply before responding or taking any action.