Skip to main content
skill Claude Code CX Codex

requesting-code-review — Claude Code skill: install and use

Sends completed work to a reviewer subagent after a task, major feature, or before merging to main. It keeps the review focused on the change and its requirements.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add obra/superpowers
/plugin install superpowers@superpowers-dev
Open on GitHub

What requesting-code-review does

This skill delegates review to a general-purpose subagent. The reviewer receives a short change description, requirements, and the starting and ending Git commits. It does not need the full session history, so the review stays focused on the work product.

The workflow gets BASE_SHA and HEAD_SHA from Git, then fills in the code-reviewer.md template. Critical findings should be fixed right away, Important findings before moving on, and Minor findings can wait. If a reviewer is wrong, the workflow calls for a technical response backed by code or tests.

Install it if your agent workflow uses subagents or you want a review gate before merging. For a one-off edit with no Git range, the extra process is probably unnecessary.

What it helps with

  • send a Git commit range to a reviewer subagent
  • review a major feature before merging to main
  • check changes against a plan or requirements
  • sort review findings by Critical, Important, and Minor
  • get a fresh review after a complex bug fix

Example prompts for the agent

  • “Request a code review for the current changes before merging to main.”
  • “Get BASE_SHA and HEAD_SHA after this task, then send the requirements to the reviewer.”
  • “Review this implementation against `docs/superpowers/plans/deployment-plan.md` using requesting-code-review.”

How to install requesting-code-review

1Plugin marketplace

/plugin marketplace add obra/superpowers
/plugin install superpowers@superpowers-dev

This installs the whole superpowers plugin with all its skills

2Skills CLI (Vercel)

npx skills add obra/superpowers --skill requesting-code-review -a claude-code

3Manually: put the files in place

~/.claude/skills/requesting-code-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/requesting-code-review/

From the same set16

The whole set →
brainstorming Jesse Vincent This skill clarifies a task before implementation by asking questions, checking context, and comparing approaches. Use it for new features and other creative work. Claude Code CX Codex 404,045installs systematic-debugging Jesse Vincent Makes the agent investigate the cause of a failure before it suggests a patch. Use it for failing tests, build errors, and behaviour that does not match expectations. Claude Code CX Codex 306,118installs writing-plans Jesse Vincent This skill turns requirements for a multi-step task into an implementation plan before code changes begin. It helps when another engineer needs exact files, interfaces, and checks. Claude Code CX Codex 282,859installs using-superpowers Jesse Vincent Checks for relevant skills before an agent responds or takes action. Use it when you want a fixed workflow for handling tasks. Claude Code CX Codex 270,479installs test-driven-development Jesse Vincent This skill guides an agent through test-first development: verify a test fails, write the smallest passing change, then refactor. It covers features, bug fixes, and behavior changes. Claude Code CX Codex 259,292installs verification-before-completion Jesse Vincent This skill blocks completion claims until the agent runs a fresh check and reads the result. Use it before commits or PRs when an agent report is not enough. Claude Code CX Codex 251,313installs executing-plans Jesse Vincent Runs an implementation plan in the current session instead of assigning each task to a subagent. Use it for inline work with TDD, a decision ledger, and a final branch review. Claude Code CX Codex 242,988installs subagent-driven-development Jesse Vincent This skill runs an implementation plan through fresh subagents for independent tasks and reviews each result. Use it for multi-step work in one session. Claude Code CX Codex 237,746installs

Similar

Questions about requesting-code-review

How do I install requesting-code-review in Claude Code?

Add the skill with npx skills add obra/superpowers --skill requesting-code-review -a claude-code. You can also install the plugin with /plugin marketplace add obra/superpowers, then /plugin install superpowers@superpowers-dev.

What does requesting-code-review do?

It sends a change to a general-purpose reviewer subagent with requirements and a Git commit range. The skill then directs the agent to address findings by priority.

What does the reviewer need?

Provide a description of the work, the plan or requirements, plus BASE_SHA and HEAD_SHA. The request format is in code-reviewer.md.

Source text

SKILL.md · MIT
---
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

**Optional but valuable:**
- When stuck (fresh perspective)
- Before refactoring (baseline check)
- After fixing complex bug

## How to Request

**1. Get git SHAs:**
```bash
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](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](code-reviewer.md)

© Jesse Vincent · MIT · obra/superpowers

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor