Skill Press

No. 22 · requesting-code-review

Requesting Code Review

Checking work against requirements before merging

Jesse Vincent

When to use it

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

Rank
No. 22 of 971
Installs
296,051
Runs in
Claude, Codex
Length
405 words · 2 min
Files
3
License
MIT

Get this skill

Download the skill folder (.zip, 5 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "requesting-code-review" Agent Skill by Jesse Vincent, from https://github.com/obra/superpowers.

1. Fetch the whole folder skills/requesting-code-review — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/obra/superpowers.git 22f0b463e7a5e579904dd6211a520321035526f7
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "requesting-code-review":
   - Claude Code: ~/.claude/skills/requesting-code-review/ (all projects) or .claude/skills/requesting-code-review/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that requesting-code-review/SKILL.md exists and its frontmatter says name: requesting-code-review.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

Note: Superpowers skills are written to work together — using-superpowers teaches the agent when to reach for the rest — so the full set gets the most out of any one of them.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/obra/superpowers/tree/22f0b463e7a5e579904dd6211a520321035526f7/skills/requesting-code-review --skill requesting-code-review
This skill on skills.sh ↗

Claude Code

Installs the whole superpowers plugin, including this skill. The marketplace ships with Claude Code.

Claude Code
/plugin install superpowers@claude-plugins-official

Contents

  1. When to Request Review
  2. How to Request
  3. Example
  4. Common Rationalizations
  5. Red Flags

The skill, in full

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: git merge-base origin/main HEAD
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 | cut -d' ' -f1)
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

More in Testing & Code Review

All Testing & Code Review skills →

More from Jesse Vincent

From obra/superpowers at 22f0b46, MIT. Install counts from skills.sh.