一键导入
requesting-code-review
Use when a feature, fix, or task is complete and ready for external eyes — or when stuck and a fresh perspective would unblock progress
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a feature, fix, or task is complete and ready for external eyes — or when stuck and a fresh perspective would unblock progress
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
[Workflow] Explore an idea and design a solution before implementing
Use when the what or how of a change has open questions requiring collaborative design dialogue with the user — before committing to an approach
[Agent] Subagent persona for reviewing code changes against a plan and quality standards
Use when approaching complex exploration, research, or synthesis tasks — understanding systems, codebases, domains, or architectures before proposing changes or designs
Use when facing 2+ tasks that can proceed without shared state, sequential dependencies, or mutual file edits
[Workflow] Execute an implementation plan task by task with review checkpoints
| name | requesting-code-review |
| description | Use when a feature, fix, or task is complete and ready for external eyes — or when stuck and a fresh perspective would unblock progress |
| metadata | {"owner":"shrug-labs","last_updated":"2026-03-09T00:00:00.000Z"} |
Prepare work for review by verifying it yourself first, then providing reviewers with the context they need to give useful feedback.
NO REVIEW REQUEST WITHOUT SELF-REVIEW
If you haven't verified your own work — tests passing, diff clean, no unintended files — you are wasting the reviewer's time on problems you could have caught. Every review request must follow a completed self-review.
No exceptions:
Violating the letter of this rule IS violating the spirit.
This skill is for SUBSTANTIVE changes where incomplete self-review leads to wasted review cycles.
digraph review {
"Self-review" [shape=box];
"Issues found?" [shape=diamond];
"Fix issues" [shape=box];
"Gather context" [shape=box];
"Context sufficient?" [shape=diamond];
"Add missing context" [shape=box];
"Submit request" [shape=doublecircle];
"Self-review" -> "Issues found?";
"Issues found?" -> "Fix issues" [label="yes"];
"Fix issues" -> "Self-review" [label="re-verify"];
"Issues found?" -> "Gather context" [label="no — clean"];
"Gather context" -> "Context sufficient?";
"Context sufficient?" -> "Submit request" [label="yes"];
"Context sufficient?" -> "Add missing context" [label="no"];
"Add missing context" -> "Context sufficient?";
}
Run through this checklist before involving anyone else:
git status for accidentally staged files, generated artifacts, secrets, or binaries.If ANY item fails, fix it before proceeding. Do not request review of broken work.
Provide reviewers with everything they need to evaluate the change without asking you questions:
Required context:
Contextual enrichment via MCP tools (when available):
Skip what's obvious from the diff. Reviewers read code. Tell them what the code doesn't show: constraints, trade-offs, rejected alternatives.
Structure the request:
After submitting, do NOT continue building on unreviewed work unless the next task is independent.
| Excuse | Reality |
|---|---|
| "It's a small change, no review needed" | Small changes break production. Size does not determine risk. |
| "Tests pass so it's fine" | Tests verify behavior, not intent. Reviewers catch design issues tests miss. |
| "I'll clean up the diff later" | Reviewers see the diff NOW. Noise wastes their time and hides real issues. |
| "The reviewer knows the context" | They don't. They have 20 other things in their head. Spell it out. |
| "I already got verbal approval" | Verbal approval is not code review. The diff needs eyes. |
| "CI will catch any problems" | CI catches build and test failures. It does not catch wrong abstractions, missing edge cases, or unclear intent. |
You are skipping self-review if:
| Change Type | Self-Review Depth | Context Needed |
|---|---|---|
| Bug fix | Verify fix + regression test exists | Reproduction steps, root cause, fix rationale |
| New feature | Full checklist, edge case review | Requirements link, design decisions, test coverage |
| Refactor | Verify behavior unchanged (before/after tests) | Why now, what improves, what stays the same |
| Config change | Verify in target environment | Blast radius, rollback plan |
| Dependency update | Check changelog for breaking changes | What changed, why update now, compatibility notes |
Once the review request is submitted, route to the appropriate next step: