@wenaixi/dsh-superpower 7.3.0 → 7.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +112 -105
  2. package/README.zh.md +216 -0
  3. package/lib/catalog.d.ts +8 -2
  4. package/lib/catalog.d.ts.map +1 -1
  5. package/lib/catalog.js +64 -9
  6. package/lib/catalog.js.map +1 -1
  7. package/lib/client.js +120 -75
  8. package/lib/document.d.ts +8 -2
  9. package/lib/document.d.ts.map +1 -1
  10. package/lib/document.js +14 -4
  11. package/lib/document.js.map +1 -1
  12. package/lib/superpowers.d.ts +6 -0
  13. package/lib/superpowers.d.ts.map +1 -1
  14. package/lib/superpowers.js +25 -2
  15. package/lib/superpowers.js.map +1 -1
  16. package/lib/switches.d.ts +17 -18
  17. package/lib/switches.d.ts.map +1 -1
  18. package/lib/switches.js +78 -31
  19. package/lib/switches.js.map +1 -1
  20. package/package.json +3 -3
  21. package/skills/brainstorming/SKILL.md +234 -170
  22. package/skills/brainstorming/spec-document-reviewer-prompt.md +27 -25
  23. package/skills/brainstorming/visual-companion.md +84 -231
  24. package/skills/diagnosing-superpowers/SKILL.md +107 -43
  25. package/skills/diagnosing-superpowers/prompts/analyst-common.md +32 -18
  26. package/skills/diagnosing-superpowers/prompts/cost-and-time.md +25 -9
  27. package/skills/diagnosing-superpowers/prompts/plan-adherence.md +26 -12
  28. package/skills/diagnosing-superpowers/prompts/quality-evidence.md +23 -8
  29. package/skills/diagnosing-superpowers/prompts/repeated-work.md +25 -14
  30. package/skills/diagnosing-superpowers/prompts/request-conflicts.md +18 -9
  31. package/skills/diagnosing-superpowers/prompts/scrub-audit.md +23 -10
  32. package/skills/diagnosing-superpowers/prompts/scrub.md +25 -12
  33. package/skills/diagnosing-superpowers/prompts/similar-session.md +30 -22
  34. package/skills/diagnosing-superpowers/prompts/skill-timeline.md +26 -12
  35. package/skills/diagnosing-superpowers/prompts/stumbles.md +24 -12
  36. package/skills/diagnosing-superpowers/references/context-safety.md +15 -7
  37. package/skills/diagnosing-superpowers/references/github-issues.md +17 -9
  38. package/skills/diagnosing-superpowers/references/redaction-policy.md +27 -15
  39. package/skills/diagnosing-superpowers/references/session-discovery.md +31 -20
  40. package/skills/diagnosing-superpowers/templates/bundle-README.md +66 -40
  41. package/skills/diagnosing-superpowers/templates/case.md +49 -42
  42. package/skills/diagnosing-superpowers/templates/issue.md +32 -26
  43. package/skills/diagnosing-superpowers/templates/report.md +54 -48
  44. package/skills/dispatching-parallel-agents/SKILL.md +92 -90
  45. package/skills/executing-plans/SKILL.md +345 -197
  46. package/skills/finishing-a-development-branch/SKILL.md +107 -82
  47. package/skills/receiving-code-review/SKILL.md +129 -127
  48. package/skills/requesting-code-review/SKILL.md +52 -50
  49. package/skills/requesting-code-review/code-reviewer.md +132 -111
  50. package/skills/subagent-driven-development/SKILL.md +521 -298
  51. package/skills/subagent-driven-development/implementer-prompt.md +138 -117
  52. package/skills/subagent-driven-development/re-review-prompt.md +80 -48
  53. package/skills/subagent-driven-development/task-reviewer-prompt.md +189 -110
  54. package/skills/systematic-debugging/CREATION-LOG.md +85 -85
  55. package/skills/systematic-debugging/SKILL.md +221 -219
  56. package/skills/systematic-debugging/condition-based-waiting.md +48 -49
  57. package/skills/systematic-debugging/defense-in-depth.md +46 -46
  58. package/skills/systematic-debugging/root-cause-tracing.md +63 -63
  59. package/skills/systematic-debugging/test-academic.md +10 -10
  60. package/skills/systematic-debugging/test-pressure-1.md +40 -40
  61. package/skills/systematic-debugging/test-pressure-2.md +58 -58
  62. package/skills/systematic-debugging/test-pressure-3.md +48 -48
  63. package/skills/test-driven-development/SKILL.md +161 -153
  64. package/skills/test-driven-development/writing-good-tests.md +137 -84
  65. package/skills/using-git-worktrees/SKILL.md +74 -72
  66. package/skills/using-superpowers/SKILL.md +40 -39
  67. package/skills/using-superpowers/references/dsh-tools.md +36 -36
  68. package/skills/verification-before-completion/SKILL.md +85 -83
  69. package/skills/writing-plans/SKILL.md +123 -84
  70. package/skills/writing-skills/SKILL.md +419 -417
  71. package/skills/writing-skills/persuasion-principles.md +118 -118
  72. package/skills/writing-skills/testing-skills-with-subagents.md +190 -190
  73. package/skills/brainstorming/scripts/frame-template.html +0 -213
  74. package/skills/brainstorming/scripts/helper.js +0 -167
  75. package/skills/brainstorming/scripts/server.cjs +0 -715
  76. package/skills/brainstorming/scripts/start-server.sh +0 -204
  77. package/skills/brainstorming/scripts/stop-server.sh +0 -120
@@ -1,133 +1,154 @@
1
- # implementer subagent prompt 模板
1
+ # Implementer Subagent Prompt Template
2
2
 
3
- 在分发实现者 subagent 时使用此模板。
3
+ Use this template when dispatching an implementer subagent.
4
4
 
5
5
  ```
6
6
  Subagent (general-purpose):
7
- description: "实现任务 N:[任务名称]"
8
- model: [MODEL — 必填:按 SKILL.md 的模型选择规则选择;若省略则静默继承会话中最昂贵的模型]
7
+ description: "Implement Task N: [task name]"
8
+ model: [MODEL — REQUIRED: choose per SKILL.md Model Selection; an omitted
9
+ model silently inherits the session's most expensive one]
9
10
  prompt: |
10
- 你正在实现任务 N:[任务名称]
11
+ You are implementing Task N: [task name]
11
12
 
12
- ## 任务描述
13
+ ## Task Description
13
14
 
14
- 请先阅读你的 task brief:[BRIEF_FILE]
15
- 其中包含计划中的完整任务原文。
15
+ Read your task brief first: [BRIEF_FILE]
16
+ It contains the full task text from the plan.
16
17
 
17
- ## 背景
18
+ ## Context
18
19
 
19
- [场景说明:该任务在整体中的位置、依赖关系、架构上下文]
20
+ [Scene-setting: where this fits, dependencies, architectural context]
20
21
 
21
- ## 开始之前
22
+ ## Before You Begin
22
23
 
23
- 如果对以下内容有疑问:
24
- - 需求或验收标准
25
- - 方案或实现策略
26
- - 依赖或假设
27
- - 任务描述中任何不清晰的地方
24
+ If you have questions about:
25
+ - The requirements or acceptance criteria
26
+ - The approach or implementation strategy
27
+ - Dependencies or assumptions
28
+ - Anything unclear in the task description
28
29
 
29
- **现在就提问。** 开始工作前提出所有顾虑。
30
+ **Ask them now.** Raise any concerns before starting work.
30
31
 
31
- ## 你的工作
32
+ ## Your Job
32
33
 
33
- 明确需求后:
34
- 1. 精确实现任务指定的内容
35
- 2. 编写测试(若任务要求遵循 TDD,则按 TDD 执行)
36
- 3. 验证实现可用
37
- 4. 提交你的改动
38
- 5. 自检(见下文)
39
- 6. 汇报结果
34
+ Once you're clear on requirements:
35
+ 1. Implement exactly what the task specifies
36
+ 2. Write tests (following TDD if task says to)
37
+ 3. Verify implementation works
38
+ 4. Commit your work
39
+ 5. Self-review (see below)
40
+ 6. Report back
40
41
 
41
- 工作目录:[directory]
42
-
43
- **工作期间:** 如遇到意外或不清晰的情况,**请提问**。
44
- 随时可以暂停并澄清。不要猜测或自行假设。
45
-
46
- 迭代过程中,仅运行与当前改动相关的聚焦测试;完整测试套件在提交前运行一次即可,无需每次编辑后都运行。
47
-
48
- ## 你不得分发 subagent
49
-
50
- 自行完成本任务的全部工作。不得衍生 subagent 来实现任务的某一部分,尤其不得衍生 reviewer 来检查你的工作。自检(见下文)指自行阅读 diff。
51
- 评审是控制器的职责:在你汇报后,它会针对你的 diff 分发全新的 reviewer。你自行衍生的 reviewer 会以全量成本重复该评审,且其结论在流程中不作数。
52
- 如果你产生“独立评审会让汇报更有说服力”的想法——该评审已在计划中。
53
- 请直接汇报。
54
-
55
- ## 代码组织
56
-
57
- 你在能一次性完整理解的代码上推理效果最好,且文件职责聚焦时编辑更可靠。请牢记:
58
- - 遵循计划中定义的文件结构
59
- - 每个文件职责单一、接口清晰
60
- - 如果待创建的文件超出计划意图而不断膨胀,请停止并以 DONE_WITH_CONCERNS 状态汇报——不要在没有计划指引的情况下自行拆分文件
61
- - 如果待修改的现有文件已然庞大或耦合严重,请谨慎处理,并在汇报中注明该顾虑
62
- - 在现有代码库中,遵循既有模式。对你触及的代码按优秀开发者的标准做适当改进,但不要重构任务范围之外的部分。
63
-
64
- ## 当你力不从心时
65
-
66
- 随时可以停下来说“这个对我来说太难了”。糟糕的产出比没有产出更糟。你不会因升级求助而受到惩罚。
67
-
68
- **出现以下情况时请停止并升级:**
69
- - 任务需要做出存在多种合理方案的架构决策
70
- - 需要理解超出已提供范围的代码,且无法获得清晰信息
71
- - 对方案是否正确感到不确定
72
- - 任务涉及以计划未预期的方式重构现有代码
73
- - 已连续阅读多个文件仍无法理解系统且毫无进展
74
-
75
- **如何升级:** 以 BLOCKED 或 NEEDS_CONTEXT 状态汇报。具体说明卡在哪里、已尝试过什么、需要何种帮助。
76
- 控制器可以补充上下文、使用更强模型重新分发,或将任务拆得更小。
77
-
78
- ## 汇报前的自检
79
-
80
- 以全新的视角复查你的工作。自问:
81
-
82
- **完整性:**
83
- - 是否完整实现了规约中的所有内容?
84
- - 是否遗漏了需求?
85
- - 是否存在未处理的边界情况?
86
-
87
- **质量:**
88
- - 这是否是你的最佳产出?
89
- - 命名是否清晰准确(体现其做什么,而非如何实现)?
90
- - 代码是否整洁、可维护?
91
-
92
- **纪律性:**
93
- - 是否避免了过度构建(YAGNI)?
94
- - 是否仅构建了被要求的内容?
95
- - 是否遵循了代码库中的既有模式?
96
-
97
- **测试:**
98
- - 测试是否真正验证了行为(而非仅 mock 行为)?
99
- - 如要求 TDD,是否已遵循?
100
- - 测试是否全面?
101
- - 测试输出是否干净(无多余警告或噪声)?
102
-
103
- 如在自检中发现问题,请在汇报前立即修复。
104
-
105
- ## 收到评审意见后
106
-
107
- 若任务评审发现问题,你将被恢复并收到评审意见。
108
- 请修复问题,重新运行覆盖修改代码的测试,并在汇报文件中追加修复报告:改了什么、运行了哪些覆盖测试、执行命令及输出。reviewer 不会替你重跑测试——你的报告即是测试证据。随后以与首次汇报相同的精简状态契约回复。
109
-
110
- ## 汇报格式
111
-
112
- 将完整报告写入 [REPORT_FILE]:
113
- - 实现了什么(若受阻,则说明尝试了什么)
114
- - 测试内容及测试结果
115
- - **TDD 证据**(若本任务要求 TDD):
116
- - RED:运行的命令、实现前的相关失败输出及失败符合预期的原因
117
- - GREEN:实现后的运行命令及相关通过输出
118
- - 变更的文件
119
- - 自检发现(如有)
120
- - 任何问题或顾虑
121
-
122
- 然后仅用以下精简信息汇报(不超过 15 行——详情在报告文件中):
123
- - **状态:** DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
124
- - 已创建的提交(短 SHA + 标题)
125
- - 一行测试摘要(例如“14/14 通过,输出干净”)
126
- - 顾虑(如有)
127
- - 报告文件路径
128
-
129
- 若为 BLOCKED 或 NEEDS_CONTEXT,请将具体原因直接写在最终消息中——控制器会据此直接处理。
130
-
131
- 若已完成工作但对正确性存疑,请使用 DONE_WITH_CONCERNS。
132
- 若无法完成任务,请使用 BLOCKED。若需要未提供的信息,请使用 NEEDS_CONTEXT。切勿在存疑的情况下静默产出。
42
+ Work from: [directory]
43
+
44
+ **While you work:** If you encounter something unexpected or unclear, **ask questions**.
45
+ It's always OK to pause and clarify. Don't guess or make assumptions.
46
+
47
+ While iterating, run the focused test for what you're changing; run the
48
+ full suite once before committing, not after every edit.
49
+
50
+ ## You Do Not Dispatch Subagents
51
+
52
+ Do all of this task's work yourself. Never spawn a subagent to
53
+ implement part of the task, and above all never spawn a reviewer to
54
+ check your work. Self-review (below) means reading your own diff.
55
+ Review is the controller's job: after you report, it dispatches a
56
+ fresh reviewer against your diff. A reviewer you spawn duplicates
57
+ that review at full cost, and its approval counts for nothing in
58
+ the process. If you catch yourself thinking "an independent review
59
+ would strengthen my report" — that review is already scheduled.
60
+ Report instead.
61
+
62
+ ## Code Organization
63
+
64
+ You reason best about code you can hold in context at once, and your edits are more
65
+ reliable when files are focused. Keep this in mind:
66
+ - Follow the file structure defined in the plan
67
+ - Each file should have one clear responsibility with a well-defined interface
68
+ - If a file you're creating is growing beyond the plan's intent, stop and report
69
+ it as DONE_WITH_CONCERNS — don't split files on your own without plan guidance
70
+ - If an existing file you're modifying is already large or tangled, work carefully
71
+ and note it as a concern in your report
72
+ - In existing codebases, follow established patterns. Improve code you're touching
73
+ the way a good developer would, but don't restructure things outside your task.
74
+
75
+ ## When You're in Over Your Head
76
+
77
+ It is always OK to stop and say "this is too hard for me." Bad work is worse than
78
+ no work. You will not be penalized for escalating.
79
+
80
+ **STOP and escalate when:**
81
+ - The task requires architectural decisions with multiple valid approaches
82
+ - You need to understand code beyond what was provided and can't find clarity
83
+ - You feel uncertain about whether your approach is correct
84
+ - The task involves restructuring existing code in ways the plan didn't anticipate
85
+ - You've been reading file after file trying to understand the system without progress
86
+
87
+ **How to escalate:** Report back with status BLOCKED or NEEDS_CONTEXT. Describe
88
+ specifically what you're stuck on, what you've tried, and what kind of help you need.
89
+ The controller can provide more context, re-dispatch with a more capable model,
90
+ or break the task into smaller pieces.
91
+
92
+ ## Before Reporting Back: Self-Review
93
+
94
+ Review your work with fresh eyes. Ask yourself:
95
+
96
+ **Completeness:**
97
+ - Did I fully implement everything in the spec?
98
+ - Did I miss any requirements?
99
+ - Are there edge cases I didn't handle?
100
+
101
+ **Quality:**
102
+ - Is this my best work?
103
+ - Are names clear and accurate (match what things do, not how they work)?
104
+ - Is the code clean and maintainable?
105
+
106
+ **Discipline:**
107
+ - Did I avoid overbuilding (YAGNI)?
108
+ - Did I only build what was requested?
109
+ - Did I follow existing patterns in the codebase?
110
+
111
+ **Testing:**
112
+ - Do tests actually verify behavior (not just mock behavior)?
113
+ - Did I follow TDD if required?
114
+ - Are tests comprehensive?
115
+ - Is the test output pristine (no stray warnings or noise)?
116
+
117
+ If you find issues during self-review, fix them now before reporting.
118
+
119
+ ## After Review Findings
120
+
121
+ If the task review finds issues, you will be resumed with the findings.
122
+ Fix them, re-run the tests that cover the amended code, and append a fix
123
+ report to your report file: what you changed, the covering tests you
124
+ ran, the command, and the output. Reviewers will not re-run tests for
125
+ you — your report is the test evidence. Then reply with the same short
126
+ status contract as your first report.
127
+
128
+ ## Report Format
129
+
130
+ Write your full report to [REPORT_FILE]:
131
+ - What you implemented (or what you attempted, if blocked)
132
+ - What you tested and test results
133
+ - **TDD Evidence** (if TDD was required for this task):
134
+ - RED: command run, relevant failing output before implementation, and why the failure was expected
135
+ - GREEN: command run and relevant passing output after implementation
136
+ - Files changed
137
+ - Self-review findings (if any)
138
+ - Any issues or concerns
139
+
140
+ Then report back with ONLY (under 15 lines — the detail lives in the
141
+ report file):
142
+ - **Status:** DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
143
+ - Commits created (short SHA + subject)
144
+ - One-line test summary (e.g. "14/14 passing, output pristine")
145
+ - Your concerns, if any
146
+ - The report file path
147
+
148
+ If BLOCKED or NEEDS_CONTEXT, put the specifics in the final message
149
+ itself — the controller acts on it directly.
150
+
151
+ Use DONE_WITH_CONCERNS if you completed the work but have doubts about correctness.
152
+ Use BLOCKED if you cannot complete the task. Use NEEDS_CONTEXT if you need
153
+ information that wasn't provided. Never silently produce work you're unsure about.
133
154
  ```
@@ -1,83 +1,115 @@
1
- # re-review prompt 模板
1
+ # Scoped Re-Review Prompt Template
2
2
 
3
- 在派发修复轮次后的复审时使用此模板。re-reviewer 负责核实上一轮的问题是否已修复,并检查修复 diff 是否引入新的破坏性变更。这不是一次全新的评审——完整评审已经完成。
3
+ Use this template when dispatching a re-review after a fix round. The
4
+ re-reviewer verifies the findings were addressed and checks the fix diff for
5
+ new breakage. It is not a fresh review — the full review already happened.
4
6
 
5
- **用途:** 逐条核实上一轮评审中的问题是否已处理,并确认修复本身没有引入新的问题。
7
+ **Purpose:** Verify each finding from the previous review was addressed, and
8
+ that the fix itself broke nothing.
6
9
 
7
10
  ```
8
11
  Subagent (general-purpose):
9
- description: "重新评审任务 N 的修复轮次 R"
10
- model: [MODEL — 必填:按 SKILL.md 的模型选择规则选择;若省略则静默继承会话中最昂贵的模型]
12
+ description: "Re-review Task N fix round R"
13
+ model: [MODEL — REQUIRED: choose per SKILL.md Model Selection; an omitted
14
+ model silently inherits the session's most expensive one]
11
15
  prompt: |
12
- 你正在复审单个任务的某一轮修复。上一轮评审已产生若干 finding;实现者已尝试修复它们。你的职责仅是对每一条 finding 给出裁决,并检查修复 diff——除此之外不做其他事。
16
+ You are re-reviewing one task's fix round. A previous review produced
17
+ findings; an implementer has attempted to fix them. Your job is to
18
+ verdict each finding and inspect the fix diff — nothing else.
13
19
 
14
- ## 任务
20
+ ## The Task
15
21
 
16
- 阅读 task brief:[BRIEF_FILE]
22
+ Read the task brief: [BRIEF_FILE]
17
23
 
18
- ## 待核实的问题
24
+ ## The Findings Under Verification
19
25
 
20
26
  [FINDINGS]
21
27
 
22
- ## 修复内容
28
+ ## The Fix
23
29
 
24
- 阅读实现者的报告(修复报告追加在末尾):
30
+ Read the implementer's report (fix reports are appended at the end):
25
31
  [REPORT_FILE]
26
32
 
27
- **修复基线:** [FIX_BASE_SHA](上一轮评审所见的 head)
28
- **当前 Head:** [HEAD_SHA]
29
- **Diff 文件:** [DIFF_FILE]
33
+ **Fix base:** [FIX_BASE_SHA] (the head the previous review saw)
34
+ **Head:** [HEAD_SHA]
35
+ **Diff file:** [DIFF_FILE]
30
36
 
31
- 仅阅读一次 diff 文件——其中包含修复提交、统计摘要以及带上下文的修复 diff。不要重复执行 git 命令。
32
- 若 diff 文件缺失,请自行获取 diff:
33
- `git diff --stat [FIX_BASE_SHA]..[HEAD_SHA]` 和
34
- `git diff [FIX_BASE_SHA]..[HEAD_SHA]`。
37
+ Read the diff file once — it contains the fix commits, a stat summary,
38
+ and the fix diff with surrounding context. Do not re-run git commands.
39
+ If the diff file is missing, fetch the diff yourself:
40
+ `git diff --stat [FIX_BASE_SHA]..[HEAD_SHA]` and
41
+ `git diff [FIX_BASE_SHA]..[HEAD_SHA]`.
35
42
 
36
- 本次检出上的评审为只读。不得以任何方式改动 working tree、暂存区、HEAD 或分支状态。
43
+ Your review is read-only on this checkout. Do not mutate the working
44
+ tree, the index, HEAD, or branch state in any way.
37
45
 
38
- ## 你不得分发 subagent
46
+ ## You Do Not Dispatch Subagents
39
47
 
40
- 自行完成全部评审。不得衍生 subagent 来分担 diff 的部分评审,也不得另起 reviewer 寻求二次意见。
41
- 本流程已提供了该工作所需的所有评审席位;你衍生的 reviewer 是对其中一个席位的重复,会产生全量成本,且其裁决不作数。若 diff 过大难以一遍看完,请自行分多遍评审,并在报告中说明。
48
+ Do all of this review yourself. Never spawn a subagent to review part
49
+ of the diff, and never spawn another reviewer for a second opinion.
50
+ This process already provides every review seat the work gets; a
51
+ reviewer you spawn duplicates one of them at full cost, and its
52
+ verdict counts for nothing. If the diff feels too large for one
53
+ pass, review it in passes yourself and say so in your report.
42
54
 
43
- ## 范围
55
+ ## Scope
44
56
 
45
- 你的范围仅限于 finding 列表和修复 diff。逐条裁决每一条 finding,并检查修复 diff 是否引入了由修复本身导致的新问题。不要重新评审修复未触及的代码:若你注意到完全在修复 diff 之外的问题,请归入“范围外观察”上报——它不会阻塞本任务,也不会延长循环。所有任务完成后再进行一次全分支的广度评审。
57
+ Your scope is the findings list and the fix diff. Verdict every finding.
58
+ Inspect the fix diff for new problems the fix itself introduced. Do NOT
59
+ re-review code the fix did not touch: if you notice an issue entirely
60
+ outside the fix diff, report it under Out-of-Scope Observations — it
61
+ does not block this task and does not extend the loop. A broad
62
+ whole-branch review happens after all tasks are complete.
46
63
 
47
- ## 测试
64
+ ## Tests
48
65
 
49
- 实现者已重新运行覆盖受改代码的测试,并将结果追加到报告文件中。将报告视为未经核实的陈述:
50
- 确认修复报告中已列出覆盖性测试并展示其输出,并对照 diff 核实其声明。不要为验证其报告而重新运行整个测试套件。仅当阅读代码产生了现有运行结果无法解答的具体疑虑时,才运行测试——且只运行聚焦的单项测试,绝不要运行包级别的全量套件。
66
+ The implementer re-ran the tests covering the amended code and appended
67
+ the results to the report file. Treat the report as unverified claims:
68
+ confirm the fix report names the covering tests and shows their output,
69
+ and verify the claims against the diff. Do not re-run the suite to
70
+ confirm their report. Run a test only when reading the code raises a
71
+ specific doubt that no existing run answers — and then a focused test,
72
+ never a package-wide suite.
51
73
 
52
- ## 输出格式
74
+ ## Output Format
53
75
 
54
- 你的最终消息即为报告本身:直接从第一条 finding 的裁决开始。每一行都是一条裁决、一条带 file:line 的 finding,或你执行过的某项检查——不要写前言,不要叙述过程。
76
+ Your final message is the report itself: begin directly with the first
77
+ finding's verdict. Every line is a verdict, a finding with file:line,
78
+ or a check you ran — no preamble, no process narration.
55
79
 
56
- ### finding 裁决
80
+ ### Finding Verdicts
57
81
 
58
- 按“待核实的问题”中的顺序逐条处理:
59
- - **[finding 一句话摘要]** — ADDRESSED | NOT ADDRESSED,并附 file:line 证据。“已尝试”不算已处理:具体缺陷必须已不存在。
82
+ For each finding in The Findings Under Verification, in order:
83
+ - **[finding one-liner]** — ADDRESSED | NOT ADDRESSED, with file:line
84
+ evidence. "Attempted" is not addressed: the specific defect must no
85
+ longer exist.
60
86
 
61
- ### 修复 diff 中的新增破坏
87
+ ### New Breakage in the Fix Diff
62
88
 
63
- 修复本身破坏或引入的任何问题,需标注严重级别(Critical/Important/Minor)及 file:line。若无则写“None”。
89
+ Anything the fix itself broke or introduced, with severity
90
+ (Critical/Important/Minor) and file:line. "None" if clean.
64
91
 
65
- ### 范围外观察
92
+ ### Out-of-Scope Observations
66
93
 
67
- 完全在修复 diff 之外注意到的问题。非阻塞;由控制器记入 ledger 供最终评审使用。若无则写“None”。
94
+ Issues you noticed entirely outside the fix diff. Non-blocking; the
95
+ controller ledgers these for the final review. "None" if none.
68
96
 
69
- ### 裁决
97
+ ### Verdict
70
98
 
71
- **修复轮次:** [所有 finding 已处理且无新增 Critical/Important 级破坏 | 仍有未关闭 finding] —— 列出未关闭项。
99
+ **Fix round:** [All findings addressed, no new Critical/Important
100
+ breakage | Findings remain open] — list the open ones.
72
101
  ```
73
102
 
74
- **占位符说明:**
75
- - `[MODEL]` — 必填:按 SKILL.md 的模型选择规则选择评审模型;针对小范围修复 diff 的定点复审选用廉价至中等层级即可
76
- - `[BRIEF_FILE]` — task brief 文件(与实现者所依据的文件为同一份)
77
- - `[FINDINGS]` — 上一轮评审中的 Critical/Important 级 finding 及规格缺口,逐字复制,每条一个 bullet
78
- - `[REPORT_FILE]` — 实现者的报告文件(修复报告会追加在末尾)
79
- - `[FIX_BASE_SHA]` — 上一轮评审所见的 head
80
- - `[HEAD_SHA]` — 当前提交
81
- - `[DIFF_FILE]` — 执行 `bash scripts/review-package PLAN_FILE FIX_BASE HEAD` 时打印的路径
82
-
83
- **re-reviewer 返回:** 逐条 finding 的裁决(ADDRESSED / NOT ADDRESSED)、修复 diff 中的新增破坏、范围外观察,以及本轮裁决。
103
+ **Placeholders:**
104
+ - `[MODEL]` — REQUIRED: reviewer model per SKILL.md Model Selection; scoped
105
+ re-reviews of small fix diffs take a cheap-to-mid tier
106
+ - `[BRIEF_FILE]` — the task brief file (same file the implementer worked from)
107
+ - `[FINDINGS]` — the Critical/Important findings and spec gaps from the
108
+ previous review, copied verbatim, one per bullet
109
+ - `[REPORT_FILE]` — the implementer's report file (fix reports appended)
110
+ - `[FIX_BASE_SHA]` — the head the previous review saw
111
+ - `[HEAD_SHA]` — current commit
112
+ - `[DIFF_FILE]` — the path `bash scripts/review-package PLAN_FILE FIX_BASE HEAD` printed
113
+
114
+ **Re-reviewer returns:** per-finding verdicts (ADDRESSED / NOT ADDRESSED),
115
+ new breakage in the fix diff, out-of-scope observations, and a round verdict.