Files
superpowers-zh/README.md
AI不止语 1081cefc42 fix(docs,site): README 把 2 个上游 skill 算成「中国特色」;二维码缺 height;官网外链没人验活
按主站逐项核对时查出的三处,都不是新引入的,是一直没人发现。

## ① README 的「中国特色 Skills(6 个)」与官网自相矛盾

三处口径本来就不一致:

| 位置 | 原来的说法 |
|---|---|
| 官网统计块 | 4 中国原创 |
| `.claude-plugin/plugin.json` | 20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留)|
| 两版 README | **6 个中国特色 Skills** ← 只有它是 6 |

README 把 `mcp-builder` 和 `workflow-runner` 也算进了「中国特色」。用 GitHub API 核过:
**上游 obra/superpowers 现有 14 个 skill,本仓 20 个,多出的正是 4 个 `chinese-*` 加这两个。**
它们来自上游、上游后来移除、本 fork 保留继续维护 —— 跟中国特色没有任何关系,把它们
算成中国原创等于虚报了 50% 的原创量。

改:规模表列名改「中国原创 Skills」值改 4(附注另有 2 个上游历史保留);小节标题拆成
「中国原创(4 个)· 上游历史保留(2 个)」;表格里这两行的「上游有吗?」由「无」改为
「曾有,上游已移除」——原来写「无」会被读成「我们原创的」,正是错误的来源。简繁同步。

(`using-superpowers` 正文里的「中国特色技能路由」是真实存在的小节名,不动。)

## ② 页脚三个二维码缺 height,加载时把页脚顶下去

`<img width="158">` 没有 height,浏览器算不出宽高比,图一到位就发生布局偏移(CLS)。
赞助商 banner 和 logo 都是齐的,只有二维码漏了。

没有写死数字,而是新增零依赖的 `imageSize()`(PNG 读 IHDR、JPEG 逐段找 SOFn),
构建时从文件读真实尺寸:258×258 / 1125×1680 / 316×316,与 `sips` 实测逐一吻合。
换二维码时属性自动跟随,不会悄悄退回错的比例。

顺带用同一个函数补了一条门禁:**赞助商声明的 `w`/`h` 必须与素材真实尺寸一致** ——
换了 banner 忘了改数字,页面就会按错的宽高比预留位置。

## ③ 外链验活门禁扫不到官网,三条付费展位链接一直无人看守

`verify-release` H 段只扫 `docs/*.md` 与两版 README,`site/build.mjs` 不在列。也就是
旗舰赞助商与两个常规位的推广链接挂掉了不会有任何人知道 —— 而这是要赔的。

扫描范围加上 `site/build.mjs`,并把 `compshare|cubence` 移出排除名单(原来被当噪音跳过),
正则补 `?=&` 让带 aff/referral 参数的推广链接被完整验证而不是截断到路径。
覆盖链接 45 → 52 条。

排除名单新增 `googletagmanager|google-analytics`:它们在 build.mjs 里是 **CSP 白名单条目
不是链接**,裸域 `googletagmanager.com` 实测返回 404,纳入等于凭空造一条误报 ——
这条门禁最忌讳的就是误报。

## 反向验证(三条逐一造错,必须拦下)

- 把官网的 book.aibuzhiyu.com 改成不存在的路径 -> `死链(404)`,FAIL 1
- 把 infistar banner 的 w/h 改成 800×368 -> 构建退出码 1,
  `banner 尺寸对不上:声明 800×368,实际 1269×337`
- 二维码尺寸不再有写死数字(`width="158"` 已从源码消失)

## 全量测试

官网 66 页构建 / 站内死链 0 / 无效 href="#" 0 / **缺 height 的 img 0**(原为 3);
audit 170 pass 0 fail;verify-release 115 pass 0 fail;CI 等价 20 skills 0 错误 v1.7.11;
tests/kimi · pi · opencode · brainstorm-server 全 PASS。
2026-09-02 21:19:58 +08:00

449 lines
29 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# superpowers-zhAI 编程超能力 · 中文增强版)
🌐 **简体中文** | [繁體中文](README.zh-Hant.md) | [English (upstream)](https://github.com/obra/superpowers)
> 🦸 **superpowers250k+ ⭐)完整汉化 + 4 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Qoder 等 **23 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
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.
[![官网 sp.aiolaola.com](https://img.shields.io/badge/🌐_官网-sp.aiolaola.com-F59E0B)](https://sp.aiolaola.com)
[![GitHub stars](https://img.shields.io/github/stars/jnMetaCode/superpowers-zh?style=social)](https://github.com/jnMetaCode/superpowers-zh)
[![npm version](https://img.shields.io/npm/v/superpowers-zh)](https://www.npmjs.com/package/superpowers-zh)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://makeapullrequest.com)
> 📖 **免费配套学习** → [从零学会 AI 编程](https://aiolaola.com/?utm_source=github&utm_campaign=superpowers)180 节)+ [从零构建 AI 智能体](https://aiolaola.com/course/ai-agent?utm_source=github&utm_campaign=superpowers)40 节):两门免费实操课 + 实战社区superpowers 装好后配上方法论效率翻倍
>
> 🌍 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)
> 🆕 **v1.7.11 更新亮点** —— **Codex / VS Code / Windsurf / Qwen Code / DeerFlow / Claw Code 用户请重装**(此前装了等于没装):
>
> - 🐛 **Codex CLI** —— 项目级装到 `.codex/skills`,而官方扫描清单里**从来没有这个目录**。改为 `.agents/skills`,重装会自动清旧位置
> - 🐛 **VS Code (Copilot)** —— 装的 20 个文件 Copilot 一个都不读,且不写任何引导。现在生成 `.github/instructions/superpowers-zh.instructions.md``applyTo: "**"`
> - 🐛 **Windsurf** —— `--global` 装到 `~/.windsurf/skills`,官方用户级路径是 `~/.codeium/windsurf/skills/`。全局装过的请重装
> - 🆕 **Qwen Code / Claw Code 补 bootstrapCodeBuddy / CodeArts 补 `--global`**(全局支持 9 → 11 款)
>
> 📋 其余改动DeerFlow 检测标记、4 条死链含 2 条编造的仓库地址、官网工具墙 20 → 23、5 条新门禁…)见 **[完整 Release Notes →](RELEASE-NOTES.zh.md)**
### 📊 项目规模
| 📦 翻译 Skills | 🇨🇳 中国原创 Skills | 🤖 支持工具 |
|:---:|:---:|:---:|
| **14** | **4**<br><sub>另有 2 个上游历史保留</sub> | **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** |
---
## ❤️ 赞助商 &nbsp;<sub>🙏 想出现在这里?联系 **jnMetaCode@qq.com** 赞助</sub>
<p align="center">
<a href="https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link">
<img src="assets/sponsors/infistar.jpg" alt="Infistar.cc 无限星河 —— 全模型 API 服务,一个 API Key 接入 Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek价格低至官方渠道 1 折" width="100%">
</a>
</p>
**superpowers-zh × [Infistar.cc 无限星河](https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link)|全模型 API · 为 AI 编程注入稳定动力**
感谢 Infistar.cc 无限星河 赞助并为 superpowers-zh 用户提供模型服务支持!
-**稳定承载复杂开发任务**:提供高可用模型通道与多节点冗余,价格低至官方渠道 **1 折**稳定支持需求分析、方案规划、TDD、调试及代码审查等长任务。
- 🧠 **一个 API Key 接入主流模型**:全面支持 Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek 等模型,适配 Claude Code、Codex、Cursor、Windsurf、Kiro 等 AI 编程工具。
- 🛠️ **赋能完整开发工作流**:结合 superpowers-zh 的系统化 Skills让 AI 更好地完成头脑风暴、计划执行、问题排查和质量检查。
🎁 **superpowers-zh 用户专属福利:通过[此链接](https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link)注册并完成首次调用,即可领取 5 美元等值测试额度!**
<hr>
<table>
<tr>
<td width="25%">
<a href="https://passport.compshare.cn/register?referral_code=ETD3L5JBM13CtKARkMORot&ytag=GPU_YY_YX_git_superpowers-zh">
<img src="assets/sponsors/compshare.jpg" alt="优云智算 by UCloud — 热门国产模型按次调用套餐包,低至 49 元/月起" width="100%">
</a>
</td>
<td width="75%" valign="middle">
感谢 [优云智算](https://passport.compshare.cn/register?referral_code=ETD3L5JBM13CtKARkMORot&ytag=GPU_YY_YX_git_superpowers-zh) 赞助本项目!优云智算是 UCloud 旗下 AI 云平台,主打包月、按次的高性价比国模 Agent Plan 套餐,支持 GLM-5.2,低至 **49 元/月**起。同时提供官转稳定海外模型。支持接入 Claude Code、Codex 及 API 调用。支持企业高并发、7×24 技术支持、自助开票。🎁 **通过[此链接](https://passport.compshare.cn/register?referral_code=ETD3L5JBM13CtKARkMORot&ytag=GPU_YY_YX_git_superpowers-zh)注册的用户,可得免费 5 元平台体验金!**
</td>
</tr>
</table>
<table>
<tr>
<td width="25%">
<a href="https://cubence.com/signup?code=SCW29JP9">
<img src="assets/sponsors/cubence.jpg" alt="Cubence — 专业 AI API 网关,稳定高效的 API 中转服务,支持 Claude Code、Codex、Gemini 等多种模型" width="100%">
</a>
</td>
<td width="75%" valign="middle">
感谢 [Cubence](https://cubence.com/signup?code=SCW29JP9) 对本项目的支持。Cubence 是一家致力为客户提供稳定、高效的 API 中转服务商。从 25 年 9 月运营至今,提供了 Claude Code、Codex、Gemini 等多种模型支持。🎁 **Cubence 为本开源项目的用户提供了特别的专属优惠码 `AGENCY`,通过[此链接](https://cubence.com/signup?code=SCW29JP9)注册的用户,首次购买即可享受 9 折优惠!**
</td>
</tr>
</table>
---
## 这是什么?
[superpowers](https://github.com/obra/superpowers) 是目前最火的 AI 编程 skills 框架250k+ stars为 AI 编程工具提供**系统化的工作方法论**。
**superpowers-zh** 在完整翻译的基础上,新增了面向中国开发者的特色 skills。
<!-- 效果对比 -->
<table>
<tr><td>
**没装 superpowers-zh**
```
你:给用户模块加个批量导出功能
AI好的我来实现...(直接开始写代码)
export async function exportUsers() { ... }
你:等等,格式不对,没分页,大数据量会 OOM...
```
</td><td>
**装了 superpowers-zh**
```
你:给用户模块加个批量导出功能
AI在开始实现之前我需要了解几个关键问题
1. 导出格式是 CSV 还是 Excel
2. 预计数据量多大?需要异步处理吗?
3. 有权限要求吗?
→ 给出 2-3 个方案,确认后再动手
```
</td></tr>
</table>
### 🆚 与英文上游的区别(老被问,一次说清)
| 维度 | superpowers英文上游 | superpowers-zh中文增强版 |
|------|----------------------|---------------------------|
| ⭐ Star 数 | 250k+ | — |
| 📦 Skills 总数 | 14 | **20**14 翻译 + 4 国产原创 + 2 上游历史保留) |
| 🌐 语言 | 英文 | 中文(技术术语保留英文) |
| 🤖 **支持工具** | **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 |
| ⚡ **安装方式** | 按工具分别装(每款一条不同的 plugin marketplace 命令) | **`npx superpowers-zh` 一条命令自动识别项目里的工具并安装**;识别不出可 `--tool <name>` 显式指定 |
| 🇨🇳 Git 平台 | GitHub 为主 | GitHub + Gitee + Coding + 极狐 GitLab + **CNB腾讯云原生构建** |
| 🇨🇳 CI/CD 示例 | GitHub Actions | GitHub Actions + Gitee Go + Coding CI + 极狐 CI + `.cnb.yml` |
| 🇨🇳 代码审查风格 | 西方直接风格 | 适配国内团队沟通文化 |
| 🇨🇳 Git 提交规范 | 无 | Conventional Commits 中文适配 |
| 🇨🇳 中文文档规范 | 无 | 中文排版 + 中英混排规则 + 告别机翻味 |
| MCP 服务器构建 | 无 | 独立 `mcp-builder` skill |
| 工作流执行器 | 无 | 独立 `workflow-runner` skill多角色 YAML 编排) |
| 翻译 skill 内的增量 | — | 仅 2 处,均在正文显式标注「本节是 superpowers-zh 的增量内容」:`executing-plans` 的「常见异常处理」、`using-superpowers` 的「中国特色技能路由」。**上游各节均为逐节翻译,不被改动**audit 会强制未标注的增量报错 |
| 🔄 版本跟进 | 独立迭代 | **同步上游 + 国产增量叠加** |
| 🤝 接受新 skill PR | 一般不接受(原文:*"we don't generally accept contributions of new skills"* | 欢迎 PR中国开发者痛点优先 |
| 💬 社区 | Discord | 微信公众号「AI不止语」+ 微信群 + QQ 群 |
| 📜 License | MIT | MIT |
**一句话总结:** 英文上游 = 方法论内核;中文增强版 = 方法论内核 **+** 23 款工具一键适配 **+** 国内 Git/CI 生态 **+** 中文化表达习惯。
### 🤖 支持 23 款主流 AI 编程工具
| 工具 | 类型 | 一键安装 | 手动安装 |
|------|------|:---:|:---:|
| [Claude Code](https://claude.ai/code) | CLI | `npx superpowers-zh` | `.claude/skills/` |
| [Copilot CLI](https://githubnext.com/projects/copilot-cli) | CLI | `npx superpowers-zh --tool copilot` | `.claude/skills/` |
| [Hermes Agent](https://github.com/NousResearch/hermes-agent) | CLI | `npx superpowers-zh --global --tool hermes` | `~/.hermes/skills/` |
| [Cursor](https://cursor.sh) | IDE | `npx superpowers-zh` | `.cursor/skills/` |
| [Windsurf](https://windsurf.com) | IDE | `npx superpowers-zh` | `.windsurf/skills/`(全局 `~/.codeium/windsurf/skills/` |
| [Kiro](https://kiro.dev) | IDE | `npx superpowers-zh` | `.kiro/skills/` |
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | CLI | `npx superpowers-zh` | `.gemini/skills/` |
| [Codex CLI](https://github.com/openai/codex) | CLI | `npx superpowers-zh` | `.agents/skills/` |
| [Aider](https://aider.chat) | CLI | `npx superpowers-zh` | `.aider/skills/` |
| [Trae](https://trae.ai) | IDE | `npx superpowers-zh` | `.trae/skills/` + `.trae/rules/` |
| [VS Code](https://code.visualstudio.com) (Copilot) | IDE 插件 | `npx superpowers-zh` | `.github/superpowers/` + `.github/instructions/` |
| [DeerFlow 2.0](https://github.com/bytedance/deer-flow) | Agent 框架 | `npx superpowers-zh` | `skills/custom/` |
| [OpenCode](https://opencode.ai) | CLI | `npx superpowers-zh` | `.opencode/skills/` |
| [OpenClaw](https://github.com/openclaw/openclaw) | CLI | `npx superpowers-zh` | `skills/` |
| [Qwen Code](https://github.com/QwenLM/qwen-code) | CLI | `npx superpowers-zh` | `.qwen/skills/` + `QWEN.md` |
| [Antigravity](https://antigravity.google) | IDE | `npx superpowers-zh` | `.agents/skills/` |
| [Claw Code](https://github.com/ultraworkers/claw-code) | CLI (Rust) | `npx superpowers-zh` | `.claw/skills/` |
| [Qoder](https://qoder.com) (阿里 AI IDE) | IDE | `npx superpowers-zh` | `.qoder/skills/` + `.qoder/rules/` |
| [CodeBuddy](https://copilot.tencent.com) (腾讯 AI IDE) | IDE | `npx superpowers-zh` | `.codebuddy/skills/` + `CODEBUDDY.md` |
| [华为云码道 CodeArts](https://codearts.huaweicloud.com/) | IDE | `npx superpowers-zh` | `.codeartsdoer/skills/` |
| [Cline](https://cline.bot) | IDE 插件 | `npx superpowers-zh --tool cline` | `.cline/skills/` + `.clinerules/` |
| [Kilo Code](https://kilo.ai) | IDE 插件 | `npx superpowers-zh --tool kilocode` | `.kilocode/skills/` + `.kilocode/rules/` |
| [Crush](https://github.com/charmbracelet/crush) | CLI | `npx superpowers-zh` | `.crush/skills/` |
> 运行 `npx superpowers-zh` 会自动检测你项目中使用的工具,将 20 个 skills 安装到正确位置。
### 翻译的 Skills14 个)
| Skill | 用途 |
|-------|------|
| **头脑风暴** (brainstorming) | 需求分析 → 设计规格,不写代码先想清楚 |
| **编写计划** (writing-plans) | 把规格拆成可执行的实施步骤 |
| **执行计划** (executing-plans) | 按计划逐步实施,每步验证 |
| **测试驱动开发** (test-driven-development) | 严格 TDD先写测试再写代码 |
| **系统化调试** (systematic-debugging) | 四阶段调试法:定位→分析→假设→修复 |
| **请求代码审查** (requesting-code-review) | 派遣审查 agent 检查代码质量 |
| **接收代码审查** (receiving-code-review) | 技术严谨地处理审查反馈,拒绝敷衍 |
| **完成前验证** (verification-before-completion) | 证据先行——声称完成前必须跑验证 |
| **派遣并行 Agent** (dispatching-parallel-agents) | 多任务并发执行 |
| **子 Agent 驱动开发** (subagent-driven-development) | 每个任务一个 agent两轮审查 |
| **Git Worktree 使用** (using-git-worktrees) | 隔离式特性开发 |
| **完成开发分支** (finishing-a-development-branch) | 合并/PR/保留/丢弃四选一 |
| **编写 Skills** (writing-skills) | 创建新 skill 的方法论 |
| **使用 Superpowers** (using-superpowers) | 元技能:如何调用和优先使用 skills |
### 🇨🇳 中国原创 Skills4 个)· 上游历史保留2 个)
> ⚠️ **下表前 4 个 chinese-\* 为「手动调用」skill**——不会自动触发,需在对话中显式输入 `/chinese-xxx` 才会加载。
> 设计为参考资料而非工作流,避免污染上游 skill 的自动调度(如 `requesting-code-review`、`brainstorming` 等)。
>
> ⚠️ **表格最后两个mcp-builder / workflow-runner不是中国原创** —— 它们来自上游,上游后来移除了,本 fork 保留下来继续维护。全仓 20 个 skill = 14 翻译 + 4 中国原创 + 2 上游历史保留。
| Skill | 用途 | 调用方式 | 上游有吗? |
|-------|------|---------|:---:|
| **中文代码审查** (chinese-code-review) | 符合国内团队文化的代码审查规范 | `/chinese-code-review`(手动) | 无 |
| **中文 Git 工作流** (chinese-git-workflow) | 适配 Gitee/Coding/极狐 GitLab/CNB | `/chinese-git-workflow`(手动) | 无 |
| **中文技术文档** (chinese-documentation) | 中文排版规范、中英混排、告别机翻味 | `/chinese-documentation`(手动) | 无 |
| **中文提交规范** (chinese-commit-conventions) | 适配国内团队的 commit message 规范 | `/chinese-commit-conventions`(手动) | 无 |
| **MCP 服务器构建** (mcp-builder) | 构建生产级 MCP 工具,扩展 AI 能力边界 | 自动 | 曾有,上游已移除 |
| **工作流执行器** (workflow-runner) | 在 AI 工具内运行多角色 YAML 工作流 | 自动 | 曾有,上游已移除 |
---
## 快速开始
### 方式一npm 安装(推荐)
**项目级**(默认,装到当前项目):
```bash
cd /your/project
npx superpowers-zh
```
> ⚠️ **项目级安装不要在主目录(`~`)下跑**。v1.2.1 起会拒绝并提示,老版本会把 skills 和 `CLAUDE.md` 等 bootstrap 文件写到你的 home 目录,污染所有项目。如已误装见下文「卸载 / 误装清理」。想让 skills 对所有项目生效,请用下面的**全局安装**,而不是在 `~` 下跑项目级。
**全局安装**v1.7.0+,装到用户目录,所有项目共享,适合同时维护多个项目):
```bash
npx superpowers-zh --global # 自动检测已装工具
npx superpowers-zh --global --tool claude # 或指定工具
```
全局安装把 skills 装到工具的**用户级目录**(如 `~/.claude/skills`),一次安装所有项目自动可用,更新时也只需重装一次。**项目级优先、全局兜底**,二者可共存。
支持通用全局安装的工具(均为 docs 已证实的用户级加载路径):**Claude Code · Codex CLI · Qoder · Windsurf · Qwen Code · OpenClaw · OpenCode · Crush · Hermes Agent · CodeBuddy · CodeArts**。其中 **Codex CLI** 全局装到 `~/.agents/skills`Codex 启动扫描目录。其余工具Cursor / Kiro / Trae / Aider / DeerFlow / VS Code / Claw / Cline / Kilo Code规则是项目级或存于应用内设置`--global` 会提示改用项目级;**Gemini CLI / Antigravity** 有各自专属的全局方式Gemini 走扩展目录),见对应 `docs/README.*.md`
| | 项目级(默认) | 全局(`--global` |
|---|---|---|
| 安装位置 | `<项目>/.claude/skills` 等 | `~/.claude/skills` 等用户级目录 |
| 生效范围 | 仅当前项目 | 所有项目 |
| 适合 | 单项目、需项目内版本固定 | 多项目、想一次装好到处可用 |
| 卸载 | `npx superpowers-zh --uninstall` | `npx superpowers-zh --global --uninstall` |
### 方式二Claude Code Plugin Marketplace
**仅限 Claude Code。** 走官方 plugin 机制装,好处是升级只要一条 `claude plugin update`,不用重跑 npx
```bash
claude plugin marketplace add jnMetaCode/superpowers-zh
claude plugin install superpowers-zh@superpowers-zh
```
装完 `claude plugin list` 应该看到:
```
superpowers-zh@superpowers-zh
Version: <当前版本>
Scope: user
Status: ✔ enabled
```
升级与卸载:
```bash
claude plugin marketplace update superpowers-zh # 先刷新 marketplace 缓存
claude plugin update superpowers-zh@superpowers-zh # 再升级 plugin需重启生效
claude plugin uninstall superpowers-zh@superpowers-zh # 卸载
```
> **和方式一怎么选?** marketplace 装的是**完整 plugin**skills + hooks + bootstrap 由 Claude Code 统一托管、随版本更新),但只服务 Claude Code 一款工具。要装给其余 19 款工具,仍然用方式一的 `npx superpowers-zh`。两者可以共存,但同一个项目里别重复装 Claude Code否则 skills 会出现两份。
### 方式三手动安装low-fidelity仅作备选
> ⚠️ **手动 `cp -r skills` 是低保版安装,不等同于完整 plugin。**
>
> superpowers-zh 是一个完整 plugin包含`skills/`20 个能力)+ `hooks/`SessionStart 钩子,让 skill 在合适时机自动触发)+ `CLAUDE.md` / `GEMINI.md` 等 bootstrap 引导文件 + 4 套 plugin manifestClaude Code / Cursor / Codex / Marketplace
>
> **下面的 `cp -r skills` 命令只复制 skills 目录**,不会自动配置 hooks、不会生成 bootstrap 引导。结果skills 物理上存在,但 AI 不会在合适时机自动调用,需要你每次手动喊 "use brainstorming skill" 之类。
>
> **强烈推荐用方式一 `npx superpowers-zh`** —— 它会一键处理 skills 复制 + bootstrap 生成 + hooks 配置 + 工具特定适配。仅在 npx 不可用(极端无网络环境)时才退到手动。
```bash
# 克隆仓库
git clone https://github.com/jnMetaCode/superpowers-zh.git
# 复制 skills 到你的项目(选择你使用的工具)
cp -r superpowers-zh/skills /your/project/.claude/skills # Claude Code / Copilot CLI
cp -r superpowers-zh/skills /your/project/.hermes/skills # Hermes Agent
cp -r superpowers-zh/skills /your/project/.cursor/skills # Cursor
cp -r superpowers-zh/skills /your/project/.codex/skills # Codex CLI
cp -r superpowers-zh/skills /your/project/.kiro/skills # Kiro
cp -r superpowers-zh/skills /your/project/skills/custom # DeerFlow 2.0
cp -r superpowers-zh/skills /your/project/.trae/rules # Trae
cp -r superpowers-zh/skills /your/project/.agents # Antigravity
cp -r superpowers-zh/skills /your/project/.github/superpowers # VS Code (Copilot)
cp -r superpowers-zh/skills /your/project/skills # OpenClaw
cp -r superpowers-zh/skills /your/project/.windsurf/skills # Windsurf
cp -r superpowers-zh/skills /your/project/.gemini/skills # Gemini CLI
cp -r superpowers-zh/skills /your/project/.aider/skills # Aider
cp -r superpowers-zh/skills /your/project/.opencode/skills # OpenCode
cp -r superpowers-zh/skills /your/project/.qwen/skills # Qwen Code
cp -r superpowers-zh/skills /your/project/.claw/skills # Claw CodeRust 版)
cp -r superpowers-zh/skills /your/project/.qoder/skills # Qoder阿里 AI IDE
```
### 方式四:在配置文件中引用
根据你使用的工具,在对应配置文件中引用 skills
| 工具 | 配置文件 | 说明 |
|------|---------|------|
| Claude Code | `CLAUDE.md` | 项目根目录 |
| Copilot CLI | `CLAUDE.md` | 与 Claude Code 共用插件格式 |
| Hermes Agent | `HERMES.md``.hermes.md` | 项目根目录,安装时自动生成 |
| Kiro | `.kiro/steering/superpowers-zh.md`(索引,`inclusion: always`+ `.kiro/skills/` | steering 每轮常驻,故只放索引 |
| DeerFlow 2.0 | `skills/custom/*/SKILL.md` | 字节跳动开源 SuperAgent自动发现自定义 skills |
| Trae | `.trae/rules/project_rules.md` | 项目级规则 |
| Antigravity | `GEMINI.md``AGENTS.md` | 项目根目录 |
| VS Code | `.github/copilot-instructions.md` | Copilot 自定义指令 |
| Cursor | `.cursor/rules/*.md` | 项目级规则目录 |
| OpenClaw | `skills/*/SKILL.md` | 工作区级 skills 目录,自动发现 |
| Windsurf | `.windsurf/skills/*/SKILL.md` | 项目级 skills 目录 |
| Gemini CLI | `.gemini/skills/*/SKILL.md` | 项目级 skills 目录 |
| Aider | `.aider/skills/*/SKILL.md` | 项目级 skills 目录 |
| OpenCode | `.opencode/skills/*/SKILL.md` | 项目级 skills 目录 |
| Hermes Agent | `.hermes/skills/*/SKILL.md` | 项目级 skills 目录 |
| Qwen Code | `.qwen/skills/*/SKILL.md` + `QWEN.md` | skills 自动发现QWEN.md 是官方分层记忆的默认上下文文件 |
| Claw Code | `.claw/skills/*/SKILL.md` | Rust 版 CLI agent兼容 Claude Code 的 SKILL.md 格式 |
| Qoder | `.qoder/skills/*/SKILL.md` + `.qoder/rules/superpowers-zh.md` | 阿里 AI IDE自动生成 `trigger: always_on` 的 bootstrap rule |
> **详细安装指南**[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) · [Claw Code](docs/README.claw.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)
### 卸载 / 误装清理v1.2.1+
```bash
cd /your/project # 或 cd ~ 如果误装到了主目录
npx superpowers-zh@latest --uninstall
```
会做这些:
- 删除所有装过的 skill 目录(`.claude/skills/``.trae/skills/` 等)
- 删除独立 bootstrap 文件(`.trae/rules/superpowers-zh.md``.qoder/rules/superpowers-zh.md``.agents/rules.md`
- 清理追加到 `CLAUDE.md` / `HERMES.md` / `GEMINI.md` / `CONVENTIONS.md` 里的 superpowers-zh 段,**保留你自己写的内容**
数据安全说明v1.2.1 起,安装会把追加内容包在 `<!-- superpowers-zh:begin/end -->` 哨兵注释之间,卸载按哨兵精确切除。识别不可靠时跳过 + 警告,**绝不会误删用户内容**。
其他参数:
| 参数 | 用途 |
|---|---|
| `--tool <name>` | 自动检测不到时显式指定cursor / trae / hermes / 等) |
| `--force` | 允许在主目录(~)安装(默认拒绝,**不建议** |
| `--uninstall` | 卸载当前目录下的 superpowers-zh |
| `--help` / `--version` | 帮助 / 版本 |
---
## 贡献
欢迎参与!翻译改进、新增 skills、Bug 修复都可以。
### 贡献方向
我们只接收符合 superpowers 定位的 skill——**AI 编程工作流方法论**。好的 skill 应该:
- 教 AI 助手**怎么干活**,而不是某个框架/语言的教程
- 解决上游英文版不覆盖的**中国开发者痛点**
- 有明确的步骤、检查清单、示例AI 加载后能直接执行
欢迎提 Issue 讨论你的想法!
---
## 交流 · Community
<table>
<tr>
<td width="170" align="center">
<img src="assets/qr-wechat.jpg" width="150" alt="微信公众号 AI不止语 二维码"><br>
<sub>微信扫码关注</sub>
</td>
<td>
微信公众号 **「AI不止语」**(微信搜索 `AI_BuZhiYu`)— 技术问答 · 项目更新 · 实战文章
| 渠道 | 加入方式 |
|------|---------|
| QQ 2群 | [点击加入](https://qm.qq.com/q/EeNQA9xCxy)(群号 1071280067 |
| 微信群 | 关注公众号后回复「群」获取入群方式 |
</td>
</tr>
</table>
---
## 🌟 相关项目生态
**八个项目组合使用,覆盖 AI 编程 + AI 视频创作 + 桌面陪伴的完整链路。**
| 项目 | 定位 | 一句话 |
|------|------|-------|
| **[superpowers-zh](https://github.com/jnMetaCode/superpowers-zh)**(本项目) ![](https://img.shields.io/github/stars/jnMetaCode/superpowers-zh?style=flat&label=⭐) | 🧠 工作方法论 | 20 个 skills 教 AI 怎么干活TDD / 调试 / 代码审查等) |
| **[agency-agents-zh](https://github.com/jnMetaCode/agency-agents-zh)** ![](https://img.shields.io/github/stars/jnMetaCode/agency-agents-zh?style=flat&label=⭐) | 🎭 专家角色库 | 211 个**即插即用** AI 专家,含 46 中国原创(小红书 / 抖音 / 飞书 / 钉钉) |
| **[agency-orchestrator](https://github.com/jnMetaCode/agency-orchestrator)** | 🚀 编排引擎 | 一句话 → 211 专家协作,**几分钟出方案**9 家 LLM / 6 免费) |
| **[ai-coding-guide](https://github.com/jnMetaCode/ai-coding-guide)** | 📖 实战教程 | 66 个 Claude Code 技巧 + 9 款工具最佳实践 + 配置模板 |
| **[shellward](https://github.com/jnMetaCode/shellward)** | 🛡️ 安全中间件 | 8 层防御 + DLP 数据流 + 注入检测,**零依赖**(含 MCP Server |
| 🆕 **[ai-shortfilm-prompts](https://github.com/jnMetaCode/ai-shortfilm-prompts)** | 🎬 视频提示词 | Mx-Shell《丧尸清道夫》5 段式方法论 + SkillSeedance / 小云雀 / Sora / 可灵 / 即梦通用 |
| 🆕 **[local-agent-toolkit](https://github.com/jnMetaCode/local-agent-toolkit)** | 🛠️ Agent 本地三件套 | 给 agent 配上**记忆 / 技能管理 / 运行追踪**,零依赖、数据不出本机;本仓库 skills 可用 `npx @jnmetacode/skillet add jnMetaCode/superpowers-zh/skills/<名称>` 一键安装 |
| 🆕 **[codepet](https://github.com/jnMetaCode/codepet)** | 🐾 桌面养成桌宠 | 码宠 CodePet —— 你写代码 / 用 Claude Code它就涨经验、升级、换状态、跳舞。**全本地、隐私优先、开源** |
---
### 🔥 重点推荐:[agency-orchestrator](https://github.com/jnMetaCode/agency-orchestrator) — 一句话调度 211 个 AI 专家协作,几分钟交付完整方案
以前写个方案:你当指挥官,把 AI 轮流扮演 5 个角色,复制粘贴 10 次1 小时没了。
**现在:** 丢一句话进去 `"做一个电商退款流程"`**产品 → 架构 → 安全 → 测试 → DBA 自动接力**,几分钟完整方案落地。
- 🎭 **211+ 专家角色**(含 46 个中国市场原创:小红书 / 抖音 / 微信 / 飞书 / 钉钉)
- 🧩 **零代码 YAML**,一行 prompt 就能跑
- 💰 **9 家 LLM 可选**DeepSeek / Claude / OpenAI / Ollama 等,**6 家免费**
- 🔗 **与 superpowers-zh 互补**:本项目管"**怎么做**"方法论orchestrator 管"**谁来做**"(角色协作)
👉 **[立即体验 agency-orchestrator →](https://github.com/jnMetaCode/agency-orchestrator)**
---
## 致谢
- 原始英文版:[obra/superpowers](https://github.com/obra/superpowers)MIT 协议)
- 感谢 [@obra](https://github.com/obra) 创建了这个优秀的项目
---
## 许可证
MIT License — 自由使用,商业或个人均可。
---
<div align="center">
**🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 23 款工具真正会干活**
[Star 本项目](https://github.com/jnMetaCode/superpowers-zh) · [提交 Issue](https://github.com/jnMetaCode/superpowers-zh/issues) · [贡献代码](https://github.com/jnMetaCode/superpowers-zh/pulls)
</div>