superpowers-zh 1.3.0 → 1.5.0

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 等 17 款工具",
3
+ "description": "AI 编程超能力中文增强版:20 个 skills,支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 18 款工具",
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 翻译 + 6 中国原创),支持 Claude Code / Hermes Agent / Cursor / Claw Code 等 17 款工具",
12
- "version": "1.3.0",
11
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 18 款工具",
12
+ "version": "1.5.0",
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 翻译 + 6 中国原创),支持 Claude Code / Hermes Agent / Cursor / Claw Code 等 17 款工具",
4
- "version": "1.3.0",
3
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 18 款工具",
4
+ "version": "1.5.0",
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.3.0",
3
+ "version": "1.5.0",
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 翻译 + 6 中国原创),支持 Cursor / Claude Code / Hermes Agent / Claw Code 等 17 款工具",
5
- "version": "1.3.0",
4
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Cursor / Claude Code / Hermes Agent / Claw Code / Qoder 18 款工具",
5
+ "version": "1.5.0",
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 一条命令支持 17 款 IDE/CLI)。
112
+ 本仓库 `jnMetaCode/superpowers-zh` 是上游 `obra/superpowers` 的**中文增强 fork**,定位为:完整翻译上游 skill + 叠加 4 个中国原创 skill(chinese-code-review / chinese-commit-conventions / chinese-documentation / chinese-git-workflow)+ 多工具适配(npx 一条命令支持 18 款 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
  🌐 **简体中文** | [English (upstream)](https://github.com/obra/superpowers)
4
4
 
5
- > 🦸 **superpowers(159k+ ⭐)完整汉化 + 6 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI 等 **17 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
5
+ > 🦸 **superpowers(159k+ ⭐)完整汉化 + 4 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Qoder 等 **18 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
6
6
 
7
- Chinese community edition of [superpowers](https://github.com/obra/superpowers) — 20 skills across 16 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 18 AI coding tools, including full translations and China-specific development skills.
8
8
 
9
9
  <!-- 效果对比 -->
10
10
  <table>
@@ -38,12 +38,13 @@ AI:在开始实现之前,我需要了解几个关键问题:
38
38
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
39
39
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://makeapullrequest.com)
40
40
 
41
+ > 📖 **配套阅读**:[《AI 编程实战 · 方法论三卷书》](https://book.aibuzhiyu.com/) — 10 个 AI 编程工具完整教程 + 真实踩坑 · superpowers 装好之后,配上方法论效率翻倍 · 在线书 + PDF · 永久免费
41
42
 
42
43
  ### 📊 项目规模
43
44
 
44
45
  | 📦 翻译 Skills | 🇨🇳 中国特色 Skills | 🤖 支持工具 |
45
46
  |:---:|:---:|:---:|
46
- | **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** |
47
+ | **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** |
47
48
 
48
49
  ---
49
50
 
@@ -58,9 +59,9 @@ AI:在开始实现之前,我需要了解几个关键问题:
58
59
  | 维度 | superpowers(英文上游) | superpowers-zh(中文增强版) |
59
60
  |------|----------------------|---------------------------|
60
61
  | ⭐ Star 数 | 159k+ | — |
61
- | 📦 Skills 总数 | 14 | **20**(14 翻译 + 6 国产原创) |
62
+ | 📦 Skills 总数 | 14 | **20**(14 翻译 + 4 国产原创 + 2 上游历史保留) |
62
63
  | 🌐 语言 | 英文 | 中文(技术术语保留英文) |
63
- | 🤖 **支持工具** | **6 款**:Claude Code / Cursor / Codex / OpenCode / Copilot CLI / Gemini CLI | **17 款**:上述 6 款 + Hermes Agent / Trae / Kiro / Qwen Code(通义灵码)/ OpenClaw / Claw Code / Antigravity / DeerFlow / VS Code / Windsurf / Aider |
64
+ | 🤖 **支持工具** | **6 款**:Claude Code / Cursor / Codex / OpenCode / Copilot CLI / Gemini CLI | **18 款**:上述 6 款 + Hermes Agent / Trae / Kiro / Qwen Code(通义灵码)/ OpenClaw / Claw Code / Antigravity / DeerFlow / VS Code / Windsurf / Aider / Qoder |
64
65
  | ⚡ **安装方式** | 按工具分别装(每款一条不同的 plugin marketplace 命令) | **`npx superpowers-zh` 一条命令自动识别项目里的工具并安装**;识别不出可 `--tool <name>` 显式指定 |
65
66
  | 🇨🇳 Git 平台 | GitHub 为主 | GitHub + Gitee + Coding + 极狐 GitLab + **CNB(腾讯云原生构建)** |
66
67
  | 🇨🇳 CI/CD 示例 | GitHub Actions | GitHub Actions + Gitee Go + Coding CI + 极狐 CI + `.cnb.yml` |
@@ -74,9 +75,9 @@ AI:在开始实现之前,我需要了解几个关键问题:
74
75
  | 💬 社区 | Discord | 微信公众号「AI不止语」+ 微信群 + QQ 群 |
75
76
  | 📜 License | MIT | MIT |
76
77
 
77
- **一句话总结:** 英文上游 = 方法论内核;中文增强版 = 方法论内核 **+** 17 款工具一键适配 **+** 国内 Git/CI 生态 **+** 中文化表达习惯。
78
+ **一句话总结:** 英文上游 = 方法论内核;中文增强版 = 方法论内核 **+** 18 款工具一键适配 **+** 国内 Git/CI 生态 **+** 中文化表达习惯。
78
79
 
79
- ### 🤖 支持 17 款主流 AI 编程工具
80
+ ### 🤖 支持 18 款主流 AI 编程工具
80
81
 
81
82
  | 工具 | 类型 | 一键安装 | 手动安装 |
82
83
  |------|------|:---:|:---:|
@@ -97,6 +98,7 @@ AI:在开始实现之前,我需要了解几个关键问题:
97
98
  | [Qwen Code](https://tongyi.aliyun.com/lingma) (通义灵码) | IDE 插件 | `npx superpowers-zh` | `.qwen/skills/` |
98
99
  | [Antigravity](https://github.com/anthropics/antigravity) | CLI | `npx superpowers-zh` | `.antigravity/skills/` |
99
100
  | [Claw Code](https://github.com/ultraworkers/claw-code) | CLI (Rust) | `npx superpowers-zh` | `.claw/skills/` |
101
+ | [Qoder](https://qoder.com) (阿里 AI IDE) | IDE | `npx superpowers-zh` | `.qoder/skills/` + `.qoder/rules/` |
100
102
 
101
103
  > 运行 `npx superpowers-zh` 会自动检测你项目中使用的工具,将 20 个 skills 安装到正确位置。
102
104
 
@@ -146,7 +148,15 @@ npx superpowers-zh
146
148
 
147
149
  > ⚠️ **不要在主目录(`~`)下跑**。v1.2.1 起会拒绝并提示,老版本会把 skills 和 `CLAUDE.md` 等 bootstrap 文件写到你的 home 目录,污染所有项目。如已误装见下文「卸载 / 误装清理」。
148
150
 
149
- ### 方式二:手动安装
151
+ ### 方式二:手动安装(low-fidelity,仅作备选)
152
+
153
+ > ⚠️ **手动 `cp -r skills` 是低保版安装,不等同于完整 plugin。**
154
+ >
155
+ > superpowers-zh 是一个完整 plugin,包含:`skills/`(20 个能力)+ `hooks/`(SessionStart 钩子,让 skill 在合适时机自动触发)+ `CLAUDE.md` / `GEMINI.md` 等 bootstrap 引导文件 + 4 套 plugin manifest(Claude Code / Cursor / Codex / Marketplace)。
156
+ >
157
+ > **下面的 `cp -r skills` 命令只复制 skills 目录**,不会自动配置 hooks、不会生成 bootstrap 引导。结果:skills 物理上存在,但 AI 不会在合适时机自动调用,需要你每次手动喊 "use brainstorming skill" 之类。
158
+ >
159
+ > **强烈推荐用方式一 `npx superpowers-zh`** —— 它会一键处理 skills 复制 + bootstrap 生成 + hooks 配置 + 工具特定适配。仅在 npx 不可用(极端无网络环境)时才退到手动。
150
160
 
151
161
  ```bash
152
162
  # 克隆仓库
@@ -169,6 +179,7 @@ cp -r superpowers-zh/skills /your/project/.aider/skills # Aider
169
179
  cp -r superpowers-zh/skills /your/project/.opencode/skills # OpenCode
170
180
  cp -r superpowers-zh/skills /your/project/.qwen/skills # Qwen Code
171
181
  cp -r superpowers-zh/skills /your/project/.claw/skills # Claw Code(Rust 版)
182
+ cp -r superpowers-zh/skills /your/project/.qoder/skills # Qoder(阿里 AI IDE)
172
183
  ```
173
184
 
174
185
  ### 方式三:在配置文件中引用
@@ -194,8 +205,9 @@ cp -r superpowers-zh/skills /your/project/.claw/skills # Claw Code(Rust
194
205
  | Hermes Agent | `.hermes/skills/*/SKILL.md` | 项目级 skills 目录 |
195
206
  | Qwen Code | `.qwen/skills/*/SKILL.md` | 项目级 skills 目录 |
196
207
  | Claw Code | `.claw/skills/*/SKILL.md` | Rust 版 CLI agent,兼容 Claude Code 的 SKILL.md 格式 |
208
+ | Qoder | `.qoder/skills/*/SKILL.md` + `.qoder/rules/superpowers-zh.md` | 阿里 AI IDE,自动生成 `trigger: always_on` 的 bootstrap rule |
197
209
 
198
- > **详细安装指南**:[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)
210
+ > **详细安装指南**:[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)
199
211
 
200
212
  ### 卸载 / 误装清理(v1.2.1+)
201
213
 
@@ -207,7 +219,7 @@ npx superpowers-zh@latest --uninstall
207
219
  会做这些:
208
220
 
209
221
  - 删除所有装过的 skill 目录(`.claude/skills/`、`.trae/skills/` 等)
210
- - 删除独立 bootstrap 文件(`.trae/rules/superpowers-zh.md`、`.antigravity/rules.md`)
222
+ - 删除独立 bootstrap 文件(`.trae/rules/superpowers-zh.md`、`.qoder/rules/superpowers-zh.md`、`.antigravity/rules.md`)
211
223
  - 清理追加到 `CLAUDE.md` / `HERMES.md` / `GEMINI.md` / `CONVENTIONS.md` 里的 superpowers-zh 段,**保留你自己写的内容**
212
224
 
213
225
  数据安全说明:v1.2.1 起,安装会把追加内容包在 `<!-- superpowers-zh:begin/end -->` 哨兵注释之间,卸载按哨兵精确切除。识别不可靠时跳过 + 警告,**绝不会误删用户内容**。
@@ -252,7 +264,7 @@ npx superpowers-zh@latest --uninstall
252
264
 
253
265
  ## 🌟 相关项目生态
254
266
 
255
- **五个项目组合使用,覆盖 AI 编程从"方法论 角色 → 协作 → 教程 → 安全"的完整链路。**
267
+ **六个项目组合使用,覆盖 AI 编程 + AI 视频创作的完整链路。**
256
268
 
257
269
  | 项目 | 定位 | 一句话 |
258
270
  |------|------|-------|
@@ -261,6 +273,7 @@ npx superpowers-zh@latest --uninstall
261
273
  | **[agency-orchestrator](https://github.com/jnMetaCode/agency-orchestrator)** | 🚀 编排引擎 | 一句话 → 211 专家协作,**几分钟出方案**(9 家 LLM / 6 免费) |
262
274
  | **[ai-coding-guide](https://github.com/jnMetaCode/ai-coding-guide)** | 📖 实战教程 | 66 个 Claude Code 技巧 + 9 款工具最佳实践 + 配置模板 |
263
275
  | **[shellward](https://github.com/jnMetaCode/shellward)** | 🛡️ 安全中间件 | 8 层防御 + DLP 数据流 + 注入检测,**零依赖**(含 MCP Server) |
276
+ | 🆕 **[ai-shortfilm-prompts](https://github.com/jnMetaCode/ai-shortfilm-prompts)** | 🎬 视频提示词 | Mx-Shell《丧尸清道夫》5 段式方法论 + Skill,Seedance / 小云雀 / Sora / 可灵 / 即梦通用 |
264
277
 
265
278
  ---
266
279
 
@@ -294,7 +307,7 @@ MIT License — 自由使用,商业或个人均可。
294
307
 
295
308
  <div align="center">
296
309
 
297
- **🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor / Claw Code 等 17 款工具真正会干活**
310
+ **🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 18 款工具真正会干活**
298
311
 
299
312
  [Star 本项目](https://github.com/jnMetaCode/superpowers-zh) · [提交 Issue](https://github.com/jnMetaCode/superpowers-zh/issues) · [贡献代码](https://github.com/jnMetaCode/superpowers-zh/pulls)
300
313
 
@@ -6,6 +6,135 @@
6
6
 
7
7
  ---
8
8
 
9
+ ## v1.5.0 (2026-05-21)
10
+
11
+ ### 🆕 Qoder 适配(第 18 款工具,#26、#34)
12
+
13
+ Qoder 是阿里推出的 AI IDE,社区有多个用户提需求要求支持。本版本完成端到端适配:
14
+
15
+ - `bin/superpowers-zh.js` — `TARGETS` 加 Qoder(`dir: .qoder/skills`,`detect: .qoder`),`TOOL_ALIASES` 加 `qoder`
16
+ - `generateQoderBootstrap()` — 生成 `.qoder/rules/superpowers-zh.md`(`trigger: always_on` + `alwaysApply: true`),让"先头脑风暴 / 先 TDD / 先验证"等核心规则每个会话自动加载,**不依赖模型对 description 的隐式匹配**
17
+ - `skills/using-superpowers/references/qoder-tools.md` — 新增工具映射 reference(Qoder 大部分工具与 Claude Code 同名,只有 `EnterPlanMode/ExitPlanMode` → `EnterSpecMode/ExitSpecMode` 一个差异;附 Quest MCP 工具清单)
18
+ - `docs/README.qoder.md` — 完整安装/使用/卸载/故障排查指南
19
+ - `scripts/audit.sh` — `TOOLS` 数组加 qoder,CI 自动跑 18 款工具的 install/idempotent/uninstall 回归
20
+
21
+ **安装方法:**
22
+
23
+ ```bash
24
+ cd /your/qoder-project
25
+ npx superpowers-zh --tool qoder # 显式
26
+ # 或在有 .qoder/ 的项目里:
27
+ npx superpowers-zh # 自动检测
28
+ ```
29
+
30
+ 装完重启 Qoder,输入 `/` 即可看到 20 个 skill。
31
+
32
+ ### ⚠️ Qoder Rules schema 来源说明
33
+
34
+ Qoder Rules 的 frontmatter schema(`trigger: always_on` / `model_decision` / `manual`)**官方文档(docs.qoder.com/zh/user-guide/rules)目前未公开**。本次实现的 schema 来自 GitHub 上 4 份真实社区样本(`python-office`、`termiClaude`、`QoderTest`、`TelegramFileServer`)的交叉验证。
35
+
36
+ 如果 Qoder 后续改了 schema,生成的 rule 文件可能需要打开 Qoder Settings → Rules 重新选择"始终生效"类型。
37
+
38
+ ### 🔧 文案对齐
39
+
40
+ - README、CLAUDE.md、package.json description:17 款 → 18 款
41
+ - 3 个 plugin manifest(`.claude-plugin/{plugin,marketplace}.json`、`.cursor-plugin/plugin.json`)description 同步
42
+
43
+ ### 设计取舍:为什么用 always_on bootstrap 而非裸 skill
44
+
45
+ 社区有用户(@Yanyz-ok)建议"按 AI 编程工具拆分/重写 skill"。我们刻意**不走这条路**:
46
+
47
+ 1. **skill 是工作方法论,不是工具实现** —— "先写测试再写代码"这个约束在 Claude Code、Qoder、Hermes 上落地工具不同,但方法论不变。重写会让 17 份 SKILL.md 维护负担 ×17 但本质增量 0。
48
+ 2. **平台内置工具 vs skill 是嵌套关系,不是替代关系** —— Qoder/Quest 的 `search_codebase`、`update_memory` 解决"怎么做",skill 解决"什么时候做",模型不会混淆。
49
+ 3. **上游 superpowers 明确禁止"无 eval 证据的工具专属重写"** —— fork 守同样规矩。
50
+
51
+ 工具映射写在 `references/qoder-tools.md` + `docs/README.qoder.md` 里就够了,不需要每个 skill 内部复制一遍。详见 issue #26 完整讨论。
52
+
53
+ ### Refs
54
+
55
+ - closes #26(建议新增 qoder 的支持)
56
+ - closes #34(建议支持 qoder,#26 重复)
57
+
58
+ ---
59
+
60
+ ## v1.4.0 (2026-05-12)
61
+
62
+ 本版本核心目标:**修复全量质量审计发现的所有上游漂移 P0 缺陷**。改动全部是"主站有的同步过来"性质,不引入主站没有的新功能。
63
+
64
+ ### 🔴 上游同步:v5.0.6 brainstorm server 拆分(PR #30)
65
+
66
+ 上游 v5.0.6(commit 9e3ed21)把 brainstorm server 的内容目录拆成 `CONTENT_DIR` + `STATE_DIR` peer 结构,但我们的 server 脚本还停在旧 `SCREEN_DIR` 单目录版本,导致 visual brainstorming 教程指向新路径但 server 用旧结构卡死。
67
+
68
+ - `skills/brainstorming/scripts/server.cjs` — 81 行 cherry-pick 同步
69
+ - `skills/brainstorming/scripts/start-server.sh` — 36 行同步
70
+ - `skills/brainstorming/scripts/stop-server.sh` — 29 行同步
71
+
72
+ **修复后:所有 visual brainstorming 用户路径解析正常。**
73
+
74
+ ### 🔴 上游同步:v5.1.0 Code Review 整合(PR #30)
75
+
76
+ 上游 v5.1.0 PR #1299 把 reviewer persona + checklist + dispatch 模板整合到单一 `code-reviewer.md` 实现 self-contained,并把 SKILL.md 里的 `superpowers:code-reviewer` 命名子代理引用改成 `general-purpose` Task + 模板路径形式。我们的版本停留在 v5.0.x 拆分式。
77
+
78
+ - `skills/requesting-code-review/SKILL.md` 改 4 处:3 处 `superpowers:code-reviewer` 引用清零;占位符从 5 个精简到 4 个对齐上游;"执行计划" 集成段从 "每批(3 个任务)后审查" 改为 "每个任务完成后或在自然 checkpoint 审查"(对齐上游 v5.1.0 subagent 节奏调整)
79
+ - `skills/requesting-code-review/code-reviewer.md` 完整重写为 v5.1.0 self-contained 版(H header 6/6 对齐上游)
80
+
81
+ **修复后:所有走 review 流程的用户得到的指令指向 `general-purpose` Task 而非已废弃的命名子代理。**
82
+
83
+ ### 🔴 上游同步:v5.1.0 worktree 安全修复(PR #28)
84
+
85
+ 上游 v5.1.0 [#991](https://github.com/obra/superpowers/issues/991) 修复了两类 worktree 安全问题:subagent 嵌套创建 + cleanup 误删 harness-managed workspace。
86
+
87
+ - `skills/using-git-worktrees/SKILL.md` 全面重构:新增 Step 0 检测现有隔离(GIT_DIR/GIT_COMMON + submodule 守卫 + 同意流程);Step 1 重组为 1a Native Tools + 1b Git Worktree Fallback + 沙盒回退;删除旧"示例工作流"段(含 `/Users/jesse` 硬编码)
88
+ - `skills/finishing-a-development-branch/SKILL.md` 全面重构:新增 Step 2 检测环境(三态表);旧 Step 2-5 重编号为 3-6;Step 4 新增分离 HEAD 3 选项变体;Step 5 Option 1 重写(MAIN_ROOT cwd safety + merge→verify→cleanup→delete 严格排序);Step 6 清理范围限定在 `.worktrees/` / `worktrees/` / `~/.config/superpowers/worktrees/`,外部 harness-managed workspace 一律不动
89
+
90
+ **修复后:subagent 不再嵌套创建 worktree;清理不会误删 harness-managed workspace。**
91
+
92
+ ### 🔴 平台兼容性修复:Windows Cursor hook 回归(PR #30)
93
+
94
+ `hooks/hooks-cursor.json` 的 command 之前被本地改成直接调 unix shell `./hooks/session-start`,丢失上游的 polyglot wrapper `./hooks/run-hook.cmd session-start`,Windows + Cursor 组合用户 hook 完全不触发。
95
+
96
+ - 1 行恢复上游 polyglot wrapper
97
+
98
+ **修复后:Windows Cursor 用户 hook 正常触发。**
99
+
100
+ ### 🆕 防回归基建:CI 自动漂移检测(PR #31)
101
+
102
+ 新增 `scripts/audit.sh` + `.github/workflows/audit.yml`,每次 PR 自动跑 4 类共 90+ 项检查:
103
+
104
+ 1. 静态校验(JSON parse / SKILL.md frontmatter / symlink / hook 可执行性)
105
+ 2. Installer 功能(17 款工具装/重装/卸载全跑)
106
+ 3. 上游对齐(hooks 4 文件 + brainstorm scripts 3 文件 + 14 翻译 skill 结构层级 + code-reviewer.md self-contained 结构)
107
+ 4. 交叉引用(README → docs/ 链接 + skill 间引用 + 装完后 .claude/skills/using-superpowers/SKILL.md 路径解析)
108
+
109
+ WARN(不阻塞)vs FAIL(阻塞)分级:本次"4 个 P0 漂"事件如果当时有这个 audit 在 CI 跑,PR 阶段就会被拦下。
110
+
111
+ **未来意义:维护者下次手抖把 `hooks-cursor.json` 改坏 / 上游同步漏一项,CI 立刻拦下。**
112
+
113
+ ### 🔧 工具链小修
114
+
115
+ - `scripts/sync-plugin-version.js` 加入 `gemini-extension.json`(之前漏掉,导致 gemini extension manifest 卡在 1.1.6 老版本)
116
+ - `package.json` 的 `version` 钩子 git add 列表同步更新
117
+
118
+ ### 安装路径方针澄清
119
+
120
+ 本版本明确:**有官方 plugin marketplace 的工具(Claude Code / Codex CLI / OpenCode / VS Code)首选 marketplace 路径**,npx `superpowers-zh` 主要服务没有 marketplace 的工具(Cursor / Trae / Kiro / Gemini CLI / Hermes / Aider / Antigravity / Windsurf / Qwen / Claw / OpenClaw / DeerFlow 共 13 款)。fork 不再尝试给 marketplace 工具加 npx 路径的"完整支持"——它们走主站路径即可。
121
+
122
+ ### 不在本版本范围
123
+
124
+ - `executing-plans/SKILL.md` 我们扩写了 105 行中文示例(主动选择,保留——是 fork 的中文优化,非漂移)
125
+ - `using-superpowers/SKILL.md` 的"中国特色技能路由"段(fork 增量,保留)
126
+ - 各 reviewer-prompt.md 翻译差异(结构对齐,纯翻译漂移,无行为 bug)
127
+ - open issues #18/#21/#26/#20(fork 增量需求,按方针延后)
128
+
129
+ ### Refs
130
+
131
+ - PR #28(worktree 安全修复)
132
+ - PR #30(brainstorm scripts + code-reviewer 整合 + hooks-cursor + SKILL.md 引用)
133
+ - PR #31(audit script + CI workflow)
134
+ - issue #19 跟踪上游 v5.0.6 / v5.1.0 同步 → 关键项目全部覆盖
135
+
136
+ ---
137
+
9
138
  ## v1.3.0 (2026-05-10)
10
139
 
11
140
  ### 跟上游对齐 (v5.1.0)
@@ -63,6 +63,7 @@ const TARGETS = [
63
63
  { name: 'Qwen Code', dir: '.qwen/skills', detect: '.qwen' },
64
64
  { name: 'Hermes Agent', dir: '.hermes/skills', detect: ['.hermes', 'HERMES.md', '.hermes.md'] },
65
65
  { name: 'Claw Code', dir: '.claw/skills', detect: ['.claw', 'CLAW.md'] },
66
+ { name: 'Qoder', dir: '.qoder/skills', detect: '.qoder' },
66
67
  ];
67
68
 
68
69
  function countDirs(dir) {
@@ -141,6 +142,51 @@ ${skillTable}
141
142
  console.log(` ✅ Trae: bootstrap rule -> ${rulePath}`);
142
143
  }
143
144
 
145
+ function generateQoderBootstrap(projectDir) {
146
+ const rulesDir = resolve(projectDir, '.qoder', 'rules');
147
+ mkdirSync(rulesDir, { recursive: true });
148
+
149
+ const skillEntries = scanSkillEntries(SKILLS_SRC);
150
+ const skillTable = skillEntries.map(s => `| ${s.name} | ${s.desc} |`).join('\n');
151
+
152
+ // Qoder rules schema(来源:社区实际样本,docs.qoder.com/zh/user-guide/rules 没公开)
153
+ // trigger: always_on → "始终生效",适用于所有智能会话和内联对话
154
+ // trigger: model_decision + description: ... → 模型按描述自主决定
155
+ // trigger: manual → 仅 @rule 手动触发
156
+ const rule = `---
157
+ trigger: always_on
158
+ alwaysApply: true
159
+ ---
160
+
161
+ # Superpowers-ZH 中文增强版
162
+
163
+ 你已加载 superpowers-zh 技能框架(${skillEntries.length} 个 skills)。
164
+
165
+ ## 核心规则
166
+
167
+ 1. **收到任务时,先检查是否有匹配的 skill** — 哪怕只有 1% 的可能性也要检查
168
+ 2. **设计先于编码** — 收到功能需求时,先用 brainstorming skill 做需求分析
169
+ 3. **测试先于实现** — 写代码前先写测试(TDD)
170
+ 4. **验证先于完成** — 声称完成前必须运行验证命令
171
+
172
+ ## 可用 Skills
173
+
174
+ Skills 位于 \`.qoder/skills/\` 目录,每个 skill 有独立的 \`SKILL.md\` 文件。
175
+
176
+ | Skill | 触发条件 |
177
+ |-------|---------|
178
+ ${skillTable}
179
+
180
+ ## 如何使用
181
+
182
+ 当任务匹配某个 skill 的触发条件时,读取对应的 \`.qoder/skills/<skill-name>/SKILL.md\` 并严格遵循其流程。也可输入 \`/<skill-name>\` 显式调用。
183
+ `;
184
+
185
+ const rulePath = resolve(rulesDir, 'superpowers-zh.md');
186
+ writeFileSync(rulePath, rule, 'utf8');
187
+ console.log(` ✅ Qoder: bootstrap rule -> ${rulePath}`);
188
+ }
189
+
144
190
  function generateAntigravityBootstrap(projectDir) {
145
191
  const skillEntries = scanSkillEntries(SKILLS_SRC);
146
192
  const skillList = skillEntries.map(s => `- **${s.name}**: ${s.desc}`).join('\n');
@@ -385,6 +431,7 @@ const TOOL_ALIASES = {
385
431
  'claw': 'Claw Code',
386
432
  'claw-code': 'Claw Code',
387
433
  'clawcode': 'Claw Code',
434
+ 'qoder': 'Qoder',
388
435
  };
389
436
 
390
437
  function showHelp() {
@@ -437,6 +484,10 @@ function installForTarget(target) {
437
484
  generateTraeBootstrapRule(PROJECT_DIR);
438
485
  }
439
486
 
487
+ if (target.name === 'Qoder') {
488
+ generateQoderBootstrap(PROJECT_DIR);
489
+ }
490
+
440
491
  if (target.name === 'Antigravity') {
441
492
  generateAntigravityBootstrap(PROJECT_DIR);
442
493
  }
@@ -469,6 +520,7 @@ function isHomeDir(p) {
469
520
  // 卸载支持:完整删除的 bootstrap 文件、需要清理段落的 bootstrap 文件
470
521
  const BOOTSTRAP_DELETE = [
471
522
  '.trae/rules/superpowers-zh.md',
523
+ '.qoder/rules/superpowers-zh.md',
472
524
  '.antigravity/rules.md',
473
525
  ];
474
526
  const BOOTSTRAP_CLEAN_SECTION = [
@@ -62,11 +62,14 @@ OpenClaw 与 Claude Code 使用相同的工具名称,skills 无需额外适配
62
62
 
63
63
  ## 使用
64
64
 
65
- 安装完成后重启 OpenClaw,所有 skills 会自动生效。你可以:
65
+ 安装完成后重启 OpenClaw,所有 skills 会自动生效。AI 会按任务上下文自动调用对应 skill:
66
66
 
67
- - 输入 `/brainstorming` 开始头脑风暴
68
- - 输入 `/commit` 使用中文提交规范
69
- - 在任何编码任务中,skills 会被自动调用
67
+ - 新任务 / 新功能 → `brainstorming`(头脑风暴)
68
+ - commit message → `chinese-commit-conventions`(中文 commit 规范)
69
+ - 调试问题 → `systematic-debugging`
70
+ - 完成任务后 → `requesting-code-review`(请求代码审查)
71
+
72
+ 无需手动 slash command 触发 —— AI 通过 skill frontmatter 的 `description` 字段自主选择匹配的 skill。如果想强制触发某个 skill,直接在指令里点名:"用 brainstorming 帮我想一下 X 怎么做"。
70
73
 
71
74
  ## 全局 Skills
72
75
 
@@ -0,0 +1,95 @@
1
+ # Superpowers 中文版 — Qoder 安装指南
2
+
3
+ 在 [Qoder](https://qoder.com)(阿里推出的 AI IDE)中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 自动安装
6
+
7
+ ```bash
8
+ cd /your/project
9
+ npx superpowers-zh
10
+ ```
11
+
12
+ 安装脚本会自动检测 `.qoder/` 目录并:
13
+
14
+ 1. 把 20 个 skills 复制到 `.qoder/skills/<name>/SKILL.md`
15
+ 2. 生成一个**始终生效**的 bootstrap rule `.qoder/rules/superpowers-zh.md`(`trigger: always_on`),让 Qoder 每个会话都加载核心规则与 skill 索引
16
+
17
+ 如果项目目录里还没有 `.qoder/`,可以显式指定:
18
+
19
+ ```bash
20
+ npx superpowers-zh --tool qoder
21
+ ```
22
+
23
+ ## 手动安装
24
+
25
+ ```bash
26
+ git clone https://github.com/jnMetaCode/superpowers-zh.git
27
+ cp -r superpowers-zh/skills /your/project/.qoder/skills
28
+ ```
29
+
30
+ 或全局安装(对所有项目生效):
31
+
32
+ ```bash
33
+ cp -r superpowers-zh/skills ~/.qoder/skills
34
+ ```
35
+
36
+ ## Skill 加载优先级
37
+
38
+ | 位置 | 优先级 | 说明 |
39
+ |------|--------|------|
40
+ | `.qoder/skills/` | 最高 | 项目级,仅当前项目 |
41
+ | `~/.qoder/skills/` | 中 | 用户级,所有项目共享 |
42
+
43
+ > 同名 skill 项目级覆盖用户级。
44
+
45
+ ## 使用
46
+
47
+ 1. 安装完成后**重启 Qoder**
48
+ 2. 在对话框输入 `/` 即可看到已加载的 skills 列表
49
+ 3. bootstrap rule(`.qoder/rules/superpowers-zh.md`)会被 Qoder 识别为"始终生效",每个会话自动加载核心规则
50
+ 4. Qoder 还会根据 skill 的 `description` 自动判断何时调用;也可输入 `/<skill-name>` 手动触发
51
+
52
+ > Qoder Rules schema(`trigger: always_on` / `model_decision` / `manual`)来自社区实际样本,官方文档(docs.qoder.com/zh/user-guide/rules)目前只公开 UI 配置流程未公开 frontmatter schema。如果 Qoder 后续改了 schema,rule 文件可能需要打开 Qoder Settings → Rules 重新选择类型。
53
+
54
+ ## 工具映射说明
55
+
56
+ skills 中引用的 Claude Code 工具名称(`Read` / `Write` / `Edit` / `Bash` / `Grep` / `Glob` / `WebFetch` / `WebSearch` 等)在 Qoder 中**同名对应**,无需额外映射。
57
+
58
+ 少数差异:
59
+
60
+ | Claude Code | Qoder 等价 |
61
+ |-------------|-----------|
62
+ | `EnterPlanMode` / `ExitPlanMode` | `EnterSpecMode` / `ExitSpecMode` |
63
+ | `Task`(子 agent) | `Task`(支持 `explore-agent` / `plan-agent` / `qoder-guide` 等 agent 类型)|
64
+ | `TodoWrite` | `TodoWrite` |
65
+
66
+ > Skill 是工作方法论,不是工具实现 —— 即使工具名略有差异,模型也会自动选用最近似的 Qoder 工具完成。无需为 Qoder 重写 skill。
67
+
68
+ ## 故障排查
69
+
70
+ ### 装好了但 `/` 看不到 skills
71
+
72
+ 1. 确认 `.qoder/skills/<skill-name>/SKILL.md` 文件存在
73
+ 2. 确认 `SKILL.md` 文件的 frontmatter 完整(`name` + `description`,`description` 不超过 1024 字符)
74
+ 3. **必须重启 Qoder** —— 新装的 skill 不会热加载
75
+
76
+ ### skill 不被自动调用
77
+
78
+ Qoder 按 description 文本匹配用户意图来决定何时调用 skill。如果某个 skill 自动调用不可靠,可在对话中显式输入 `/<skill-name>` 手动触发。
79
+
80
+ 中国原创的 4 个 `chinese-*` skill 本身就是**手动触发**设计(避免污染上游 skill 的自动调度),需要显式 `/chinese-code-review` / `/chinese-commit-conventions` 等。
81
+
82
+ ## 卸载
83
+
84
+ ```bash
85
+ cd /your/project
86
+ npx superpowers-zh --uninstall
87
+ ```
88
+
89
+ 会移除 `.qoder/skills/` 目录下所有 superpowers-zh 装的 skill 文件夹(保留你自己写的)。
90
+
91
+ ## 获取帮助
92
+
93
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
94
+ - 项目主页:https://github.com/jnMetaCode/superpowers-zh
95
+ - Qoder 官方文档:https://docs.qoder.com/zh/extensions/skills
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
3
  "description": "AI 编程超能力中文版 — TDD、调试、代码审查等经过实战验证的工作方法论",
4
- "version": "1.1.6",
4
+ "version": "1.5.0",
5
5
  "contextFileName": "GEMINI.md"
6
6
  }
@@ -3,7 +3,7 @@
3
3
  "hooks": {
4
4
  "sessionStart": [
5
5
  {
6
- "command": "./hooks/session-start"
6
+ "command": "./hooks/run-hook.cmd session-start"
7
7
  }
8
8
  ]
9
9
  }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },
7
- "description": "AI 编程超能力中文增强版 — superpowers(99k+ ⭐)完整汉化 + 6 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI 等 17 款工具",
7
+ "description": "AI 编程超能力中文增强版 — superpowers(159k+ ⭐)完整汉化 + 4 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI / Qoder 18 款工具",
8
8
  "type": "module",
9
9
  "main": ".opencode/plugins/superpowers.js",
10
10
  "bin": {
11
11
  "superpowers-zh": "bin/superpowers-zh.js"
12
12
  },
13
13
  "scripts": {
14
- "version": "node scripts/sync-plugin-version.js && git add .claude-plugin/plugin.json .claude-plugin/marketplace.json .cursor-plugin/plugin.json .codex-plugin/plugin.json"
14
+ "version": "node scripts/sync-plugin-version.js && git add .claude-plugin/plugin.json .claude-plugin/marketplace.json .cursor-plugin/plugin.json .codex-plugin/plugin.json gemini-extension.json"
15
15
  },
16
16
  "files": [
17
17
  "bin/",
@@ -53,6 +53,7 @@
53
53
  "hermes",
54
54
  "hermes-agent",
55
55
  "claw-code",
56
+ "qoder",
56
57
  "ai-coding",
57
58
  "skills",
58
59
  "chinese",