Files
superpowers-zh/docs/README.windsurf.md
jiangnan c2ab9e653b feat: add Windsurf, Gemini CLI, Aider, OpenCode, Qwen Code support — 14 tools total
- Add 5 new tool targets to installer (bin/superpowers-zh.js)
- Gemini CLI detects GEMINI.md to avoid conflict with Antigravity
- Aider detects .aider/ directory for broader compatibility
- Add installation docs for Windsurf, Gemini CLI, Aider, Qwen Code
- Update README with full 14-tool support table and usage guide
- Fix skills count: 20 (14 translated + 6 Chinese-original incl. workflow-runner)
- Fix OpenClaw doc linking to wrong upstream repo
- Align gemini-extension.json name/version with package.json
- Add docs/ to package.json files array for npm installs
- Add install script validation step to CI
2026-03-26 22:33:15 +08:00

57 lines
1.3 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 中文版 — Windsurf 安装指南
在 [Windsurf](https://codeium.com/windsurf) 中使用 superpowers-zh 的完整指南。
## 自动安装
```bash
cd /your/project
npx superpowers-zh
```
安装脚本会自动检测 `.windsurf/` 目录并将 skills 复制到 `.windsurf/skills/` 目录。
## 手动安装
```bash
git clone https://github.com/jnMetaCode/superpowers-zh.git
cp -r superpowers-zh/skills /your/project/.windsurf/skills
```
或全局安装:
```bash
cp -r superpowers-zh/skills ~/.windsurf/skills
```
## Skill 加载优先级
| 位置 | 优先级 | 说明 |
|------|--------|------|
| `.windsurf/skills/` | 最高 | 项目级,仅当前项目 |
| `~/.windsurf/skills/` | 中 | 用户级,所有项目共享 |
## 使用
安装完成后重启 Windsurfskills 会自动生效。
也可以在 `.windsurfrules` 文件中引用 skills 目录:
```
请参考 .windsurf/skills/ 目录中的 SKILL.md 文件作为工作方法论。
```
## 故障排查
### Skills 未生效
1. 确认 `.windsurf/skills/` 目录存在且包含 skill 文件夹
2. 每个 skill 需要包含有效 YAML frontmatter 的 `SKILL.md` 文件
3. 重启 Windsurf
## 获取帮助
- 提交 Issuehttps://github.com/jnMetaCode/superpowers-zh/issues
- 项目主页https://github.com/jnMetaCode/superpowers-zh
- Windsurf 文档https://docs.codeium.com/windsurf