superpowers-zh 1.7.5 → 1.7.7

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
- "description": "AI 编程超能力中文增强版:20 个 skills,支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 22 款工具",
3
+ "description": "AI 编程超能力中文增强版:20 个 skills,支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 23 款工具",
4
4
  "owner": {
5
5
  "name": "jnMetaCode",
6
6
  "url": "https://github.com/jnMetaCode"
@@ -8,8 +8,8 @@
8
8
  "plugins": [
9
9
  {
10
10
  "name": "superpowers-zh",
11
- "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 22 款工具",
12
- "version": "1.7.5",
11
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 23 款工具",
12
+ "version": "1.7.7",
13
13
  "source": "./",
14
14
  "author": {
15
15
  "name": "jnMetaCode",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
- "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 22 款工具",
4
- "version": "1.7.5",
3
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 23 款工具",
4
+ "version": "1.7.7",
5
5
  "author": {
6
6
  "name": "jnMetaCode",
7
7
  "url": "https://github.com/jnMetaCode"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
- "version": "1.7.5",
3
+ "version": "1.7.7",
4
4
  "description": "AI 编程超能力中文增强版:头脑风暴、subagent 驱动开发、规划、TDD、调试、代码审查、收尾工作流,附 4 个中文 skills 沉淀。",
5
5
  "author": {
6
6
  "name": "jnMetaCode",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
3
  "displayName": "Superpowers 中文版",
4
- "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Cursor / Claude Code / Hermes Agent / Claw Code / Qoder 等 22 款工具",
5
- "version": "1.7.5",
4
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Cursor / Claude Code / Hermes Agent / Claw Code / Qoder 等 23 款工具",
5
+ "version": "1.7.7",
6
6
  "author": {
7
7
  "name": "jnMetaCode",
8
8
  "url": "https://github.com/jnMetaCode"
package/CLAUDE.md CHANGED
@@ -109,7 +109,7 @@ Skill 不是普通文档 —— 它是塑造 agent 行为的代码。如果你
109
109
 
110
110
  ## 关于本中文 fork(superpowers-zh)
111
111
 
112
- 本仓库 `jnMetaCode/superpowers-zh` 是上游 `obra/superpowers` 的**中文增强 fork**,定位为:完整翻译上游 skill + 叠加 4 个中国原创 skill(chinese-code-review / chinese-commit-conventions / chinese-documentation / chinese-git-workflow)+ 多工具适配(npx 一条命令支持 22 款 IDE/CLI)。
112
+ 本仓库 `jnMetaCode/superpowers-zh` 是上游 `obra/superpowers` 的**中文增强 fork**,定位为:完整翻译上游 skill + 叠加 4 个中国原创 skill(chinese-code-review / chinese-commit-conventions / chinese-documentation / chinese-git-workflow)+ 多工具适配(npx 一条命令支持 23 款 IDE/CLI)。
113
113
 
114
114
  **上述规则适用于向 `obra/superpowers` 上游提 PR 时的行为约束。** 向中文 fork 提 PR 时按本仓库自己的 PR 模板与流程执行,但其中的核心原则**同样适用**:
115
115
 
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  🌐 **简体中文** | [繁體中文](README.zh-Hant.md) | [English (upstream)](https://github.com/obra/superpowers)
4
4
 
5
- > 🦸 **superpowers(250k+ ⭐)完整汉化 + 4 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Qoder 等 **22 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
5
+ > 🦸 **superpowers(250k+ ⭐)完整汉化 + 4 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Qoder 等 **23 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
6
6
 
7
- Chinese community edition of [superpowers](https://github.com/obra/superpowers) — 20 skills across 22 AI coding tools, including full translations and China-specific development skills.
7
+ Chinese community edition of [superpowers](https://github.com/obra/superpowers) — 20 skills across 23 AI coding tools, including full translations and China-specific development skills.
8
8
 
9
9
  [![官网 sp.aiolaola.com](https://img.shields.io/badge/🌐_官网-sp.aiolaola.com-F59E0B)](https://sp.aiolaola.com)
10
10
  [![GitHub stars](https://img.shields.io/github/stars/jnMetaCode/superpowers-zh?style=social)](https://github.com/jnMetaCode/superpowers-zh)
@@ -16,7 +16,9 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
16
16
  >
17
17
  > 🌍 Also available in [English](https://aiolaola.com/en?utm_source=github&utm_campaign=superpowers) · [日本語](https://aiolaola.com/ja?utm_source=github&utm_campaign=superpowers) · [Español](https://aiolaola.com/es?utm_source=github&utm_campaign=superpowers) · [한국어](https://aiolaola.com/ko?utm_source=github&utm_campaign=superpowers) · [繁體中文](https://aiolaola.com/zh-Hant?utm_source=github&utm_campaign=superpowers)
18
18
 
19
- > 🆕 **v1.7.5 更新亮点**([完整 Release Notes →](RELEASE-NOTES.zh.md))
19
+ > 🆕 **v1.7.7 更新亮点**([完整 Release Notes →](RELEASE-NOTES.zh.md))
20
+ > - 🆕 **新增 Crush**(工具数 22 → 23)—— 若你已为 CC / Cursor / Codex 装过,Crush 其实已经能读到,别重复装
21
+ > - 🎯 **上游 v6.2.0 对齐完成** —— audit 的结构漂移告警清零;C 块盘点时发现其中 3 项不是风格改动而是实质新规则
20
22
  > - 🐛 **两个 worktree / Gemini 的真问题** —— 修掉 worktree 清理静默空转;更正「Gemini 不支持子智能体」的错误说法(原说法会让 3 个 skill 在 Gemini CLI 上瘸腿)
21
23
  > - 🔄 **测试参考重构** —— `testing-anti-patterns` → `writing-good-tests`:从 5 个反模式清单改为两条原则 + 变异检查
22
24
  > - 🔄 **SDD 同步上游 v6.2.0** —— plan 作用域工作区(一份过期账本再也不会让控制者跳过整段任务)+ 五轮上限的唤回式修复循环与熔断裁定
@@ -29,7 +31,7 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
29
31
 
30
32
  | 📦 翻译 Skills | 🇨🇳 中国特色 Skills | 🤖 支持工具 |
31
33
  |:---:|:---:|:---:|
32
- | **14** | **6** | **Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Codex / Aider / Trae / VS Code (Copilot) / DeerFlow / OpenCode / OpenClaw / Qwen Code / Antigravity / Claw Code / Qoder / CodeBuddy(腾讯)/ CodeArts(华为云码道)/ Cline / Kilo Code** |
34
+ | **14** | **6** | **Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Codex / Aider / Trae / VS Code (Copilot) / DeerFlow / OpenCode / OpenClaw / Qwen Code / Antigravity / Claw Code / Qoder / CodeBuddy(腾讯)/ CodeArts(华为云码道)/ Cline / Kilo Code / Crush** |
33
35
 
34
36
  ---
35
37
 
@@ -107,7 +109,7 @@ AI:在开始实现之前,我需要了解几个关键问题:
107
109
  | ⭐ Star 数 | 250k+ | — |
108
110
  | 📦 Skills 总数 | 14 | **20**(14 翻译 + 4 国产原创 + 2 上游历史保留) |
109
111
  | 🌐 语言 | 英文 | 中文(技术术语保留英文) |
110
- | 🤖 **支持工具** | **6 款**:Claude Code / Cursor / Codex / OpenCode / Copilot CLI / Gemini CLI | **22 款**:上述 6 款 + Hermes Agent / Trae / Kiro / Qwen Code(通义灵码)/ OpenClaw / Claw Code / Antigravity / DeerFlow / VS Code / Windsurf / Aider / Qoder / CodeBuddy(腾讯) / CodeArts(华为云码道) / Cline / Kilo Code |
112
+ | 🤖 **支持工具** | **6 款**:Claude Code / Cursor / Codex / OpenCode / Copilot CLI / Gemini CLI | **23 款**:上述 6 款 + Hermes Agent / Trae / Kiro / Qwen Code(通义灵码)/ OpenClaw / Claw Code / Antigravity / DeerFlow / VS Code / Windsurf / Aider / Qoder / CodeBuddy(腾讯) / CodeArts(华为云码道) / Cline / Kilo Code / Crush |
111
113
  | ⚡ **安装方式** | 按工具分别装(每款一条不同的 plugin marketplace 命令) | **`npx superpowers-zh` 一条命令自动识别项目里的工具并安装**;识别不出可 `--tool <name>` 显式指定 |
112
114
  | 🇨🇳 Git 平台 | GitHub 为主 | GitHub + Gitee + Coding + 极狐 GitLab + **CNB(腾讯云原生构建)** |
113
115
  | 🇨🇳 CI/CD 示例 | GitHub Actions | GitHub Actions + Gitee Go + Coding CI + 极狐 CI + `.cnb.yml` |
@@ -121,9 +123,9 @@ AI:在开始实现之前,我需要了解几个关键问题:
121
123
  | 💬 社区 | Discord | 微信公众号「AI不止语」+ 微信群 + QQ 群 |
122
124
  | 📜 License | MIT | MIT |
123
125
 
124
- **一句话总结:** 英文上游 = 方法论内核;中文增强版 = 方法论内核 **+** 22 款工具一键适配 **+** 国内 Git/CI 生态 **+** 中文化表达习惯。
126
+ **一句话总结:** 英文上游 = 方法论内核;中文增强版 = 方法论内核 **+** 23 款工具一键适配 **+** 国内 Git/CI 生态 **+** 中文化表达习惯。
125
127
 
126
- ### 🤖 支持 22 款主流 AI 编程工具
128
+ ### 🤖 支持 23 款主流 AI 编程工具
127
129
 
128
130
  | 工具 | 类型 | 一键安装 | 手动安装 |
129
131
  |------|------|:---:|:---:|
@@ -149,6 +151,7 @@ AI:在开始实现之前,我需要了解几个关键问题:
149
151
  | [华为云码道 CodeArts](https://www.huaweicloud.com/product/codeartsdoer.html) | IDE | `npx superpowers-zh` | `.codeartsdoer/skills/` |
150
152
  | [Cline](https://cline.bot) | IDE 插件 | `npx superpowers-zh --tool cline` | `.cline/skills/` + `.clinerules/` |
151
153
  | [Kilo Code](https://kilo.ai) | IDE 插件 | `npx superpowers-zh --tool kilocode` | `.kilocode/skills/` + `.kilocode/rules/` |
154
+ | [Crush](https://github.com/charmbracelet/crush) | CLI | `npx superpowers-zh` | `.crush/skills/` |
152
155
 
153
156
  > 运行 `npx superpowers-zh` 会自动检测你项目中使用的工具,将 20 个 skills 安装到正确位置。
154
157
 
@@ -209,7 +212,7 @@ npx superpowers-zh --global --tool claude # 或指定工具
209
212
 
210
213
  全局安装把 skills 装到工具的**用户级目录**(如 `~/.claude/skills`),一次安装所有项目自动可用,更新时也只需重装一次。**项目级优先、全局兜底**,二者可共存。
211
214
 
212
- 支持通用全局安装的工具(均为 docs 已证实的用户级加载路径):**Claude Code · Codex CLI · Qoder · Windsurf · Qwen Code · OpenClaw · OpenCode**。其中 **Codex CLI** 全局装到 `~/.agents/skills`(Codex 启动扫描目录)。其余工具(Cursor / Kiro / Trae / Aider / DeerFlow / VS Code / Hermes / Claw / Cline / Kilo Code)规则是项目级或存于应用内设置,`--global` 会提示改用项目级;**Gemini CLI / Antigravity** 有各自专属的全局方式(Gemini 走扩展目录),见对应 `docs/README.*.md`。
215
+ 支持通用全局安装的工具(均为 docs 已证实的用户级加载路径):**Claude Code · Codex CLI · Qoder · Windsurf · Qwen Code · OpenClaw · OpenCode · Crush**。其中 **Codex CLI** 全局装到 `~/.agents/skills`(Codex 启动扫描目录)。其余工具(Cursor / Kiro / Trae / Aider / DeerFlow / VS Code / Hermes / Claw / Cline / Kilo Code)规则是项目级或存于应用内设置,`--global` 会提示改用项目级;**Gemini CLI / Antigravity** 有各自专属的全局方式(Gemini 走扩展目录),见对应 `docs/README.*.md`。
213
216
 
214
217
  | | 项目级(默认) | 全局(`--global`) |
215
218
  |---|---|---|
@@ -305,7 +308,7 @@ cp -r superpowers-zh/skills /your/project/.qoder/skills # Qoder(阿里 AI
305
308
  | Claw Code | `.claw/skills/*/SKILL.md` | Rust 版 CLI agent,兼容 Claude Code 的 SKILL.md 格式 |
306
309
  | Qoder | `.qoder/skills/*/SKILL.md` + `.qoder/rules/superpowers-zh.md` | 阿里 AI IDE,自动生成 `trigger: always_on` 的 bootstrap rule |
307
310
 
308
- > **详细安装指南**:[Kiro](docs/README.kiro.md) · [DeerFlow](docs/README.deerflow.md) · [Trae](docs/README.trae.md) · [Antigravity](docs/README.antigravity.md) · [VS Code](docs/README.vscode.md) · [Codex](docs/README.codex.md) · [OpenCode](docs/README.opencode.md) · [OpenClaw](docs/README.openclaw.md) · [Windsurf](docs/README.windsurf.md) · [Gemini CLI](docs/README.gemini-cli.md) · [Aider](docs/README.aider.md) · [Qwen Code](docs/README.qwen.md) · [Hermes Agent](docs/README.hermes.md) · [Qoder](docs/README.qoder.md) · [CodeBuddy](docs/README.codebuddy.md) · [华为云码道](docs/README.codearts.md) · [Kimi Code](docs/README.kimi.md) · [Pi](docs/README.pi.md) · [Cline](docs/README.cline.md) · [Kilo Code](docs/README.kilocode.md)
311
+ > **详细安装指南**:[Kiro](docs/README.kiro.md) · [DeerFlow](docs/README.deerflow.md) · [Trae](docs/README.trae.md) · [Antigravity](docs/README.antigravity.md) · [VS Code](docs/README.vscode.md) · [Codex](docs/README.codex.md) · [OpenCode](docs/README.opencode.md) · [OpenClaw](docs/README.openclaw.md) · [Windsurf](docs/README.windsurf.md) · [Gemini CLI](docs/README.gemini-cli.md) · [Aider](docs/README.aider.md) · [Qwen Code](docs/README.qwen.md) · [Hermes Agent](docs/README.hermes.md) · [Qoder](docs/README.qoder.md) · [CodeBuddy](docs/README.codebuddy.md) · [华为云码道](docs/README.codearts.md) · [Kimi Code](docs/README.kimi.md) · [Pi](docs/README.pi.md) · [Cline](docs/README.cline.md) · [Kilo Code](docs/README.kilocode.md) · [Crush](docs/README.crush.md)
309
312
 
310
313
  ### 卸载 / 误装清理(v1.2.1+)
311
314
 
@@ -419,7 +422,7 @@ MIT License — 自由使用,商业或个人均可。
419
422
 
420
423
  <div align="center">
421
424
 
422
- **🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 22 款工具真正会干活**
425
+ **🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 23 款工具真正会干活**
423
426
 
424
427
  [Star 本项目](https://github.com/jnMetaCode/superpowers-zh) · [提交 Issue](https://github.com/jnMetaCode/superpowers-zh/issues) · [贡献代码](https://github.com/jnMetaCode/superpowers-zh/pulls)
425
428
 
package/README.zh-Hant.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  🌐 [简体中文](README.md) | **繁體中文** | [English (upstream)](https://github.com/obra/superpowers)
4
4
 
5
- > 🦸 **superpowers(250k+ ⭐)完整漢化 + 4 個中國原創 skills** — 讓 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Qoder 等 **22 款 AI 編程工具**真正會幹活。從頭腦風暴到程式碼審查,從 TDD 到除錯,每個 skill 都是經過實戰驗證的工作方法論。
5
+ > 🦸 **superpowers(250k+ ⭐)完整漢化 + 4 個中國原創 skills** — 讓 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Qoder 等 **23 款 AI 編程工具**真正會幹活。從頭腦風暴到程式碼審查,從 TDD 到除錯,每個 skill 都是經過實戰驗證的工作方法論。
6
6
 
7
- Chinese community edition of [superpowers](https://github.com/obra/superpowers) — 20 skills across 22 AI coding tools, including full translations and China-specific development skills.
7
+ Chinese community edition of [superpowers](https://github.com/obra/superpowers) — 20 skills across 23 AI coding tools, including full translations and China-specific development skills.
8
8
 
9
9
  [![官網 sp.aiolaola.com](https://img.shields.io/badge/🌐_官網-sp.aiolaola.com-F59E0B)](https://sp.aiolaola.com)
10
10
  [![GitHub stars](https://img.shields.io/github/stars/jnMetaCode/superpowers-zh?style=social)](https://github.com/jnMetaCode/superpowers-zh)
@@ -16,7 +16,9 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
16
16
 
17
17
  > 📖 **免費配套學習** → [從零學會 AI 編程](https://aiolaola.com/?utm_source=github&utm_campaign=superpowers):180 節免費實操課 + 《AI 編程實戰三卷書》線上閱讀 + 實戰社群 · superpowers 裝好後配上方法論效率翻倍 · 永久免費
18
18
 
19
- > 🆕 **v1.7.5 更新亮點**([完整 Release Notes →](RELEASE-NOTES.zh.md))
19
+ > 🆕 **v1.7.7 更新亮點**([完整 Release Notes →](RELEASE-NOTES.zh.md))
20
+ > - 🆕 **新增 Crush**(工具數 22 → 23)—— 若你已為 CC / Cursor / Codex 裝過,Crush 其實已經能讀到,別重複裝
21
+ > - 🎯 **上游 v6.2.0 對齊完成** —— audit 的結構漂移告警清零;C 塊盤點時發現其中 3 項不是風格改動而是實質新規則
20
22
  > - 🐛 **兩個 worktree / Gemini 的真問題** —— 修掉 worktree 清理靜默空轉;更正「Gemini 不支援子智能體」的錯誤說法(原說法會讓 3 個 skill 在 Gemini CLI 上瘸腿)
21
23
  > - 🔄 **測試參考重構** —— `testing-anti-patterns` → `writing-good-tests`:從 5 個反模式清單改為兩條原則 + 變異檢查
22
24
  > - 🔄 **SDD 同步上游 v6.2.0** —— plan 作用域工作區(一份過期帳本再也不會讓控制者跳過整段任務)+ 五輪上限的喚回式修復循環與熔斷裁定
@@ -29,7 +31,7 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
29
31
 
30
32
  | 📦 翻譯 Skills | 🇨🇳 中國特色 Skills | 🤖 支援工具 |
31
33
  |:---:|:---:|:---:|
32
- | **14** | **6** | **Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Codex / Aider / Trae / VS Code (Copilot) / DeerFlow / OpenCode / OpenClaw / Qwen Code / Antigravity / Claw Code / Qoder / CodeBuddy(騰訊)/ CodeArts(華為雲碼道)/ Cline / Kilo Code** |
34
+ | **14** | **6** | **Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Codex / Aider / Trae / VS Code (Copilot) / DeerFlow / OpenCode / OpenClaw / Qwen Code / Antigravity / Claw Code / Qoder / CodeBuddy(騰訊)/ CodeArts(華為雲碼道)/ Cline / Kilo Code / Crush** |
33
35
 
34
36
  ---
35
37
 
@@ -107,7 +109,7 @@ AI:在開始實作之前,我需要了解幾個關鍵問題:
107
109
  | ⭐ Star 數 | 250k+ | — |
108
110
  | 📦 Skills 總數 | 14 | **20**(14 翻譯 + 4 國產原創 + 2 上游歷史保留) |
109
111
  | 🌐 語言 | 英文 | 中文(技術術語保留英文) |
110
- | 🤖 **支援工具** | **6 款**:Claude Code / Cursor / Codex / OpenCode / Copilot CLI / Gemini CLI | **22 款**:上述 6 款 + Hermes Agent / Trae / Kiro / Qwen Code(通義靈碼)/ OpenClaw / Claw Code / Antigravity / DeerFlow / VS Code / Windsurf / Aider / Qoder / CodeBuddy(騰訊) / CodeArts(華為雲碼道) / Cline / Kilo Code |
112
+ | 🤖 **支援工具** | **6 款**:Claude Code / Cursor / Codex / OpenCode / Copilot CLI / Gemini CLI | **23 款**:上述 6 款 + Hermes Agent / Trae / Kiro / Qwen Code(通義靈碼)/ OpenClaw / Claw Code / Antigravity / DeerFlow / VS Code / Windsurf / Aider / Qoder / CodeBuddy(騰訊) / CodeArts(華為雲碼道) / Cline / Kilo Code / Crush |
111
113
  | ⚡ **安裝方式** | 按工具分別裝(每款一條不同的 plugin marketplace 命令) | **`npx superpowers-zh` 一條命令自動識別專案裡的工具並安裝**;識別不出可 `--tool <name>` 顯式指定 |
112
114
  | 🇨🇳 Git 平台 | GitHub 為主 | GitHub + Gitee + Coding + 極狐 GitLab + **CNB(騰訊雲原生建置)** |
113
115
  | 🇨🇳 CI/CD 範例 | GitHub Actions | GitHub Actions + Gitee Go + Coding CI + 極狐 CI + `.cnb.yml` |
@@ -121,9 +123,9 @@ AI:在開始實作之前,我需要了解幾個關鍵問題:
121
123
  | 💬 社群 | Discord | 微信公眾號「AI不止語」+ 微信群 + QQ 群 |
122
124
  | 📜 License | MIT | MIT |
123
125
 
124
- **一句話總結:** 英文上游 = 方法論核心;中文增強版 = 方法論核心 **+** 22 款工具一鍵適配 **+** 國內 Git/CI 生態 **+** 中文化表達習慣。
126
+ **一句話總結:** 英文上游 = 方法論核心;中文增強版 = 方法論核心 **+** 23 款工具一鍵適配 **+** 國內 Git/CI 生態 **+** 中文化表達習慣。
125
127
 
126
- ### 🤖 支援 22 款主流 AI 編程工具
128
+ ### 🤖 支援 23 款主流 AI 編程工具
127
129
 
128
130
  | 工具 | 類型 | 一鍵安裝 | 手動安裝 |
129
131
  |------|------|:---:|:---:|
@@ -149,6 +151,7 @@ AI:在開始實作之前,我需要了解幾個關鍵問題:
149
151
  | [華為雲碼道 CodeArts](https://www.huaweicloud.com/product/codeartsdoer.html) | IDE | `npx superpowers-zh` | `.codeartsdoer/skills/` |
150
152
  | [Cline](https://cline.bot) | IDE 外掛 | `npx superpowers-zh --tool cline` | `.cline/skills/` + `.clinerules/` |
151
153
  | [Kilo Code](https://kilo.ai) | IDE 外掛 | `npx superpowers-zh --tool kilocode` | `.kilocode/skills/` + `.kilocode/rules/` |
154
+ | [Crush](https://github.com/charmbracelet/crush) | CLI | `npx superpowers-zh` | `.crush/skills/` |
152
155
 
153
156
  > 執行 `npx superpowers-zh` 會自動偵測你專案中使用的工具,將 20 個 skills 安裝到正確位置。
154
157
 
@@ -209,7 +212,7 @@ npx superpowers-zh --global --tool claude # 或指定工具
209
212
 
210
213
  全域安裝把 skills 裝到工具的**使用者級目錄**(如 `~/.claude/skills`),一次安裝所有專案自動可用,更新時也只需重裝一次。**專案級優先、全域兜底**,二者可共存。
211
214
 
212
- 支援通用全域安裝的工具(均為 docs 已證實的使用者級載入路徑):**Claude Code · Codex CLI · Qoder · Windsurf · Qwen Code · OpenClaw · OpenCode**。其中 **Codex CLI** 全域裝到 `~/.agents/skills`(Codex 啟動掃描目錄)。其餘工具(Cursor / Kiro / Trae / Aider / DeerFlow / VS Code / Hermes / Claw / Cline / Kilo Code)規則是專案級或存於應用內設定,`--global` 會提示改用專案級;**Gemini CLI / Antigravity** 有各自專屬的全域方式(Gemini 走擴充目錄),見對應 `docs/README.*.md`。
215
+ 支援通用全域安裝的工具(均為 docs 已證實的使用者級載入路徑):**Claude Code · Codex CLI · Qoder · Windsurf · Qwen Code · OpenClaw · OpenCode · Crush**。其中 **Codex CLI** 全域裝到 `~/.agents/skills`(Codex 啟動掃描目錄)。其餘工具(Cursor / Kiro / Trae / Aider / DeerFlow / VS Code / Hermes / Claw / Cline / Kilo Code)規則是專案級或存於應用內設定,`--global` 會提示改用專案級;**Gemini CLI / Antigravity** 有各自專屬的全域方式(Gemini 走擴充目錄),見對應 `docs/README.*.md`。
213
216
 
214
217
  | | 專案級(預設) | 全域(`--global`) |
215
218
  |---|---|---|
@@ -419,7 +422,7 @@ MIT License — 自由使用,商業或個人均可。
419
422
 
420
423
  <div align="center">
421
424
 
422
- **🦸 AI 編程超能力:讓 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 22 款工具真正會幹活**
425
+ **🦸 AI 編程超能力:讓 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 23 款工具真正會幹活**
423
426
 
424
427
  [Star 本專案](https://github.com/jnMetaCode/superpowers-zh) · [提交 Issue](https://github.com/jnMetaCode/superpowers-zh/issues) · [貢獻程式碼](https://github.com/jnMetaCode/superpowers-zh/pulls)
425
428
 
@@ -6,6 +6,87 @@
6
6
 
7
7
  ---
8
8
 
9
+ ## v1.7.7 (2026-08-08)
10
+
11
+ ### 🆕 新增 Crush 适配(工具数 22 → 23,关 #40)
12
+
13
+ 查权威源([charmbracelet/crush](https://github.com/charmbracelet/crush) repo 文档)确认:Crush 遵循 **Agent Skills 开放标准**,项目级**自动发现**四个目录,无需任何配置:
14
+
15
+ ```
16
+ .crush/skills .agents/skills .claude/skills .cursor/skills
17
+ ```
18
+
19
+ 用户级为 `~/.config/crush/skills`,因此**支持 `--global`**。
20
+
21
+ > ⚠️ **一个重要副作用:** 已经为 Claude Code / Cursor / Codex / Antigravity 装过 superpowers-zh 的用户,**Crush 现在就已经能读到那些 skills** —— 此时**不要**再装 `--tool crush`,否则同一批 skills 会有两份被重复加载。[docs/README.crush.md](https://github.com/jnMetaCode/superpowers-zh/blob/main/docs/README.crush.md) 里给了确认命令。
22
+
23
+ skills-only 适配,不需要 bootstrap;**不动你的 `crush.json`**(四个自动发现目录已够用)。实测:装 20 skills / 二次装幂等 / 卸载零残留且正确保留用户的 `crush.json`;`--global` 装到 `~/.config/crush/skills` 并可干净卸载。
24
+
25
+ ### 🎯 上个版本新加的计数检查,第一次在真实改动里生效
26
+
27
+ 加 Crush 时漏改了 `site/build.mjs` 的 5 处计数(三语言标语 + FAQ 枚举)。v1.7.3 引入的 audit Category 5 **直接 FAIL 拦下**:
28
+
29
+ ```
30
+ ❌ 计数不一致: site/build.mjs「官网简体标语」= 22,应为 23
31
+ ❌ 计数不一致: site/build.mjs「官网 FAQ 枚举」= 22,应为 23
32
+ ... 共 5 条
33
+ ```
34
+
35
+ 已补 site 18 处并重建,三语言首页 23 计数、0 残留、Crush 均已出现。
36
+
37
+ ### 🔧 `verify-release.sh` 有同样的漂移问题,已修
38
+
39
+ 它有自己独立的覆盖清单 —— 加新工具时不进去就**静默不测**。本次 Crush 就是这样:分数仍是 82,因为压根没测它。
40
+
41
+ - `SPEC` / `DETECT` / `GLOBAL_OK` 三处补 Crush
42
+ - 顺带发现 B 段还漏了 **3 个工具**的检测标记:DeerFlow(`deer_flow`)、VS Code(`.github/copilot-instructions.md`)、Gemini CLI(`GEMINI.md`)—— 后两个是**文件而非目录**,原先的 DETECT 循环一律 `mkdir`,现按扩展名区分创建方式
43
+ - **新增 G 段自检**:`SPEC` 覆盖数必须等于 installer 宣称的工具数;`DETECT` 覆盖的工具名集合必须包含全部 `TARGETS` 名字(用**集合比对**而非数条数 —— 一个工具可以有多个检测标记,数数会误判)
44
+
45
+ 覆盖从 **82 项升到 90 项**。
46
+
47
+ ### ✅ 验证
48
+
49
+ `scripts/audit.sh` **152 pass / 0 warn / 0 fail**、`scripts/verify-release.sh` **90 pass / 0 fail**。
50
+
51
+ ---
52
+
53
+ ## v1.7.6 (2026-08-08)
54
+
55
+ **上游 v6.2.0 对齐完成** —— [#19](https://github.com/jnMetaCode/superpowers-zh/issues/19) 的 C 块收尾,`scripts/audit.sh` 的上游结构漂移告警**清零**。
56
+
57
+ ### 🧾 盘点先行:其中 3 项不是风格性改动
58
+
59
+ C 块表面上是 14 个 `refactor(skills)` commit("drop social proof"、"drop The Bottom Line"、"fold into rationalization table"),看着像上游在统一自己的文风。开工前做了逐 commit 盘点,判定标准定为**「删掉的文字里有没有别处没写的规则」**——结论纠正了原本的假设:
60
+
61
+ - **`cfb6281`** 新增了一张 rationalization 表(2 行**全新规则**),替换掉「与工作流的集成」那份清单
62
+ - **`03147d2`** 给 `executing-plans` 加了「先确保隔离工作区」作为**步骤 1**(SDD 那一半已随 A 块完成)
63
+ - **`bc86802`** 把「常见错误」5 个小节 + 「红线」Never/Always 双清单压成 5 行表,**规则一条不少**——这也是此前唯一有客观漂移证据的 skill
64
+
65
+ ### ✂️ 其余各项逐条核实后才删
66
+
67
+ | skill | 删掉的 | 规则去哪了 |
68
+ |---|---|---|
69
+ | `receiving-code-review` | 「底线」 | 概述已有「核心原则:先验证再实施。先提问再假设」 |
70
+ | `writing-skills` | 「总结」 | 铁律节 + TDD 循环表已完整承载 |
71
+ | `writing-plans` | 「注意事项」 | 精确路径 / `Run:` / 预期输出 三条都**内建在任务结构模板**里——上游是把「告知」改成「示范」 |
72
+ | `brainstorming` | 「核心原则」6 条 | 5 条已在流程详述逐条体现;YAGNI 按上游移到「探索方案」的使用现场 |
73
+ | `systematic-debugging` | 「实际效果」+ 社会证明句 | 核心原则行保留;「相关技能」块折入第四阶段「验证修复」 |
74
+ | `dispatching-parallel-agents` | 「核心优势」「实际效果」 | 验证节保留 |
75
+ | `verification-before-completion` | 「为什么这很重要」「底线」 | 「证据先于宣称」核心原则行保留 |
76
+ | `executing-plans` | 质量宣称、「集成」 | 按上游改写为平铺平台清单 |
77
+
78
+ ### ✅ 验证
79
+
80
+ **结构**:10 个 skill 的 H2 数与上游逐一对齐(8 个完全相同、2 个差 1);`executing-plans` / `using-git-worktrees` / `requesting-code-review` 的 `superpowers:` 引用集与上游**完全一致**。
81
+
82
+ **行为 eval —— 两轮共 11 题全对。** 专门考被删段落里的规则是否仍生效:原生 worktree 工具 vs `git worktree add`(答出「第一大错误」与「幽灵状态」)、跳过 `check-ignore` 的后果、目录名优先级、基线失败能否继续、能否无证据宣称完成、审查建议有疑问时该照做还是反驳、能否先打补丁再查根因、能否自己读 diff 代替派审查者(命中 `cfb6281` 新增表行)、方案里的「以后可能用得上」怎么处理(命中 YAGNI 新落点)。
83
+
84
+ **回归**:`scripts/audit.sh` **150 pass / 0 warn / 0 fail**、`scripts/verify-release.sh` **82 pass / 0 fail**。
85
+
86
+ > audit PASS 由 152 降至 150 —— 上游有意删除的两个「集成」节里各有 `superpowers:` 引用,Category 4b 因此少 2 项检查;引用集已核对与上游一致。
87
+
88
+ ---
89
+
9
90
  ## v1.7.5 (2026-08-07)
10
91
 
11
92
  对齐上游 v6.2.0 的 **B 块 + D 块**([#19](https://github.com/jnMetaCode/superpowers-zh/issues/19))。
@@ -87,6 +87,12 @@ const TARGETS = [
87
87
  // 放一份小索引 —— 见 generateClineBootstrapRule / generateKiloCodeBootstrapRule。
88
88
  // 均无 global:Cline 全局 rules 在 ~/Documents/Cline/Rules(随 OS 变,Linux/WSL 还有
89
89
  // ~/Cline/Rules 回退),不是通用 --global 能可靠覆盖的路径;Kilo 全局需改 kilo.jsonc。
90
+ // Crush 遵循 Agent Skills 开放标准,项目级自动发现 .crush/skills、.agents/skills、
91
+ // .claude/skills、.cursor/skills 四个目录(其 repo 文档明示),无需任何配置。
92
+ // 因此若用户已为 Claude Code / Cursor / Codex 装过,Crush 其实已经能读到 ——
93
+ // docs 里写明了别重复装,否则 Crush 会加载两份。
94
+ // 全局:~/.config/crush/skills 是官方 docs 确认的用户级路径。
95
+ { name: 'Crush', dir: '.crush/skills', detect: ['.crush', 'crush.json', '.crush.json'], global: { dir: '.config/crush/skills', detect: '.config/crush' } },
90
96
  { name: 'Cline', dir: '.cline/skills', detect: '.clinerules' },
91
97
  { name: 'Kilo Code', dir: '.kilocode/skills', detect: ['.kilocode', '.kilo', 'kilo.jsonc'] },
92
98
  ];
@@ -581,6 +587,7 @@ const CLI_PROBES = {
581
587
  'Qwen Code': ['qwen'],
582
588
  'OpenClaw': ['openclaw'],
583
589
  'Claw Code': ['claw'],
590
+ 'Crush': ['crush'],
584
591
  'Hermes Agent': ['hermes'],
585
592
  };
586
593
 
@@ -645,6 +652,7 @@ const TOOL_ALIASES = {
645
652
  'codearts-doer': 'CodeArts',
646
653
  'huawei': 'CodeArts',
647
654
  'cline': 'Cline',
655
+ 'crush': 'Crush',
648
656
  'kilocode': 'Kilo Code',
649
657
  'kilo': 'Kilo Code',
650
658
  'kilo-code': 'Kilo Code',
@@ -0,0 +1,74 @@
1
+ # Superpowers 中文版 — Crush 安装指南
2
+
3
+ 在 [Crush](https://github.com/charmbracelet/crush)(Charm 出品的终端 AI 编程 agent)中使用 superpowers-zh 的完整指南。
4
+
5
+ ## ⚠️ 先看这一条:你可能已经装好了
6
+
7
+ Crush 遵循 **Agent Skills 开放标准**,项目级会**自动发现**下面四个目录,无需任何配置:
8
+
9
+ ```
10
+ .crush/skills .agents/skills .claude/skills .cursor/skills
11
+ ```
12
+
13
+ 也就是说 —— **如果你已经为 Claude Code、Cursor、Codex 或 Antigravity 装过 superpowers-zh,Crush 现在就已经能读到那些 skills 了。**
14
+
15
+ **这种情况下不要再装 `--tool crush`**,否则同一批 skills 会出现两份,Crush 会重复加载。先确认一下:
16
+
17
+ ```bash
18
+ ls .claude/skills .cursor/skills .agents/skills .crush/skills 2>/dev/null
19
+ ```
20
+
21
+ 只要上面任一目录里已有 20 个 skill,你就不用做任何事。
22
+
23
+ ## 快速安装
24
+
25
+ 只有在上述目录都为空时才需要装:
26
+
27
+ ```bash
28
+ cd /your/project
29
+ npx superpowers-zh --tool crush
30
+ ```
31
+
32
+ 自动检测:项目里存在 `.crush/`、`crush.json` 或 `.crush.json` 任一时会自动装 Crush。
33
+
34
+ ## 全局安装
35
+
36
+ Crush 支持通用全局安装:
37
+
38
+ ```bash
39
+ npx superpowers-zh --global --tool crush
40
+ ```
41
+
42
+ 装到 `~/.config/crush/skills/`(Windows:`%LOCALAPPDATA%\crush\skills\`),所有项目共享。
43
+
44
+ > Crush 的用户级发现路径还包括 `~/.config/agents/skills/`(与 Codex、Copilot CLI 等共用的跨运行时别名)。如果你已经用 `--global --tool codex` 装过,那批 skills 也会被 Crush 看到 —— 同样别重复装。
45
+
46
+ ## 工作原理
47
+
48
+ Crush 是 skills-only 适配:不需要 bootstrap 或规则文件。每个 skill 是一个含 `SKILL.md` 的目录,`SKILL.md` 的 frontmatter 带 `name` 与 `description`,Crush 据此按需发现并激活。
49
+
50
+ 如果你想把 skills 放在非标准位置,Crush 也支持在配置里显式声明:
51
+
52
+ ```json
53
+ {
54
+ "options": { "skill-path": ["./other-skills"] }
55
+ }
56
+ ```
57
+
58
+ 或用环境变量 `CRUSH_SKILLS_DIR` 覆盖默认目录。**我们不动你的 `crush.json`** —— 四个自动发现目录已经够用。
59
+
60
+ ## 更新 / 卸载
61
+
62
+ ```bash
63
+ npx superpowers-zh --tool crush # 更新(覆盖式,幂等)
64
+ npx superpowers-zh --uninstall # 卸载项目级
65
+ npx superpowers-zh --global --uninstall # 卸载全局
66
+ ```
67
+
68
+ 卸载只删我们装进去的 skills,**不会碰你的 `crush.json`**。
69
+
70
+ ## 获取帮助
71
+
72
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
73
+ - Crush 仓库:https://github.com/charmbracelet/crush
74
+ - Crush skills 文档:https://charmbracelet-crush.mintlify.app/configuration/skills
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
3
  "description": "AI 编程超能力中文版 — TDD、调试、代码审查等经过实战验证的工作方法论",
4
- "version": "1.7.5",
4
+ "version": "1.7.7",
5
5
  "contextFileName": "GEMINI.md"
6
6
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
- "version": "1.7.5",
3
+ "version": "1.7.7",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },
7
- "description": "AI 编程超能力中文增强版 — superpowers(250k+ ⭐)完整汉化 + 4 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI / Qoder 等 22 款工具",
7
+ "description": "AI 编程超能力中文增强版 — superpowers(250k+ ⭐)完整汉化 + 4 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI / Qoder 等 23 款工具",
8
8
  "type": "module",
9
9
  "main": ".opencode/plugins/superpowers.js",
10
10
  "bin": {
@@ -87,6 +87,7 @@ digraph brainstorming {
87
87
  - 提出 2-3 种不同的方案及其权衡
88
88
  - 以对话的方式展示选项,附上你的推荐和理由
89
89
  - 先展示你推荐的方案并解释原因
90
+ - 严格遵循 YAGNI —— 从每个方案和设计里移除不必要的功能
90
91
 
91
92
  **展示设计:**
92
93
 
@@ -140,15 +141,6 @@ digraph brainstorming {
140
141
  - 调用 writing-plans 技能创建详细的实现计划
141
142
  - 不要调用任何其他技能。writing-plans 是下一步。
142
143
 
143
- ## 核心原则
144
-
145
- - **每次一个问题** — 不要同时抛出多个问题
146
- - **优先选择题** — 在可能的情况下比开放式问题更容易回答
147
- - **严格遵循 YAGNI** — 从所有设计中移除不必要的功能
148
- - **探索替代方案** — 在做决定之前始终提出 2-3 种方案
149
- - **增量验证** — 展示设计,获得批准后再继续
150
- - **保持灵活** — 有不明确的地方就回头澄清
151
-
152
144
  ## 视觉伴侣
153
145
 
154
146
  一个基于浏览器的伴侣工具,用于在头脑风暴过程中展示原型、图表和视觉选项。它是一个工具——不是一种模式。接受伴侣意味着它可用于适合视觉呈现的问题;并不意味着每个问题都要通过浏览器。
@@ -160,15 +160,6 @@ Task("修复 tool-approval-race-conditions.test.ts 的失败")
160
160
 
161
161
  **集成:** 所有修复互相独立,无冲突,完整测试套件全部通过
162
162
 
163
- **节省的时间:** 3 个问题并行解决 vs 顺序解决
164
-
165
- ## 核心优势
166
-
167
- 1. **并行化** - 多个排查同时进行
168
- 2. **聚焦** - 每个智能体范围窄,需要跟踪的上下文少
169
- 3. **独立性** - 智能体之间互不干扰
170
- 4. **速度** - 3 个问题在 1 个问题的时间内解决
171
-
172
163
  ## 验证
173
164
 
174
165
  智能体返回后:
@@ -177,11 +168,3 @@ Task("修复 tool-approval-race-conditions.test.ts 的失败")
177
168
  3. **运行完整套件** - 验证所有修复协同工作
178
169
  4. **抽查** - 智能体可能犯系统性错误
179
170
 
180
- ## 实际效果
181
-
182
- 来自调试会话(2025-10-03):
183
- - 3 个文件中 6 个失败
184
- - 并行分派 3 个智能体
185
- - 所有排查并发完成
186
- - 所有修复成功集成
187
- - 智能体之间的更改零冲突
@@ -16,16 +16,17 @@ metadata:
16
16
 
17
17
  **开始时宣布:** "我正在使用 executing-plans 技能来实现此计划。"
18
18
 
19
- **注意:** 告诉你的人类伙伴,Superpowers 在有子代理支持时效果好得多。如果在支持子代理的平台上运行(如 Claude Code Codex),其工作质量会显著提高。如果子代理可用,请使用 superpowers:subagent-driven-development 而非此技能。
19
+ **注意:** 告诉你的人类伙伴,Superpowers 在有子代理支持时效果好得多(Claude Code、Codex CLI、Codex App、Copilot CLI 与 Gemini CLI 都算;见 `../using-superpowers/references/` 下的各平台工具参考)。如果子代理可用,请使用 superpowers:subagent-driven-development 而非此技能。
20
20
 
21
21
  ## 流程
22
22
 
23
23
  ### 步骤 1:加载并审查计划
24
24
 
25
- 1. 读取计划文件
26
- 2. 批判性审查——识别计划中的任何问题或疑虑
27
- 3. 如果有疑虑:在开始之前向你的人类伙伴提出
28
- 4. 如果没有疑虑:创建 TodoWrite 并继续
25
+ 1. 确保有一个隔离的工作区:用 superpowers:using-git-worktrees 创建一个,或者核实已有的那个
26
+ 2. 读取计划文件
27
+ 3. 批判性审查——识别计划中的任何问题或疑虑
28
+ 4. 如果有疑虑:在开始之前向你的人类伙伴提出
29
+ 5. 如果没有疑虑:创建 TodoWrite 并继续
29
30
 
30
31
  **审查时重点检查:**
31
32
  - 步骤之间是否有依赖遗漏?(A 依赖 B,但 B 排在 A 之后)
@@ -172,9 +173,3 @@ $ git commit -m "feat: 添加用户输入验证(任务 2/5)"
172
173
  - 遇到阻塞时停下来,不要猜测
173
174
  - 未经用户明确同意,绝不在 main/master 分支上开始实现
174
175
 
175
- ## 集成
176
-
177
- **必需的工作流技能:**
178
- - **superpowers:using-git-worktrees** - 必需:开始前建立隔离的工作空间
179
- - **superpowers:writing-plans** - 创建此技能要执行的计划
180
- - **superpowers:finishing-a-development-branch** - 所有任务完成后收尾开发
@@ -209,10 +209,3 @@ metadata:
209
209
 
210
210
  在 GitHub 上回复行内审查评论时,在评论线程中回复(`gh api repos/{owner}/{repo}/pulls/{pr}/comments/{id}/replies`),不要发顶层 PR 评论。
211
211
 
212
- ## 底线
213
-
214
- **外部反馈 = 待评估的建议,不是必须执行的命令。**
215
-
216
- 验证。质疑。然后实施。
217
-
218
- 不要敷衍附和。始终保持技术严谨。
@@ -10,7 +10,7 @@ metadata:
10
10
 
11
11
  # 请求代码审查
12
12
 
13
- 派遣代码审查子代理,在问题扩散之前发现它们。审查者获得的是精心组织的评估上下文——绝不是你的会话历史。这样可以让审查者专注于工作成果而非你的思考过程,同时保留你自己的上下文以便继续工作。
13
+ 派遣代码审查子代理,在问题扩散之前发现它们。审查者获得的是精心组织的评估上下文——绝不是你的会话历史。
14
14
 
15
15
  **核心原则:** 早审查,勤审查。
16
16
 
@@ -77,20 +77,12 @@ HEAD_SHA=$(git rev-parse HEAD)
77
77
  [继续任务 3]
78
78
  ```
79
79
 
80
- ## 与工作流的集成
80
+ ## 常见的合理化借口
81
81
 
82
- **子代理驱动开发:**
83
- - 每个任务完成后审查
84
- - 在问题叠加之前发现它们
85
- - 修复后再进入下一个任务
86
-
87
- **执行计划:**
88
- - 每个任务完成后或在自然 checkpoint 审查
89
- - 获取反馈,应用,继续
90
-
91
- **临时开发:**
92
- - 合并前审查
93
- - 卡住时审查
82
+ | 借口 | 现实 |
83
+ |------|------|
84
+ | "我自己看一下 diff 就行了,不用专门派审查者" | 你是协调者——在自己的会话里读 diff 会烧掉你继续推进工作所需的上下文窗口。派一个审查子智能体:diff 和评估过程都待在它的上下文里,只有结论回到你这里。 |
85
+ | "审查者需要我的全部会话历史才能理解这次改动" | 给它精心组织的上下文,绝不给会话历史。这样审查者才会盯着工作成果,而不是你的思考过程。 |
94
86
 
95
87
  ## 红线
96
88
 
@@ -12,8 +12,6 @@ metadata:
12
12
 
13
13
  ## 概述
14
14
 
15
- 随意修复既浪费时间又会引入新 bug。草率的补丁只会掩盖深层问题。
16
-
17
15
  **核心原则:** 在尝试修复之前,务必先找到根本原因。只修症状就是失败。
18
16
 
19
17
  **敷衍走流程等于违背调试的精神。**
@@ -193,6 +191,7 @@ metadata:
193
191
  - 测试现在通过了吗?
194
192
  - 其他测试没有被破坏吧?
195
193
  - 问题真的解决了吗?
194
+ - 宣称成功之前,使用 `superpowers:verification-before-completion` 技能
196
195
 
197
196
  4. **如果修复不起作用**
198
197
  - 停下来
@@ -288,14 +287,3 @@ metadata:
288
287
  - **`defense-in-depth.md`** - 找到根因后,在多个层级添加校验
289
288
  - **`condition-based-waiting.md`** - 用条件轮询替代硬编码等待时间
290
289
 
291
- **相关技能:**
292
- - **superpowers:test-driven-development** - 用于创建失败测试用例(第四阶段,第 1 步)
293
- - **superpowers:verification-before-completion** - 在宣称成功之前验证修复确实有效
294
-
295
- ## 实际效果
296
-
297
- 调试实践中的数据:
298
- - 系统化方法:15-30 分钟修复
299
- - 随意修复方法:2-3 小时反复折腾
300
- - 一次修复成功率:95% vs 40%
301
- - 引入新 bug:几乎为零 vs 经常发生
@@ -164,62 +164,12 @@ npm test / cargo test / pytest / go test ./...
164
164
  | 基线测试失败 | 报告失败 + 询问 |
165
165
  | 无 package.json/Cargo.toml | 跳过依赖安装 |
166
166
 
167
- ## 常见错误
167
+ ## 常见的合理化借口
168
168
 
169
- ### harness 对抗
170
-
171
- - **问题:** 平台已经提供隔离的情况下还在用 `git worktree add`
172
- - **修复:** 步骤 0 检测现有隔离。步骤 1a 让位给原生工具。
173
-
174
- ### 跳过检测
175
-
176
- - **问题:** 在已有的 worktree 内嵌套创建另一个 worktree
177
- - **修复:** 创建任何东西之前都先跑步骤 0
178
-
179
- ### 跳过忽略验证
180
-
181
- - **问题:** worktree 内容被跟踪,污染 git status
182
- - **修复:** 创建项目本地 worktree 前始终使用 `git check-ignore`
183
-
184
- ### 假设目录位置
185
-
186
- - **问题:** 造成不一致、违反项目约定
187
- - **修复:** 遵循优先级:明确 instructions > 现有项目本地目录 > 默认
188
-
189
- ### 带着失败的测试继续
190
-
191
- - **问题:** 无法区分新 bug 和已有问题
192
- - **修复:** 报告失败,获得明确许可后再继续
193
-
194
- ## 红线
195
-
196
- **绝不:**
197
-
198
- - 步骤 0 已检测到现有隔离时还创建 worktree
199
- - 在已有原生 worktree 工具(如 `EnterWorktree`)的情况下还用 `git worktree add`。这是 #1 错误——有就用。
200
- - 跳过步骤 1a 直接跳到步骤 1b 的 git 命令
201
- - 不验证已忽略就创建项目本地 worktree
202
- - 跳过基线测试验证
203
- - 不询问就带着失败的测试继续
204
-
205
- **始终:**
206
-
207
- - 先跑步骤 0 检测
208
- - 优先原生工具,其次 git 回退
209
- - 遵循目录优先级:明确 instructions > 现有项目本地目录 > 默认
210
- - 项目本地目录验证已忽略
211
- - 自动检测并运行项目设置
212
- - 验证测试基线干净
213
-
214
- ## 集成
215
-
216
- **被以下技能调用:**
217
-
218
- - **brainstorming**(阶段 4)- 设计通过且需要实现时必需
219
- - **subagent-driven-development** - 执行任何任务前必需
220
- - **executing-plans** - 执行任何任务前必需
221
- - 任何需要隔离工作区的技能
222
-
223
- **配合使用:**
224
-
225
- - **finishing-a-development-branch** - 工作完成后清理时必需
169
+ | 借口 | 现实 |
170
+ |------|------|
171
+ | "我显然不在 worktree 里,不用检查" | 跑步骤 0。宿主环境创建的隔离和 submodule 都能骗过肉眼;只有检测命令能定论。 |
172
+ | "`git worktree add` 比去找原生工具快" | 原生工具(如 `EnterWorktree`)掌管位置、分支和清理。绕过它是**第一大错误** —— 会造出你的宿主环境看不见也管不了的幽灵状态。 |
173
+ | "这个 worktree 目录肯定已经被忽略了" | 跑 `git check-ignore`。一个没被忽略的 worktree 目录会把整棵树提交进仓库。 |
174
+ | "目录名随便取都行" | 明确指示 > 已存在的项目内目录 > `.worktrees/` 默认值。 |
175
+ | "工作区是全新的,基线测试可以先放放" | 基线不干净会让之后每一次失败都含义不明。现在就跑测试;越过失败继续是你人类伙伴的决定。 |
@@ -12,8 +12,6 @@ metadata:
12
12
 
13
13
  ## 概述
14
14
 
15
- 在没有验证的情况下宣称工作完成,这不是高效,而是不诚实。
16
-
17
15
  **核心原则:** 始终用证据支撑结论。
18
16
 
19
17
  **对这条规则敷衍了事,就等于违背了它的精神。**
@@ -110,15 +108,6 @@ metadata:
110
108
  ❌ 信任代理报告
111
109
  ```
112
110
 
113
- ## 为什么这很重要
114
-
115
- 来自 24 次失败记录:
116
- - 搭档说"我不信你"——信任被破坏
117
- - 未定义的函数被交付——会直接崩溃
118
- - 遗漏需求被交付——功能不完整
119
- - 虚假完成浪费的时间 → 返工 → 重做
120
- - 违反原则:"诚实是核心价值。如果你说谎,就会被替换。"
121
-
122
111
  ## 何时使用
123
112
 
124
113
  **以下情况之前必须使用:**
@@ -135,10 +124,3 @@ metadata:
135
124
  - 暗示成功
136
125
  - 任何传达完成/正确性的沟通
137
126
 
138
- ## 底线
139
-
140
- **验证没有捷径。**
141
-
142
- 运行命令。阅读输出。然后才能宣称结果。
143
-
144
- 这没有商量余地。
@@ -118,12 +118,6 @@ git commit -m "feat: add specific feature"
118
118
  - 只描述做什么而不展示怎么做的步骤(代码步骤必须有代码块)
119
119
  - 引用了未在任何任务中定义的类型、函数或方法
120
120
 
121
- ## 注意事项
122
- - 始终使用精确的文件路径
123
- - 每个步骤都包含完整代码——如果步骤涉及代码变更,就展示代码
124
- - 精确的命令和预期输出
125
- - DRY、YAGNI、TDD、频繁 commit
126
-
127
121
  ## 自检
128
122
 
129
123
  编写完整计划后,以全新视角审视规格并对照检查计划。这是你自己执行的检查清单——不是子代理调度。
@@ -648,12 +648,3 @@ helper1、helper2、step3、pattern4
648
648
 
649
649
  **为此流程优化** - 把可搜索的术语放在前面和各处。
650
650
 
651
- ## 总结
652
-
653
- **创建技能就是流程文档的 TDD。**
654
-
655
- 同样的铁律:没有失败的测试就不写技能。
656
- 同样的循环:红(基线)→ 绿(写技能)→ 重构(堵漏洞)。
657
- 同样的好处:更高的质量、更少的意外、无懈可击的结果。
658
-
659
- 如果你对代码遵循 TDD,对技能也应如此。这是同样的纪律应用于文档。