mirror of
https://github.com/jnMetaCode/superpowers-zh.git
synced 2026-09-03 07:23:56 +08:00
OpenClaw 安装指南的"使用"段写"输入 /brainstorming 开始头脑风暴"和 "输入 /commit 使用中文提交规范"——这两条都是过时引用: - `/brainstorming` 不是有效 slash command(commands/ 目录在 v5.1.0 已删, 且我们的 commands/ 里也从来没有 brainstorming 这个名字) - `/commit` 完全不存在(我们没有 commit 这个 skill;可能想表达 chinese-commit-conventions,但 slash command 形式也不存在) - 即便 commands/ 还在的年代,OpenClaw 也不一定把 skill 自动暴露为 slash command 改写为 OpenClaw 实际生效的触发方式:AI 通过 skill frontmatter 的 description 字段自主选择 skill。文档同时给出 4 个高频触发场景示例, 并说明强制触发的方式(在指令里点名 skill)。
Superpowers 中文版 — Windsurf 安装指南
在 Windsurf 中使用 superpowers-zh 的完整指南。
自动安装
cd /your/project
npx superpowers-zh
安装脚本会自动检测 .windsurf/ 目录并将 skills 复制到 .windsurf/skills/ 目录。
手动安装
git clone https://github.com/jnMetaCode/superpowers-zh.git
cp -r superpowers-zh/skills /your/project/.windsurf/skills
或全局安装:
cp -r superpowers-zh/skills ~/.windsurf/skills
Skill 加载优先级
| 位置 | 优先级 | 说明 |
|---|---|---|
.windsurf/skills/ |
最高 | 项目级,仅当前项目 |
~/.windsurf/skills/ |
中 | 用户级,所有项目共享 |
使用
安装完成后重启 Windsurf,skills 会自动生效。
也可以在 .windsurfrules 文件中引用 skills 目录:
请参考 .windsurf/skills/ 目录中的 SKILL.md 文件作为工作方法论。
故障排查
Skills 未生效
- 确认
.windsurf/skills/目录存在且包含 skill 文件夹 - 每个 skill 需要包含有效 YAML frontmatter 的
SKILL.md文件 - 重启 Windsurf