一键导入
requesting-code-review
Use after all implementation tasks complete, after major features are integrated, or before merging to verify work meets requirements
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use after all implementation tasks complete, after major features are integrated, or before merging to verify work meets requirements
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use after all implementation tasks complete, after major features are integrated, or before merging to verify work meets requirements
MUST USE when the user asks for deepwork-style planning, multi-agent execution, code review, research, or workflow routing inside Codex.
Use when executing implementation plans with independent tasks in the current session
Use when executing implementation plans with independent tasks in the current session
Use before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when you have a spec or requirements for a multi-step task, before touching code
基于 SOC 职业分类
| name | requesting-code-review |
| description | Use after all implementation tasks complete, after major features are integrated, or before merging to verify work meets requirements |
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 the integrated change set once implementation work is complete. Mid-stream reviews are exceptions for blockers, high-risk uncertainty, or explicit user requests for strict stepwise review.
Mandatory:
Optional but valuable:
1. Choose the review input:
Use a committed range only when an orchestrator-owned, user-authorized commit already exists:
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
git diff --stat $BASE_SHA..$HEAD_SHA
git diff $BASE_SHA..$HEAD_SHA
Working-tree diff review (use this when implementation subagents returned uncommitted changes):
git diff --stat
git diff
git diff --cached --stat
git diff --cached
Do not require implementation subagents to commit, stage, or push merely to create a review range. The orchestrator owns any Git write and performs it only after explicit user authorization.
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{REVIEW_INPUT} - Commit range plus commands, or working-tree/staged diff commands and output3. Act on feedback:
Feedback classification: Review findings may be labeled [product] (proposed change to product behavior or implementation) or [evidence] (a missing or insufficient proof/artifact). An [evidence] blocker means the current behavior may be acceptable but the proof is not — add the missing evidence rather than changing product behavior. A [product] blocker requires a behavior or implementation change. Do not treat an [evidence] finding as a mandate to rewrite code.
Review selection has two independent axes: role/model priority and logical rigor.
oracle, oracle-2nd, then configured oracle-3rd through oracle-9th.oracle-2nd and every later slot have lower selection priority, never greater capability.reviewer; reviewer-2nd does not exist.low, normal, high, max.normal is the unsuffixed profile (oracle, reviewer).Selection by work shape:
| Work shape | Reviewer(s) | Tier choice |
|---|---|---|
| Simple / single-stage (1-2 tasks, one module, no architectural change) | first available Oracle | normal |
| Complex / cross-module / large integration | first available Oracle + reviewer (parallel) | configured high, otherwise normal |
| Security / performance / data-loss / release / runtime-safety work | first available Oracle + reviewer (parallel) | configured max, otherwise high, otherwise normal |
| Additional evidence requested | additional Oracle slots in order (oracle-2nd, then later configured slots) | keep the intentionally selected tier; user override is still subject to availability/disabled profiles/floors |
Dispatch semantics:
oracle can also be an optional independent consultation for a high-risk implementation plan. It does not replace the current plan-critic receipt, does not make dual plan review mandatory, and a timeout or partial response is not a conclusion.
Reasoning policy: Every parsed Oracle/Reviewer profile retains an xhigh minimum floor when the selected model family exposes that control; otherwise use the highest supported review effort for that family. This floor remains in effect while logical tier selection still includes low/normal/high/max semantics. GPT-5.6 supports native max, so complex or high-risk review/verification on GPT-5.6 can request local max directly; other model families use local max only when their cataloged controls expose a maximum-effort level. plan-critic uses xhigh minimum and may be raised by explicit local configuration. Example model names are references only; explicit user configuration and currently available models decide the actual selection.
[All implementation tasks complete: Add verification and repair workflow]
You: Let me request final acceptance review before declaring this done.
[Implementation subagents returned uncommitted changes, so review the working tree:]
git diff --stat
git diff
git diff --cached --stat
git diff --cached
[Dispatch code reviewer subagent]
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
PLAN_OR_REQUIREMENTS: docs/superpowers/plans/deployment-plan.md
REVIEW_INPUT: working-tree diff commands and output above
[Subagent returns]:
Strengths: Clean architecture, real tests
Issues:
Important: Missing progress indicators
Minor: Magic number (100) for reporting interval
Assessment: Not approved until progress indicators are fixed
You: [Fix progress indicators]
[Re-run final acceptance review]
[Declare done only after reviewer approval]
Never:
If reviewer wrong:
See template at: requesting-code-review/code-reviewer.md