/superpowers:requesting-code-reviewfrom superpowers
Dispatches a code reviewer subagent to verify work meets requirements before merging. Use after completing tasks, implementing features, or before merging to catch issues early.
Ships in superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history. This keeps the reviewer focused on the work product, not your thought process, and preserves your own context for continued work.
Core principle: Review early, review often.
Mandatory:
Optional but valuable:
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:
Use Task tool with general-purpose type, fill 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 commit3. Act on feedback:
[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]
Subagent-Driven Development:
Executing Plans:
Ad-Hoc Development:
Never:
If reviewer wrong:
See template at: requesting-code-review/code-reviewer.md
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/brainstormingYou MUST use this before any creative work - creating features, building components,
adding functionality, or modifying behavior. Explores user intent, requirements and
design before implementation.
在任何创意工作前必须使用 - 创建功能、构建组件、添加功能或修改行为之前。
适用于:需求分析、功能设计、方案制定、头脑风暴、想做新功能、从哪里开始开发。
/dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state
or sequential dependencies.
面临 2 个以上可并行处理的独立任务时使用。
适用于:并行处理、多任务并发、独立任务分发、同时修复多个不相关问题。
/executing-plansUse when you have a written implementation plan to execute in a separate session
with review checkpoints.
有书面实现计划需要批次执行并设置检查点时使用。
适用于:执行已有计划、按计划实现、批次执行任务、分批推进开发。
/finishing-a-development-branchUse when implementation is complete, all tests pass, and you need to decide
how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
实现完成、所有测试通过,需要决定如何集成工作时使用。
适用于:完成分支、合并分支、结束开发、提 PR、合并代码、完成功能开发。
/receiving-code-reviewUse when receiving code review feedback, before implementing suggestions,
especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
收到代码审查反馈时使用,在实施建议之前,尤其当反馈不清晰或存在技术疑问时。
适用于:处理审查意见、回应代码评审、技术性反驳、验证审查建议。
/subagent-driven-developmentUse when executing implementation plans with independent tasks in the current session.
在当前会话中执行含有独立任务的实现计划时使用。
适用于:执行计划、子代理开发、自动实现、开始实现计划、逐任务执行、两阶段代码审查。
npx claudepluginhub weiping/pi-superpowers --plugin superpowersOther plugins' skills for the same job