Programming · Review & audit
requesting-code-review
/requesting-code-review
完成任务、实现重要功能或合并前使用,用于验证工作成果是否符合要求
For whom
- Author
- jnmetacode ↗
- Repository
- superpowers-zh ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
92/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability17 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
Deprecation
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
Licence
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
完成任务、实现重要功能或合并前使用,用于验证工作成果是否符合要求
Original author description
完成任务、实现重要功能或合并前使用,用于验证工作成果是否符合要求
How it works
- 何时请求审查
- 如何请求
- 示例
- 常见的合理化借口
- 红线
Original SKILL.md headings · 92 lines, 180 words
SKILL.md preview
---
name: requesting-code-review
description: 完成任务、实现重要功能或合并前使用,用于验证工作成果是否符合要求
version: "1.0.0"
license: MIT
metadata:
hermes:
tags: [code-review]
---
# 请求代码审查
派遣代码审查子代理,在问题扩散之前发现它们。审查者获得的是精心组织的评估上下文——绝不是你的会话历史。
**核心原则:** 早审查,勤审查。
## 何时请求审查
**必须审查:**
- 子代理驱动开发中每个任务完成后
- 完成重要功能后
- 合并到 main 之前
**可选但有价值:**
- 卡住时(换个视角)
- 重构之前(建立基线)
- 修复复杂 bug 之后
## 如何请求
**1. 获取 git SHA:**
```bash
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]
```
## 常见的合理化借口
| 借口 | 现实 |
|------|------|
| "我自己看一下 diff 就行了,不用专门派审查者" | 你是协调者——在自己的会话里读 diff 会烧掉你继续推进工作所需的上下文窗口。派一个审查子智能体:diff 和评估过程都待在它的上下文里,只有结论回到你这里。 |
| "审查者需要我的全部会话历史才能理解这次改动" | 给它精心组织的上下文,绝不给会话历史。这样审查者才会盯着工作成果,而不是你的思考过程。 |
## 红线
**绝不要:**
- 因为"很简单"就跳过审查
- 忽略 Critical 问题
- 带着未修复的 Important 问题继续推进
- 对合理的技术反馈进行争辩
**如果审查者有误:**
- 用技术理由反驳
- 展示证明其可行的代码/测试
- 要求澄清
参见模板:requesting-code-review/code-reviewer.md
Files in this package (2)
- SKILL.md 3 KB
- code-reviewer.md 6 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · jnmetacode/superpowers-zh | 92 | MIT |
| GanyuanRan/Aegis | 100 | MIT |
| event4u-app/agent-config | 100 | MIT |
| osmontero/opencode-skills | 100 | MIT |
| jjuraszek/pi-gauntlet | 100 | MIT |
| seaworld008/commonly-used-high-value-skills | 100 | MIT |
| FrancoStino/opencode-skills-collection | 100 | MIT |
| nikospavlopoulos/devops-mutant-powers | 100 | MIT |
| coco-research/coco | 100 | MIT |
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version e6751cc34f36 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
No similar skills in the database.