Requesting Code Review
Structured code review dispatch that sends a reviewer subagent a curated context instead of session history.
- CCM score
- 64 of 100
- skills.sh installs
- 1K
- GitHub stars
- 8.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers when to request review: after each subagent-driven task, after significant features, and before merging to main
- Includes a git SHA workflow (
git rev-parse HEAD~1orgit merge-base origin/main HEAD) and acode-reviewer.mdtemplate with four placeholders - Enforces triage rules: fix Critical and Important issues before continuing, log Minor issues for later, and push back on reviewer errors with technical reasoning
- Designed for coordinators who want to keep diffs out of their own context window while work proceeds
Install
$ npx -y skills add jnmetacode/superpowers-zh --skill requesting-code-review -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
请求代码审查
派遣代码审查子代理,在问题扩散之前发现它们。审查者获得的是精心组织的评估上下文——绝不是你的会话历史。
核心原则: 早审查,勤审查。
何时请求审查
必须审查:
- 子代理驱动开发中每个任务完成后
- 完成重要功能后
- 合并到 main 之前
可选但有价值:
- 卡住时(换个视角)
- 重构之前(建立基线)
- 修复复杂 bug 之后
如何请求
1. 获取 git SHA:
BASE_SHA=$(git rev-parse HEAD~1) # 或:git merge-base origin/main HEAD
HEAD_SHA=$(git rev-parse HEAD)
2. 派遣代码审查子代理:
使用 Task 工具,指定 general-purpose 类型,填写 code-reviewer.md 中的模板
占位符说明:
{DESCRIPTION}- 你刚完成的内容简要说明{PLAN_OR_REQUIREMENTS}- 预期功能{BASE_SHA}- 起始提交{HEAD_SHA}- 结束提交
3. 处理反馈:
- Critical 问题立即修复
- Important 问题在继续之前修复
- Minor 问题记录下来稍后处理
- 如果审查者有误,用技术理由反驳
示例
[刚完成任务 2:添加验证功能]
你:让我在继续之前请求代码审查。
BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | cut -d' ' -f1)
HEAD_SHA=$(git rev-parse HEAD)
[派遣代码审查子代理]
DESCRIPTION: 添加了 verifyIndex() 和 repairIndex(),支持 4 种问题类型
PLAN_OR_REQUIREMENTS: docs/superpowers/plans/deployment-plan.md 中的任务 2
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
[子代理返回]:
优点:架构清晰,测试真实
问题:
Important:缺少进度指示器
Minor:报告间隔使用了魔法数字 (100)
评估:可以继续
你:[修复进度指示器]
[继续任务 3]
常见的合理化借口
Details
- Repository
- github.com/jnmetacode/superpowers-zh
- Categories
- Code Review & Quality, Agent Workflow & Planning
- First seen
- Jun 3, 2026
Questions
What does the requesting-code-review skill do?
It dispatches a code review subagent to check completed work against requirements before problems spread. The reviewer receives a curated context rather than your full session history, so it judges the work itself.
When should I use requesting-code-review?
Use it after each task in subagent-driven development, after completing a significant feature, and before merging into main. It is also worth running when you are stuck, before a refactor, or after fixing a complex bug.
How do I install the requesting-code-review skill?
Run npx -y skills add jnmetacode/superpowers-zh --skill requesting-code-review -y in a project. Once installed, the agent can request a code review by filling in the code-reviewer template with the base and head commit SHAs.
Where does requesting-code-review rank in its category?
It sits in the Code Review & Quality category, where improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review are also listed. Its distinct focus is dispatching a separate reviewer subagent so the diff stays out of your own context window.
More from jnmetacode/superpowers-zh
All 20- Finishing A Development Branch1K
- Using Git Worktrees996
- Chinese Git Workflow988
- Dispatching Parallel Agents979
- Writing Skills976
- Mcp Builder972
- Workflow Runner961
- Using Superpowers1.3K
- Chinese Documentation1.2K
- Brainstorming1.2K
- Systematic Debugging1.2K
- Receiving Code Review1.1K
- Verification Before Completion1.1K
- Writing Plans1.1K
- Chinese Code Review1.1K
- Test Driven Development1.1K
- Chinese Commit Conventions1.1K
- Subagent Driven Development1K
- Executing Plans1K
Similar to Requesting Code Review
More Code Review & Qualitygit-pr-revieweronewave-ai/claude-skills344 installsStructured pull request review that checks diffs for security, quality, performance, and test gaps before merge.
chinese-code-reviewjnmetacode/superpowers-zh1.1K installsChinese-language code review guide with tiered priority labels, comment templates, and fixes for common team anti-patterns.
code-reviewanthropics/knowledge-work-plugins10.3K installsStructured code review covering security, performance, correctness, and maintainability, with severity-ranked findings and a merge verdict.
ce-code-revieweveryinc/compound-engineering-plugin4.1K installsStructured review of a named diff or PR for bugs, regressions, tests, and standards, report-only by default.
code-review-excellencewshobson/agents31.5K installsStructured guide for PR reviews covering context gathering, line-by-line checks, feedback phrasing, and disagreement handling.