New to Claude Skills? Learn how to install them →

obra on GitHub

Requesting Code Review

Free

Streamline your code review process with precision.

by obra270.3k stars on obra/superpowers
1 views
Updated Jul 28, 2026
Get this skill

Free · Opens the source repo

What Requesting Code Review does

The Requesting Code Review skill is designed to enhance your development workflow by integrating a structured code review process into your tasks. This skill allows developers to dispatch a code reviewer subagent with specific context about the changes made, ensuring that the review is focused and efficient. By using this skill, you can catch potential issues early in the development cycle, which is crucial for maintaining code quality and reducing technical debt.

To use the skill, you first need to gather the necessary git SHAs that represent the commits you want reviewed. The skill provides a clear template to fill out, which includes a brief description of the changes and the requirements for the code. This ensures that the reviewer has all the context they need without being bogged down by the entire session history. The feedback you receive can range from critical issues that need immediate attention to minor suggestions for improvement, allowing you to prioritize your next steps effectively.

This skill is particularly beneficial for teams practicing subagent-driven development, where frequent code reviews are part of the workflow. It is also useful when you're feeling stuck or need a fresh perspective on your code. By adhering to the principle of reviewing early and often, you can foster a culture of collaboration and continuous improvement within your development team.

Overall, the Requesting Code Review skill is ideal for developers who want to ensure their code meets quality standards before merging changes. It helps streamline the review process and encourages proactive problem-solving, making it an essential tool for any serious development effort.

When to use it

Use this skill after completing significant tasks, before merging code, or when seeking a fresh perspective on a challenging problem.

When not to use it

This skill may not be necessary for very small changes or in situations where immediate feedback is not critical.

What you can build with it

Post-Feature Completion Review

After completing a major feature, use this skill to ensure the implementation meets the project requirements before merging.

Refactoring Code

When planning to refactor existing code, request a review to establish a baseline and gather insights on potential improvements.

Fixing Complex Bugs

After resolving a challenging bug, dispatch the reviewer to validate the solution and ensure no new issues were introduced.

How to install Requesting Code Review

View source

1. Install with the skills CLI

npx skills add obra/superpowers/requesting-code-review --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by obra

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

ExcuseReality
"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

Frequently asked questions about Requesting Code Review

Similar skills