mirror of
https://github.com/jnMetaCode/superpowers-zh.git
synced 2026-09-03 07:23:56 +08:00
- Install script detects deer_flow/ and copies skills to skills/custom/ - Add DeerFlow to README tool list and install instructions - Add docs/README.deerflow.md install guide - Add deerflow keyword to package.json - Include workflow-runner skill (20 skills total)
66 lines
1.8 KiB
Markdown
66 lines
1.8 KiB
Markdown
# Superpowers 中文版 — DeerFlow 2.0 安装指南
|
||
|
||
在 [DeerFlow 2.0](https://github.com/bytedance/deer-flow)(字节跳动开源 SuperAgent)中使用 superpowers-zh 的完整指南。
|
||
|
||
## 快速安装
|
||
|
||
```bash
|
||
cd /your/deerflow-project
|
||
npx superpowers-zh
|
||
```
|
||
|
||
安装脚本会自动检测 `deer_flow/` 目录并将 skills 复制到 `skills/custom/`。
|
||
|
||
## 手动安装
|
||
|
||
```bash
|
||
git clone https://github.com/jnMetaCode/superpowers-zh.git
|
||
mkdir -p /your/deerflow-project/skills/custom
|
||
cp -r superpowers-zh/skills/* /your/deerflow-project/skills/custom/
|
||
```
|
||
|
||
## 工作原理
|
||
|
||
DeerFlow 2.0 使用 **Custom Skills** 机制扩展 Agent 能力:
|
||
|
||
- **目录**:`skills/custom/`
|
||
- **格式**:每个 skill 是一个目录,包含 `SKILL.md` 文件(Markdown + YAML frontmatter)
|
||
- **加载方式**:DeerFlow 自动扫描 `skills/custom/` 下的所有目录,通过 `description` 字段匹配 skill
|
||
|
||
### Skills 格式兼容
|
||
|
||
superpowers-zh 的 SKILL.md 文件格式与 DeerFlow 自定义 skills 完全兼容。安装后,DeerFlow 会自动发现并加载所有 skills。
|
||
|
||
### 环境变量
|
||
|
||
如果你的 DeerFlow 项目不在当前目录,可以手动指定安装路径:
|
||
|
||
```bash
|
||
export DEERFLOW_SKILLS_DIR=/path/to/deerflow/skills/custom
|
||
cp -r superpowers-zh/skills/* $DEERFLOW_SKILLS_DIR/
|
||
```
|
||
|
||
## 使用
|
||
|
||
安装后,在 DeerFlow 对话中引用 skill 名称即可:
|
||
|
||
- 「使用头脑风暴来分析这个需求」
|
||
- 「用测试驱动开发来实现这个功能」
|
||
- 「按系统化调试流程排查这个 bug」
|
||
|
||
DeerFlow 会根据 skill 的 `description` 自动匹配并加载。
|
||
|
||
## 更新
|
||
|
||
```bash
|
||
cd /your/deerflow-project
|
||
npx superpowers-zh
|
||
```
|
||
|
||
重新运行安装命令即可更新到最新版本。
|
||
|
||
## 获取帮助
|
||
|
||
- 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
|
||
- DeerFlow 文档:https://github.com/bytedance/deer-flow
|