Requesting code review: a fresh subagent checks Claude's work before you merge

Requesting code review is a free Claude skill by obra, part of the Superpowers collection. After a task, a major feature or before a merge, Claude hands the diff between two commits to a separate reviewer subagent with only the context it needs, never your session history. Critical issues get fixed immediately.
--- name: requesting-code-review description: Use when completing tasks, implementing major features, or before merging to verify work meets requirements --- # Requesting Code Review Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history. **Core principle:** Review early, review often. ## When to Request Review **Mandatory:** - After each task in subagent-driven development - After completing major feature - Before merge to main
Overview
Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history.
Manual install (npx, ZIP)
npx skills add obra/superpowers --skill requesting-code-review -g -a claude-codemkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/obra/superpowers/tar.gz/5bf4e7801107 \
| tar -xz -C ~/.claude/skills --strip-components=2 superpowers-5bf4e7801107/skills/requesting-code-reviewNew-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/00a4c1bff4ded66b9c9b/requesting-code-review.zip" -OutFile "$env:TEMP\requesting-code-review.zip"; Expand-Archive "$env:TEMP\requesting-code-review.zip" -DestinationPath "$HOME\.claude\skills" -ForceConnects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md2.9 KBcode-reviewer.md6.3 KB
Read the files here
Show the full text96 lines
Requesting Code Review
Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history.
Core principle: Review early, review often.
When to Request Review
Mandatory:
- After each task in subagent-driven development
- After completing major feature
- Before merge to main
Optional but valuable:
- When stuck (fresh perspective)
- Before refactoring (baseline check)
- After fixing complex bug
How to Request
1. Get git SHAs:
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
2. Dispatch code reviewer subagent:
Dispatch a general-purpose subagent, filling the template at code-reviewer.md
Placeholders:
{DESCRIPTION}- Brief summary of what you built{PLAN_OR_REQUIREMENTS}- What it should do{BASE_SHA}- Starting commit{HEAD_SHA}- Ending commit
3. Act on feedback:
- Fix Critical issues immediately
- Fix Important issues before proceeding
- Note Minor issues for later
- Push back if reviewer is wrong (with reasoning)
Example
[Just completed Task 2: Add verification function]
You: Let me request code review before proceeding.
BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
[Dispatch code reviewer subagent]
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
PLAN_OR_REQUIREMENTS: Task 2 from docs/superpowers/plans/deployment-plan.md
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
[Subagent returns]:
Strengths: Clean architecture, real tests
Issues:
Important: Missing progress indicators
Minor: Magic number (100) for reporting interval
Assessment: Ready to proceed
You: [Fix progress indicators]
[Continue to Task 3]
Common Rationalizations
| Excuse | Reality |
|---|---|
| "I'll just review the diff myself instead of dispatching a reviewer" | You're the coordinator — reviewing the diff inline burns the context window you need to keep driving the work. Dispatch a reviewer subagent: the diff and the evaluation live in its context, and only the findings come back to you. |
| "The reviewer needs my whole session history to understand the change" | Hand it precisely crafted context, never your session's history. That keeps the reviewer on the work product, not your thought process. |
Red Flags
Never:
- Skip review because "it's simple"
- Ignore Critical issues
- Proceed with unfixed Important issues
- Argue with valid technical feedback
If reviewer wrong:
- Push back with technical reasoning
- Show code/tests that prove it works
- Request clarification
See template at: code-reviewer.md
| 1 | |
| 2 | name requesting-code-review |
| 3 | description Use when completing tasks, implementing major features, or before merging to verify work meets requirements |
| 4 | |
| 5 | |
| 6 | # Requesting Code Review |
| 7 | |
| 8 | Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history. |
| 9 | |
| 10 | **Core principle:** Review early, review often. |
| 11 | |
| 12 | ## When to Request Review |
| 13 | |
| 14 | **Mandatory:** |
| 15 | After each task in subagent-driven development |
| 16 | After completing major feature |
| 17 | Before merge to main |
| 18 | |
| 19 | **Optional but valuable:** |
| 20 | When stuck (fresh perspective) |
| 21 | Before refactoring (baseline check) |
| 22 | After fixing complex bug |
| 23 | |
| 24 | ## How to Request |
| 25 | |
| 26 | **1. Get git SHAs:** |
| 27 | |
| 28 | BASE_SHA=$(git rev-parse HEAD~1) # or origin/main |
| 29 | HEAD_SHA=$(git rev-parse HEAD) |
| 30 | |
| 31 | |
| 32 | **2. Dispatch code reviewer subagent:** |
| 33 | |
| 34 | Dispatch a `general-purpose` subagent, filling the template at [code-reviewer.md] |
| 35 | |
| 36 | **Placeholders:** |
| 37 | `{DESCRIPTION}` - Brief summary of what you built |
| 38 | `{PLAN_OR_REQUIREMENTS}` - What it should do |
| 39 | `{BASE_SHA}` - Starting commit |
| 40 | `{HEAD_SHA}` - Ending commit |
| 41 | |
| 42 | **3. Act on feedback:** |
| 43 | Fix Critical issues immediately |
| 44 | Fix Important issues before proceeding |
| 45 | Note Minor issues for later |
| 46 | Push back if reviewer is wrong (with reasoning) |
| 47 | |
| 48 | ## Example |
| 49 | |
| 50 | |
| 51 | [Just completed Task 2: Add verification function] |
| 52 | |
| 53 | You: Let me request code review before proceeding. |
| 54 | |
| 55 | BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}') |
| 56 | HEAD_SHA=$(git rev-parse HEAD) |
| 57 | |
| 58 | [Dispatch code reviewer subagent] |
| 59 | DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types |
| 60 | PLAN_OR_REQUIREMENTS: Task 2 from docs/superpowers/plans/deployment-plan.md |
| 61 | BASE_SHA: a7981ec |
| 62 | HEAD_SHA: 3df7661 |
| 63 | |
| 64 | [Subagent returns]: |
| 65 | Strengths: Clean architecture, real tests |
| 66 | Issues: |
| 67 | Important: Missing progress indicators |
| 68 | Minor: Magic number (100) for reporting interval |
| 69 | Assessment: Ready to proceed |
| 70 | |
| 71 | You: [Fix progress indicators] |
| 72 | [Continue to Task 3] |
| 73 | |
| 74 | |
| 75 | ## Common Rationalizations |
| 76 | |
| 77 | | Excuse | Reality | |
| 78 | |--------|---------| |
| 79 | | "I'll just review the diff myself instead of dispatching a reviewer" | You're the coordinator — reviewing the diff inline burns the context window you need to keep driving the work. Dispatch a reviewer subagent: the diff and the evaluation live in its context, and only the findings come back to you. | |
| 80 | | "The reviewer needs my whole session history to understand the change" | Hand it precisely crafted context, never your session's history. That keeps the reviewer on the work product, not your thought process. | |
| 81 | |
| 82 | ## Red Flags |
| 83 | |
| 84 | **Never:** |
| 85 | Skip review because "it's simple" |
| 86 | Ignore Critical issues |
| 87 | Proceed with unfixed Important issues |
| 88 | Argue with valid technical feedback |
| 89 | |
| 90 | **If reviewer wrong:** |
| 91 | Push back with technical reasoning |
| 92 | Show code/tests that prove it works |
| 93 | Request clarification |
| 94 | |
| 95 | See template at: [code-reviewer.md] |
| 96 |
Details
- Updated
- Sep 20, 2026
- License
- MIT
- Stars on the repo
- ★ 289,792
- Checked
- Source
- obra/superpowers ↗
- Creator
- obra · 14 listings
Similar skills
See all →
SkillRequires technical rigor and verificationCode Review Reception
SkillConduct high-quality, persona-driven code reviewsCode Review Expert
SkillExplain something in the format that is fastestLLM output explainer
PromptAct as a code review agent to evaluate and improve code
PromptAct as an expert AI code reviewerCode review by coderabit
PromptAct as a code review expert to thoroughly analyze codeComprehensive code review expertMore from obra
SkillBrainstorms ideas into designs before any creative workBrainstorming Ideas Into Designs
SkillRequires technical rigor and verificationCode Review Reception
SkillDispatches parallel agentsDispatching parallel agents
SkillExecutes plans with review checkpointsExecuting plans
SkillFinishes a development branchFinishing a development branch
SkillExecuting implementation plans with independent tasksSubagent driven development