Loading...
Loading...
Compare original and translation side by side
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)general-purpose{MODEL}{DESCRIPTION}{PLAN_OR_REQUIREMENTS}{BASE_SHA}{HEAD_SHA}BASE_SHA=$(git rev-parse HEAD~1) # 或 origin/main
HEAD_SHA=$(git rev-parse HEAD)general-purpose{MODEL}{DESCRIPTION}{PLAN_OR_REQUIREMENTS}{BASE_SHA}{HEAD_SHA}[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]
MODEL: a fast, cheap model - two functions, clear spec
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]:
Spec Compliance: ✅ Spec compliant
Issues:
Important: Missing progress indicators
Minor: Magic number (100) for reporting interval
Assessment: Ready to proceed
You: [Fix progress indicators]
[Continue to Task 3][刚完成任务2:添加验证功能]
你:在推进前我先请求代码评审。
BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
[调度代码评审子代理]
MODEL: 快速低成本模型——仅两个函数,需求明确
DESCRIPTION: 添加了verifyIndex()和repairIndex(),支持4种问题类型
PLAN_OR_REQUIREMENTS: docs/superpowers/plans/deployment-plan.md中的任务2
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
[子代理返回结果]:
需求合规性:✅ 符合需求
问题:
重要:缺少进度指示器
次要:报告间隔使用了魔法数字(100)
评估:可推进后续工作
你:[修复进度指示器]
[继续执行任务3]| Excuse | Reality |
|---|---|
| "I'll just review the diff myself instead of dispatching a reviewer" | You're the coordinator — reviewing the diff inline burns the context window you need to keep driving the work. Dispatch a reviewer subagent: the diff and the evaluation live in its context, and only the findings come back to you. |
| "I'll leave the model off and let it pick" | There is no "it" that picks. An omitted model inherits your session's, which is usually the most expensive one you have - so the cheapest review you could have run costs the most. State the model on every dispatch. |
| "The reviewer needs my whole session history to understand the change" | Hand it precisely crafted context, never your session's history. That keeps the reviewer on the work product, not your thought process. |
| 借口 | 实际情况 |
|---|---|
| “我自己看差异代码就行,不用调度评审者” | 你的角色是协调者——直接评审差异代码会占用你推进工作所需的上下文窗口。请调度评审子代理:差异代码和评估过程将在它的上下文中进行,只有评审结果会反馈给你。 |
| “我不指定模型,让它自己选” | 不存在“自动选择”的逻辑。若未指定模型,将继承当前会话的模型,通常是你拥有的最昂贵型号——本该成本最低的评审却花费了最高成本。每次调度都必须明确指定模型。 |
| “评审者需要我的整个会话历史才能理解变更” | 只提供专门打造的精准上下文,绝不要提供会话历史。这能让评审者聚焦于工作成果,而非你的思考过程。 |