superpowers-zh 1.3.0 → 1.6.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.
Files changed (49) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.cursor-plugin/plugin.json +2 -2
  5. package/.pi/extensions/superpowers.ts +121 -0
  6. package/CLAUDE.md +1 -1
  7. package/README.md +77 -34
  8. package/RELEASE-NOTES.zh.md +150 -0
  9. package/assets/qr-wechat.jpg +0 -0
  10. package/assets/sponsors/5cookie-code.png +0 -0
  11. package/bin/superpowers-zh.js +69 -18
  12. package/docs/README.antigravity.md +7 -7
  13. package/docs/README.kimi.md +86 -0
  14. package/docs/README.openclaw.md +7 -4
  15. package/docs/README.pi.md +54 -0
  16. package/docs/README.qoder.md +95 -0
  17. package/docs/README.trae.md +6 -4
  18. package/gemini-extension.json +1 -1
  19. package/hooks/hooks-cursor.json +1 -1
  20. package/hooks/session-start +4 -12
  21. package/package.json +18 -5
  22. package/skills/brainstorming/SKILL.md +5 -0
  23. package/skills/brainstorming/scripts/frame-template.html +25 -26
  24. package/skills/brainstorming/scripts/helper.js +101 -22
  25. package/skills/brainstorming/scripts/server.cjs +428 -43
  26. package/skills/brainstorming/scripts/start-server.sh +76 -20
  27. package/skills/brainstorming/scripts/stop-server.sh +74 -9
  28. package/skills/chinese-code-review/SKILL.md +5 -0
  29. package/skills/chinese-commit-conventions/SKILL.md +5 -0
  30. package/skills/chinese-documentation/SKILL.md +5 -0
  31. package/skills/chinese-git-workflow/SKILL.md +5 -0
  32. package/skills/dispatching-parallel-agents/SKILL.md +5 -0
  33. package/skills/executing-plans/SKILL.md +7 -2
  34. package/skills/finishing-a-development-branch/SKILL.md +112 -32
  35. package/skills/mcp-builder/SKILL.md +5 -0
  36. package/skills/receiving-code-review/SKILL.md +5 -0
  37. package/skills/requesting-code-review/SKILL.md +13 -10
  38. package/skills/requesting-code-review/code-reviewer.md +124 -104
  39. package/skills/subagent-driven-development/SKILL.md +5 -0
  40. package/skills/systematic-debugging/SKILL.md +5 -0
  41. package/skills/test-driven-development/SKILL.md +5 -0
  42. package/skills/using-git-worktrees/SKILL.md +104 -97
  43. package/skills/using-superpowers/SKILL.md +6 -1
  44. package/skills/using-superpowers/references/pi-tools.md +28 -0
  45. package/skills/using-superpowers/references/qoder-tools.md +43 -0
  46. package/skills/verification-before-completion/SKILL.md +5 -0
  47. package/skills/workflow-runner/SKILL.md +5 -0
  48. package/skills/writing-plans/SKILL.md +5 -0
  49. package/skills/writing-skills/SKILL.md +5 -0
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  name: using-superpowers
3
3
  description: 在开始任何对话时使用——确立如何查找和使用技能,要求在任何响应(包括澄清性问题)之前调用 Skill 工具
4
+ version: "1.0.0"
5
+ license: MIT
6
+ metadata:
7
+ hermes:
8
+ tags: [meta, getting-started]
4
9
  ---
5
10
 
6
11
  <SUBAGENT-STOP>
@@ -39,7 +44,7 @@ Superpowers 技能覆盖默认系统提示行为,但**用户指令始终具有
39
44
 
40
45
  ## 平台适配
41
46
 
42
- 技能使用 Claude Code 的工具名称。非 CC 平台:查看 `references/copilot-tools.md`(Copilot CLI)、`references/hermes-tools.md`(Hermes Agent)、`references/codex-tools.md`(Codex)了解工具对应关系。Gemini CLI 用户通过 GEMINI.md 自动获得工具映射。
47
+ 技能使用 Claude Code 的工具名称。非 CC 平台:查看 `references/copilot-tools.md`(Copilot CLI)、`references/hermes-tools.md`(Hermes Agent)、`references/codex-tools.md`(Codex)、`references/qoder-tools.md`(Qoder)了解工具对应关系。Gemini CLI 用户通过 GEMINI.md 自动获得工具映射。
43
48
 
44
49
  # 使用技能
45
50
 
@@ -0,0 +1,28 @@
1
+ # Pi Tool Mapping
2
+
3
+ Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Pi these resolve to the tools below.
4
+
5
+ | Action skills request | Pi equivalent |
6
+ | --- | --- |
7
+ | Invoke a skill | Pi native skills: load the relevant `SKILL.md` with `read`, or let the human use `/skill:name` |
8
+ | Read a file | `read` |
9
+ | Create a file | `write` |
10
+ | Edit a file | `edit` |
11
+ | Run a shell command | `bash` |
12
+ | Search file contents | `grep` when active; otherwise `bash` with `rg`/`grep` |
13
+ | Find files by name | `find` or `bash` with shell globs |
14
+ | List files and subdirectories | `ls` when active; otherwise `bash` with `ls` |
15
+ | Dispatch a subagent (`Subagent (general-purpose):` template) | Use an installed subagent tool such as `subagent` from `pi-subagents` if available |
16
+ | Task tracking ("create a todo", "mark complete") | Use an installed todo/task tool if available, otherwise track tasks in the plan or `TODO.md` |
17
+
18
+ ## Skills
19
+
20
+ Pi discovers skills from configured skill directories and installed Pi packages. A Superpowers Pi package should expose `skills/` through its `pi.skills` manifest entry. Pi does not expose Claude Code's `Skill` tool, but the agent should still follow the Superpowers rule: when a skill applies, load and follow it before responding.
21
+
22
+ ## Subagents
23
+
24
+ Pi core does not ship a standard subagent tool. The `pi-subagents` package is a strong optional companion and provides a `subagent` tool with single-agent, chain, parallel, async, forked-context, and resume/status workflows. If no subagent tool is available, do not fabricate `Task` calls; execute sequentially in the current session or explain that the optional subagent capability is not installed.
25
+
26
+ ## Task lists
27
+
28
+ Pi core does not ship a standard task-list tool. If a todo/task extension is installed, use its documented tool. Otherwise use Superpowers plan files, checklists in Markdown, or a repo-local `TODO.md` for task tracking. Older Superpowers docs may refer to `TodoWrite`; treat that as the task-tracking action above.
@@ -0,0 +1,43 @@
1
+ # Qoder 工具映射
2
+
3
+ Skills 使用 Claude Code 的工具名称。Qoder(阿里 AI IDE)大部分工具与 Claude Code **同名**,只有少数差异:
4
+
5
+ | Skill 中的引用 | Qoder 等价工具 |
6
+ |---------------|---------------|
7
+ | `Read` / `Write` / `Edit` | 同名(`Read` / `Write` / `Edit`) |
8
+ | `Bash` | 同名 |
9
+ | `Grep` / `Glob` | 同名 |
10
+ | `Task`(派遣子 agent) | 同名(`Task`) |
11
+ | `WebFetch` / `WebSearch` | 同名 |
12
+ | `AskUserQuestion` | 同名 |
13
+ | `Skill` | 同名 |
14
+ | `TodoWrite` | 同名 |
15
+ | `EnterPlanMode` / `ExitPlanMode` | **`EnterSpecMode` / `ExitSpecMode`**(Qoder 把"计划模式"称为"Spec 模式")|
16
+
17
+ ## Task 子 Agent 类型
18
+
19
+ | Claude Code Agent | Qoder 等价 |
20
+ |------------------|-----------|
21
+ | `general-purpose` | `general-purpose` |
22
+ | `Explore` | `explore-agent` |
23
+ | `Plan` | `plan-agent` |
24
+ | `claude-code-guide` | `qoder-guide` |
25
+
26
+ Qoder 额外有 `browser-agent`、`code-reviewer`、`design-agent` 等专用 agent,依任务匹配选用。
27
+
28
+ ## Quest MCP 工具(Qoder 原生)
29
+
30
+ Qoder 内置 Quest 系统提供以下工具,Claude Code 没有等价物,可在 skill 流程中直接调用:
31
+
32
+ | 工具 | 用途 |
33
+ |------|------|
34
+ | `mcp__quest__search_codebase` | 语义化代码搜索(按意图找代码) |
35
+ | `mcp__quest__search_symbol` | 按符号名搜索代码及关系 |
36
+ | `mcp__quest__get_problems` | 获取文件编译/语法错误 |
37
+ | `mcp__quest__run_preview` | 启动本地 Web 服务器预览 |
38
+ | `mcp__quest__search_memory` / `update_memory` | 跨会话记忆管理 |
39
+ | `mcp__quest__fetch_rules` | 查询规则文件 |
40
+
41
+ ## 加载方式
42
+
43
+ Qoder 在每个会话自动加载 `.qoder/rules/superpowers-zh.md`(`trigger: always_on`),里面包含 skill 索引。`.qoder/skills/<name>/SKILL.md` 由模型按 description 自主调用,也可输入 `/<skill-name>` 手动触发。
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  name: verification-before-completion
3
3
  description: 在宣称工作完成、已修复或测试通过之前使用,在提交或创建 PR 之前——必须运行验证命令并确认输出后才能声称成功;始终用证据支撑断言
4
+ version: "1.0.0"
5
+ license: MIT
6
+ metadata:
7
+ hermes:
8
+ tags: [quality, verification]
4
9
  ---
5
10
 
6
11
  # 完成前验证
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  name: workflow-runner
3
3
  description: "在 Claude Code / OpenClaw / Cursor 中直接运行 agency-orchestrator YAML 工作流——无需 API key,使用当前会话的 LLM 作为执行引擎。当用户提供 .yaml 工作流文件或要求多角色协作完成任务时触发。"
4
+ version: "1.0.0"
5
+ license: MIT
6
+ metadata:
7
+ hermes:
8
+ tags: [execution, workflow]
4
9
  ---
5
10
 
6
11
  # 工作流执行器:在 AI 工具内运行多角色编排
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  name: writing-plans
3
3
  description: 当你有规格说明或需求用于多步骤任务时使用,在动手写代码之前
4
+ version: "1.0.0"
5
+ license: MIT
6
+ metadata:
7
+ hermes:
8
+ tags: [planning, documentation]
4
9
  ---
5
10
 
6
11
  # 编写计划
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  name: writing-skills
3
3
  description: 当创建新技能、编辑现有技能或在部署前验证技能是否有效时使用
4
+ version: "1.0.0"
5
+ license: MIT
6
+ metadata:
7
+ hermes:
8
+ tags: [skills, documentation]
4
9
  ---
5
10
 
6
11
  # 编写技能