superpowers-zh 1.1.1 → 1.1.2

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.
@@ -0,0 +1,65 @@
1
+ # Superpowers 中文版 — Gemini CLI 安装指南
2
+
3
+ 在 [Gemini CLI](https://github.com/google-gemini/gemini-cli) 中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 自动安装
6
+
7
+ ```bash
8
+ cd /your/project
9
+ npx superpowers-zh
10
+ ```
11
+
12
+ 安装脚本会自动检测 `.gemini/` 目录并将 skills 复制到 `.gemini/skills/` 目录。
13
+
14
+ ## 手动安装
15
+
16
+ ```bash
17
+ git clone https://github.com/jnMetaCode/superpowers-zh.git
18
+ cp -r superpowers-zh/skills /your/project/.gemini/skills
19
+ ```
20
+
21
+ 或作为 Gemini 扩展安装(全局):
22
+
23
+ ```bash
24
+ mkdir -p ~/.gemini/extensions/superpowers-zh/skills
25
+ cp -r superpowers-zh/skills/* ~/.gemini/extensions/superpowers-zh/skills/
26
+ cp superpowers-zh/gemini-extension.json ~/.gemini/extensions/superpowers-zh/
27
+ ```
28
+
29
+ ## 通过 GEMINI.md 引用
30
+
31
+ 在项目根目录的 `GEMINI.md` 中引用 skills:
32
+
33
+ ```markdown
34
+ # 工作方法论
35
+
36
+ 请参考 .gemini/skills/ 目录中的 SKILL.md 文件。
37
+ 遇到新功能开发时,先使用 brainstorming skill。
38
+ 编写代码时,遵循 test-driven-development skill。
39
+ ```
40
+
41
+ ## Skill 加载优先级
42
+
43
+ | 位置 | 优先级 | 说明 |
44
+ |------|--------|------|
45
+ | `.gemini/skills/` | 最高 | 项目级,仅当前项目 |
46
+ | `~/.gemini/extensions/*/skills/` | 中 | 扩展级,所有项目共享 |
47
+
48
+ ## 故障排查
49
+
50
+ ### Skills 未生效
51
+
52
+ 1. 确认 `.gemini/skills/` 目录存在且包含 skill 文件夹
53
+ 2. 每个 skill 需要包含有效 YAML frontmatter 的 `SKILL.md` 文件
54
+ 3. 重启 Gemini CLI
55
+
56
+ ### 扩展模式未加载
57
+
58
+ 1. 检查 `gemini-extension.json` 是否正确放在扩展目录中
59
+ 2. 确认扩展目录结构:`~/.gemini/extensions/superpowers-zh/`
60
+
61
+ ## 获取帮助
62
+
63
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
64
+ - 项目主页:https://github.com/jnMetaCode/superpowers-zh
65
+ - Gemini CLI 文档:https://github.com/google-gemini/gemini-cli
@@ -0,0 +1,69 @@
1
+ # Superpowers 中文版 — Kiro 安装指南
2
+
3
+ 在 [Kiro](https://kiro.dev)(Amazon AI IDE)中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 快速安装
6
+
7
+ ```bash
8
+ cd /your/project
9
+ npx superpowers-zh
10
+ ```
11
+
12
+ 安装脚本会自动检测 `.kiro/` 目录并将 skills 复制到 `.kiro/steering/`。
13
+
14
+ ## 手动安装
15
+
16
+ ```bash
17
+ git clone https://github.com/jnMetaCode/superpowers-zh.git
18
+ cp -r superpowers-zh/skills/* /your/project/.kiro/steering/
19
+ ```
20
+
21
+ ## 工作原理
22
+
23
+ Kiro 使用 **Steering** 机制管理 AI 行为规则:
24
+
25
+ - **目录**:`.kiro/steering/`
26
+ - **格式**:Markdown + YAML frontmatter
27
+ - **加载模式**:
28
+ - `alwaysApply: true` — 每次对话自动加载
29
+ - `globs: "*.ts"` — 匹配特定文件时加载
30
+ - 手动引用 — 在聊天中输入 `#steering-file-name`
31
+
32
+ ### Skills 与 Steering 的对应
33
+
34
+ superpowers-zh 的 SKILL.md 文件格式与 Kiro Steering 文件兼容(都是 Markdown + YAML frontmatter)。安装后,Kiro 会自动识别并加载 skills。
35
+
36
+ ### 推荐配置
37
+
38
+ 在 `.kiro/steering/` 中创建 `superpowers.md`:
39
+
40
+ ```markdown
41
+ ---
42
+ description: 加载 superpowers skills 框架
43
+ alwaysApply: true
44
+ ---
45
+
46
+ 使用 .kiro/steering/ 目录下的 superpowers skills 来指导工作流程。
47
+ 优先使用 brainstorming(头脑风暴)开始新任务。
48
+ ```
49
+
50
+ ## 使用
51
+
52
+ 在 Kiro 中,你可以:
53
+ - 直接提到 skill 名称:「使用头脑风暴来分析这个需求」
54
+ - 手动引用:在聊天中输入 `#brainstorming`
55
+ - Skills 会根据任务类型自动激活
56
+
57
+ ## 更新
58
+
59
+ ```bash
60
+ cd /your/project
61
+ npx superpowers-zh
62
+ ```
63
+
64
+ 重新运行安装命令即可更新到最新版本。
65
+
66
+ ## 获取帮助
67
+
68
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
69
+ - Kiro 文档:https://kiro.dev/docs/steering/
@@ -0,0 +1,102 @@
1
+ # Superpowers 中文版 — OpenClaw 安装指南
2
+
3
+ 在 [OpenClaw](https://github.com/anthropics/openclaw) 中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 快速安装
6
+
7
+ ```bash
8
+ cd /your/project
9
+ npx superpowers-zh
10
+ ```
11
+
12
+ 安装脚本会自动检测 `.openclaw/` 目录并将 skills 复制到 `skills/` 目录。
13
+
14
+ ## 手动安装
15
+
16
+ ```bash
17
+ git clone https://github.com/jnMetaCode/superpowers-zh.git
18
+ cp -r superpowers-zh/skills/* /your/project/skills/
19
+ ```
20
+
21
+ 或安装到全局(所有项目共享):
22
+
23
+ ```bash
24
+ cp -r superpowers-zh/skills/* ~/.openclaw/skills/
25
+ ```
26
+
27
+ ## 工作原理
28
+
29
+ OpenClaw 按以下优先级加载 skills:
30
+
31
+ | 位置 | 优先级 | 说明 |
32
+ |------|--------|------|
33
+ | `<workspace>/skills/` | 最高 | 工作区级,当前项目专用 |
34
+ | `~/.openclaw/skills/` | 中 | 用户级,所有项目共享 |
35
+ | 内置 skills | 最低 | OpenClaw 自带 |
36
+
37
+ 每个 skill 是一个 `skills/{name}/SKILL.md` 文件,包含 YAML frontmatter 和指令内容。OpenClaw 会自动发现并加载。
38
+
39
+ ### 推荐配置方式
40
+
41
+ 在项目根目录的 `CLAUDE.md` 或 `AGENTS.md` 中引用:
42
+
43
+ ```markdown
44
+ # CLAUDE.md
45
+
46
+ 本项目使用 superpowers-zh skills 框架。
47
+ 优先使用 brainstorming(头脑风暴)开始新任务。
48
+ Skills 位于 skills/ 目录下。
49
+ ```
50
+
51
+ ### 工具映射
52
+
53
+ OpenClaw 与 Claude Code 使用相同的工具名称,skills 无需额外适配:
54
+
55
+ | 工具 | OpenClaw | Claude Code |
56
+ |------|----------|-------------|
57
+ | 读文件 | `Read` | `Read` |
58
+ | 写文件 | `Write` | `Write` |
59
+ | 编辑 | `Edit` | `Edit` |
60
+ | 终端 | `Bash` | `Bash` |
61
+ | Skills | `Skill` | `Skill` |
62
+
63
+ ## 使用
64
+
65
+ 安装完成后重启 OpenClaw,所有 skills 会自动生效。你可以:
66
+
67
+ - 输入 `/brainstorming` 开始头脑风暴
68
+ - 输入 `/commit` 使用中文提交规范
69
+ - 在任何编码任务中,skills 会被自动调用
70
+
71
+ ## 全局 Skills
72
+
73
+ 如果你想让所有项目都能使用 superpowers-zh:
74
+
75
+ ```bash
76
+ mkdir -p ~/.openclaw/skills
77
+ cp -r superpowers-zh/skills/* ~/.openclaw/skills/
78
+ ```
79
+
80
+ 也可以通过 `~/.openclaw/openclaw.json` 配置额外 skills 目录:
81
+
82
+ ```json
83
+ {
84
+ "skills": {
85
+ "load": {
86
+ "extraDirs": ["/path/to/superpowers-zh/skills"]
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ ## 更新
93
+
94
+ ```bash
95
+ cd /your/project
96
+ npx superpowers-zh
97
+ ```
98
+
99
+ ## 获取帮助
100
+
101
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
102
+ - QQ 群:833585047
@@ -0,0 +1,108 @@
1
+ # Superpowers 中文版 — OpenCode 安装指南
2
+
3
+ 在 [OpenCode.ai](https://opencode.ai) 中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 安装
6
+
7
+ 在 `opencode.json`(全局或项目级)的 `plugin` 数组中添加:
8
+
9
+ ```json
10
+ {
11
+ "plugin": ["superpowers@git+https://github.com/jnMetaCode/superpowers-zh.git"]
12
+ }
13
+ ```
14
+
15
+ 重启 OpenCode。插件通过 Bun 自动安装并注册所有 skills。
16
+
17
+ 验证方式:问 "告诉我你有哪些 superpowers"
18
+
19
+ ## 使用
20
+
21
+ ### 查找 Skills
22
+
23
+ 使用 OpenCode 原生的 `skill` 工具列出所有可用 skills:
24
+
25
+ ```
26
+ use skill tool to list skills
27
+ ```
28
+
29
+ ### 加载 Skill
30
+
31
+ ```
32
+ use skill tool to load superpowers/brainstorming
33
+ ```
34
+
35
+ ### 个人 Skills
36
+
37
+ 在 `~/.config/opencode/skills/` 中创建你自己的 skills:
38
+
39
+ ```bash
40
+ mkdir -p ~/.config/opencode/skills/my-skill
41
+ ```
42
+
43
+ 创建 `~/.config/opencode/skills/my-skill/SKILL.md`:
44
+
45
+ ```markdown
46
+ ---
47
+ name: my-skill
48
+ description: 当 [条件] 时使用 - [功能描述]
49
+ ---
50
+
51
+ # 我的 Skill
52
+
53
+ [你的 skill 内容]
54
+ ```
55
+
56
+ ### 项目 Skills
57
+
58
+ 在项目的 `.opencode/skills/` 目录中创建项目级 skills。
59
+
60
+ **Skill 优先级:** 项目 skills > 个人 skills > Superpowers skills
61
+
62
+ ## 更新
63
+
64
+ 重启 OpenCode 时自动更新。插件每次启动都从 git 仓库重新安装。
65
+
66
+ 锁定特定版本:
67
+
68
+ ```json
69
+ {
70
+ "plugin": ["superpowers@git+https://github.com/jnMetaCode/superpowers-zh.git#v1.0.0"]
71
+ }
72
+ ```
73
+
74
+ ## 工作原理
75
+
76
+ 插件做两件事:
77
+
78
+ 1. **注入引导上下文** — 通过 `experimental.chat.system.transform` hook,为每次对话添加 superpowers 意识
79
+ 2. **注册 skills 目录** — 通过 `config` hook,让 OpenCode 发现所有 skills,无需符号链接或手动配置
80
+
81
+ ### 工具映射
82
+
83
+ 为 Claude Code 编写的 skills 自动适配 OpenCode:
84
+
85
+ - `TodoWrite` → `todowrite`
86
+ - `Task`(子代理)→ OpenCode 的 `@mention` 系统
87
+ - `Skill` 工具 → OpenCode 原生 `skill` 工具
88
+ - 文件操作 → OpenCode 原生工具
89
+
90
+ ## 故障排查
91
+
92
+ ### 插件未加载
93
+
94
+ 1. 检查 OpenCode 日志:`opencode run --print-logs "hello" 2>&1 | grep -i superpowers`
95
+ 2. 确认 `opencode.json` 中的插件配置正确
96
+ 3. 确保运行的是最新版本的 OpenCode
97
+
98
+ ### Skills 未找到
99
+
100
+ 1. 使用 `skill` 工具列出可用 skills
101
+ 2. 检查插件是否正确加载(见上)
102
+ 3. 每个 skill 需要包含有效 YAML frontmatter 的 `SKILL.md` 文件
103
+
104
+ ## 获取帮助
105
+
106
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
107
+ - 项目主页:https://github.com/jnMetaCode/superpowers-zh
108
+ - OpenCode 文档:https://opencode.ai/docs/
@@ -0,0 +1,61 @@
1
+ # Superpowers 中文版 — Qwen Code 安装指南
2
+
3
+ 在 [Qwen Code](https://tongyi.aliyun.com/qianwen) (通义灵码) 中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 自动安装
6
+
7
+ ```bash
8
+ cd /your/project
9
+ npx superpowers-zh
10
+ ```
11
+
12
+ 安装脚本会自动检测 `.qwen/` 目录并将 skills 复制到 `.qwen/skills/` 目录。
13
+
14
+ ## 手动安装
15
+
16
+ ```bash
17
+ git clone https://github.com/jnMetaCode/superpowers-zh.git
18
+ cp -r superpowers-zh/skills /your/project/.qwen/skills
19
+ ```
20
+
21
+ 或全局安装:
22
+
23
+ ```bash
24
+ mkdir -p ~/.qwen/skills
25
+ cp -r superpowers-zh/skills/* ~/.qwen/skills/
26
+ ```
27
+
28
+ ## Skill 加载优先级
29
+
30
+ | 位置 | 优先级 | 说明 |
31
+ |------|--------|------|
32
+ | `.qwen/skills/` | 最高 | 项目级,仅当前项目 |
33
+ | `~/.qwen/skills/` | 中 | 用户级,所有项目共享 |
34
+
35
+ ## 使用
36
+
37
+ 安装完成后重启 Qwen Code,skills 会自动生效。
38
+
39
+ 在 Qwen Code 中可以通过以下方式调用 skills:
40
+
41
+ ```
42
+ 请使用 brainstorming skill 来分析这个需求
43
+ ```
44
+
45
+ ```
46
+ 按照 test-driven-development skill 的方法来实现这个功能
47
+ ```
48
+
49
+ ## 故障排查
50
+
51
+ ### Skills 未生效
52
+
53
+ 1. 确认 `.qwen/skills/` 目录存在且包含 skill 文件夹
54
+ 2. 每个 skill 需要包含有效 YAML frontmatter 的 `SKILL.md` 文件
55
+ 3. 重启 Qwen Code 或刷新会话
56
+
57
+ ## 获取帮助
58
+
59
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
60
+ - 项目主页:https://github.com/jnMetaCode/superpowers-zh
61
+ - 通义灵码文档:https://tongyi.aliyun.com/lingma
@@ -0,0 +1,62 @@
1
+ # Superpowers 中文版 — Trae 安装指南
2
+
3
+ 在 [Trae](https://www.trae.ai)(字节跳动 AI IDE)中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 快速安装
6
+
7
+ ```bash
8
+ cd /your/project
9
+ npx superpowers-zh
10
+ ```
11
+
12
+ 安装脚本会自动检测 `.trae/` 目录并将 skills 复制到 `.trae/rules/`。
13
+
14
+ ## 手动安装
15
+
16
+ ```bash
17
+ git clone https://github.com/jnMetaCode/superpowers-zh.git
18
+ mkdir -p /your/project/.trae/rules
19
+ cp -r superpowers-zh/skills/* /your/project/.trae/rules/
20
+ ```
21
+
22
+ ## 工作原理
23
+
24
+ Trae 使用 `.rules` 机制管理 AI 行为:
25
+
26
+ - **目录**:`.trae/rules/`
27
+ - **格式**:Markdown + metadata(description、globs、alwaysApply、priority)
28
+ - **规则类型**:
29
+ - **项目规则**(Project Rules)— 仅作用于当前项目
30
+ - **个人规则**(Personal Rules)— 用户级别,可被项目规则覆盖
31
+ - **优先级**:1-4,数值越高优先级越高
32
+
33
+ ### Skills 适配
34
+
35
+ superpowers-zh 的 SKILL.md 文件可以直接作为 Trae 的 rules 使用。Trae 会在初始化时加载 `.trae/rules/` 下的所有规则文件。
36
+
37
+ ### 推荐配置
38
+
39
+ 安装完成后,在 Trae 的 Builder Mode 或 Chat 中提到 skill 名称即可激活:
40
+
41
+ ```
42
+ 使用头脑风暴 skill 来分析这个需求
43
+ ```
44
+
45
+ ## 中文支持
46
+
47
+ Trae 原生支持中文,与 superpowers-zh 完美配合:
48
+ - 所有 skills 均为中文
49
+ - 中文代码审查、中文 Git 工作流等国内特色 skills 开箱即用
50
+ - 支持 MCP 协议扩展
51
+
52
+ ## 更新
53
+
54
+ ```bash
55
+ cd /your/project
56
+ npx superpowers-zh
57
+ ```
58
+
59
+ ## 获取帮助
60
+
61
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
62
+ - Trae 文档:https://docs.trae.ai/ide/rules
@@ -0,0 +1,98 @@
1
+ # Superpowers 中文版 — VS Code (Copilot) 安装指南
2
+
3
+ 在 VS Code + GitHub Copilot 中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 前置条件
6
+
7
+ - VS Code(最新版本)
8
+ - GitHub Copilot 扩展(免费版或付费版均可)
9
+
10
+ ## 快速安装
11
+
12
+ ```bash
13
+ cd /your/project
14
+ npx superpowers-zh
15
+ ```
16
+
17
+ 安装脚本会自动检测 `.github/` 目录并将 skills 复制到该目录。
18
+
19
+ ## 手动安装
20
+
21
+ ```bash
22
+ git clone https://github.com/jnMetaCode/superpowers-zh.git
23
+ mkdir -p /your/project/.github/superpowers
24
+ cp -r superpowers-zh/skills/* /your/project/.github/superpowers/
25
+ ```
26
+
27
+ ## 工作原理
28
+
29
+ VS Code Copilot 使用 `.github/copilot-instructions.md` 作为项目级自定义指令:
30
+
31
+ - **位置**:项目根目录 `.github/copilot-instructions.md`
32
+ - **格式**:Markdown
33
+ - **生效范围**:该工作区内的所有 Copilot Chat 和内联补全
34
+ - **自动加载**:保存文件后立即生效,无需重启
35
+
36
+ ### 推荐配置
37
+
38
+ 由于 Copilot 主要通过单个指令文件工作,建议创建 `.github/copilot-instructions.md` 引用 skills:
39
+
40
+ ```markdown
41
+ # Copilot 自定义指令
42
+
43
+ ## 工作流方法论
44
+
45
+ 本项目使用 superpowers-zh skills 框架。开始新任务前,请参考以下方法论:
46
+
47
+ - 新需求 → 先头脑风暴(.github/superpowers/brainstorming/SKILL.md)
48
+ - 写代码 → TDD 驱动(.github/superpowers/test-driven-development/SKILL.md)
49
+ - 修 Bug → 系统化调试(.github/superpowers/systematic-debugging/SKILL.md)
50
+ - 审查代码 → 中文代码审查(.github/superpowers/chinese-code-review/SKILL.md)
51
+
52
+ ## 中文项目规范
53
+
54
+ - 代码注释和文档使用中文
55
+ - Git commit 遵循中文提交规范
56
+ - 技术术语保留英文原文
57
+ ```
58
+
59
+ ### 使用 .instructions.md 文件(推荐)
60
+
61
+ VS Code 还支持更细粒度的 `.instructions.md` 文件:
62
+
63
+ ```
64
+ .github/
65
+ copilot-instructions.md # 全局指令
66
+ .instructions/
67
+ typescript.instructions.md # TypeScript 文件专用
68
+ testing.instructions.md # 测试相关
69
+ ```
70
+
71
+ ## 使用
72
+
73
+ 在 VS Code 中:
74
+ - **Copilot Chat**(`Ctrl+Shift+I`):直接引用 skill 名称
75
+ - **内联补全**:自动遵循 copilot-instructions.md 中的规则
76
+ - **`/init`**:在 Chat 中输入,自动生成项目配置
77
+
78
+ ## 局限性
79
+
80
+ VS Code Copilot 不像 Claude Code 那样支持 `Skill` 工具或子 Agent 派遣。以下 skills 需要手动参考而非自动执行:
81
+
82
+ - 派遣并行 Agent(需要 Agent 框架支持)
83
+ - 子 Agent 驱动开发(需要 Agent 框架支持)
84
+ - Git Worktree 使用(需要终端操作)
85
+
86
+ 其他方法论类 skills(头脑风暴、TDD、调试、代码审查等)完全兼容。
87
+
88
+ ## 更新
89
+
90
+ ```bash
91
+ cd /your/project
92
+ npx superpowers-zh
93
+ ```
94
+
95
+ ## 获取帮助
96
+
97
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
98
+ - VS Code Copilot 文档:https://code.visualstudio.com/docs/copilot/customization/custom-instructions
@@ -0,0 +1,56 @@
1
+ # Superpowers 中文版 — Windsurf 安装指南
2
+
3
+ 在 [Windsurf](https://codeium.com/windsurf) 中使用 superpowers-zh 的完整指南。
4
+
5
+ ## 自动安装
6
+
7
+ ```bash
8
+ cd /your/project
9
+ npx superpowers-zh
10
+ ```
11
+
12
+ 安装脚本会自动检测 `.windsurf/` 目录并将 skills 复制到 `.windsurf/skills/` 目录。
13
+
14
+ ## 手动安装
15
+
16
+ ```bash
17
+ git clone https://github.com/jnMetaCode/superpowers-zh.git
18
+ cp -r superpowers-zh/skills /your/project/.windsurf/skills
19
+ ```
20
+
21
+ 或全局安装:
22
+
23
+ ```bash
24
+ cp -r superpowers-zh/skills ~/.windsurf/skills
25
+ ```
26
+
27
+ ## Skill 加载优先级
28
+
29
+ | 位置 | 优先级 | 说明 |
30
+ |------|--------|------|
31
+ | `.windsurf/skills/` | 最高 | 项目级,仅当前项目 |
32
+ | `~/.windsurf/skills/` | 中 | 用户级,所有项目共享 |
33
+
34
+ ## 使用
35
+
36
+ 安装完成后重启 Windsurf,skills 会自动生效。
37
+
38
+ 也可以在 `.windsurfrules` 文件中引用 skills 目录:
39
+
40
+ ```
41
+ 请参考 .windsurf/skills/ 目录中的 SKILL.md 文件作为工作方法论。
42
+ ```
43
+
44
+ ## 故障排查
45
+
46
+ ### Skills 未生效
47
+
48
+ 1. 确认 `.windsurf/skills/` 目录存在且包含 skill 文件夹
49
+ 2. 每个 skill 需要包含有效 YAML frontmatter 的 `SKILL.md` 文件
50
+ 3. 重启 Windsurf
51
+
52
+ ## 获取帮助
53
+
54
+ - 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
55
+ - 项目主页:https://github.com/jnMetaCode/superpowers-zh
56
+ - Windsurf 文档:https://docs.codeium.com/windsurf
@@ -0,0 +1,47 @@
1
+ # GIF 录制指南
2
+
3
+ ## 方式一:macOS 录屏(推荐,最真实)
4
+
5
+ ### 准备
6
+ 1. 终端字体调到 18pt+,背景用深色
7
+ 2. 准备一个测试项目目录 `~/demo-project`
8
+ 3. 确保 superpowers-zh 已安装
9
+
10
+ ### 录制步骤
11
+ 1. **Cmd+Shift+5** 打开录屏,选择录制区域(只录终端窗口)
12
+ 2. 执行以下操作:
13
+
14
+ ```bash
15
+ # 第一步:安装(3秒)
16
+ cd ~/demo-project
17
+ npx superpowers-zh
18
+
19
+ # 第二步:给 AI 提需求(等 AI 回复)
20
+ claude "给用户模块加一个批量导出功能"
21
+ ```
22
+
23
+ 3. 等 AI 输出中文的头脑风暴内容(澄清问题 + 方案),录到这里就可以停了
24
+ 4. 停止录屏
25
+
26
+ ### 转 GIF
27
+ ```bash
28
+ # mov 转 gif(用 ffmpeg)
29
+ ffmpeg -i recording.mov -vf "fps=10,scale=700:-1:flags=lanczos" -c:v gif docs/assets/demo.gif
30
+
31
+ # 如果太大(>2MB),降低 fps 或尺寸
32
+ ffmpeg -i recording.mov -vf "fps=8,scale=600:-1:flags=lanczos" -c:v gif docs/assets/demo.gif
33
+ ```
34
+
35
+ ## 方式二:VHS 脚本(模拟输入,输出需要手动编排)
36
+
37
+ ```bash
38
+ cd /Users/yx/work/wenzhang/superpowers-zh
39
+ vhs docs/assets/demo.tape
40
+ ```
41
+
42
+ 注意:VHS 只模拟键盘输入,AI 输出需要在 tape 文件中用 Type 模拟。
43
+
44
+ ## 最终效果要求
45
+ - 时长:15-20 秒
46
+ - 文件大小:< 2MB
47
+ - 关键帧:能看到 AI 用中文输出设计方案/澄清问题