requesting-code-review

Dispatch a code-review subagent over a git diff range with severity-categorized feedback.

1|Updated Mar 18, 2024
One-click install
npx skills add https://github.com/erfianugrah/dotfiles --skill requesting-code-review-erfianugrah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: requesting-code-review
Source: https://github.com/erfianugrah/dotfiles/tree/main/.pi/agent/skills/superpowers/requesting-code-review
Command: npx skills add https://github.com/erfianugrah/dotfiles --skill requesting-code-review-erfianugrah

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

It solves the problem of shipping bugs late by ensuring changes get an early, structured review before they cascade into more work.

Core Features & Use Cases

  • Pre-merge reviewer dispatch: Sends a dedicated reviewer subagent only when the user explicitly requests a code review pass, using a tight diff-based context rather than the whole session history.
  • Diff + plan-aligned evaluation: Provides the reviewer with {DESCRIPTION}, {PLAN_OR_REQUIREMENTS}, and a specific {BASE_SHA}..{HEAD_SHA} range so feedback stays grounded in what was actually implemented and required.
  • Actionable feedback loop: Separates issues into Critical/Important/Minor with guidance for how to respond (fix now vs note later vs push back with reasoning).
  • Workflow checkpoints: Fits into subagent-driven development (review after each task), major feature completion, and before merging to main.

Quick Start

Use the reviewer subagent dispatch after you finish a PR-ready change, providing the description, the relevant plan/requirements text, and the base and head SHAs for the diff.

Frequently Asked Questions about requesting-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a focused pre-merge code review on a specific git diff range?

A pre-merge code review dispatches a reviewer subagent using a diff range, plan, and description to validate implementation against requirements before merging, preventing defect propagation.

When do I need a pre-merge code review for subagent-driven development?

Pre-merge code review is needed after each subagent task completion or major feature implementation to checkpoint changes against explicit requirements before they cascade into further work.

What do I need to provide to dispatch a code reviewer subagent?

Dispatching a code reviewer requires providing a description, plan or requirements text, and the base and head SHAs to scope the git diff evaluation and keep feedback grounded.

How does severity-categorized feedback work in a subagent code review?

Severity-categorized feedback separates issues into Critical, Important, and Minor, providing actionable guidance on whether to fix immediately, note for later, or push back with reasoning.

Can I use a subagent code review without passing the full session history?

Yes, the subagent code review uses a tight diff-based context scoped to a specific BASE_SHA to HEAD_SHA range rather than the whole session history, keeping the evaluation focused.

What is the best way to validate implementation against requirements before merging to main?

Dispatch a dedicated code-reviewer subagent with the feature description, plan, and specific git diff range to evaluate the implementation against explicit requirements and receive categorized feedback.