Superpowers(DSH 技能包)
> Adapts obra/superpowers — a complete software development methodology for coding agents — into the DSH skills format. By Jesse Vincent and the Prime Radiant team. MIT License.
这是什么
把 AI 编程助手从"听话的工具人"变成"会干活的工程团队"。装上之后,DSH 会自动按 superpowers 工作流执行任何编程任务:
brainstorming → writing-plans → using-git-worktrees
↓
test-driven-development → subagent-driven-development → requesting-code-review
↓
finishing-a-development-branch → verification-before-completion
4 大默认行为:
1. 🔴🟢🔵 任何代码改动先用 TDD(写失败测试 → 看红 → 写最小代码 → 看绿 → 重构)
2. 🤖 大任务自动派子代理执行,附两道审查(spec 合规 + 代码质量)
3. 🪞 任务之间互相 code review,问题按严重程度分级
4. ✅ 完成前用 verification-before-completion 自检,不靠嘴说"搞定"
包含的 14 个子技能
| 技能 | 用途 |
|---|---|
using-superpowers |
元技能 —— 启动时先读这个,了解整套方法论 |
brainstorming |
苏格拉底式澄清需求,避免直接动手写错代码 |
writing-plans |
把活拆成 2-5 分钟可执行任务,每步有明确文件路径 |
using-git-worktrees |
在独立分支/工作区干活,不污染主线 |
test-driven-development |
强制 RED-GREEN-REFACTOR,含反模式参考 |
subagent-driven-development |
派新子代理逐项执行 + 两道审查 |
executing-plans |
批量执行 + 人为 checkpoint |
dispatching-parallel-agents |
并行子代理 |
requesting-code-review |
发起代码审查 |
receiving-code-review |
接收并响应审查反馈 |
finishing-a-development-branch |
完工:合并 / PR / 保留 / 丢弃 |
systematic-debugging |
4 阶段根因排查法 |
verification-before-completion |
完成前自检,确保真的修好了 |
writing-skills |
编写新技能的方法论(meta) |
核心理念
- Test-Driven Development — 测试先行,永远
- Systematic over ad-hoc — 系统化优于拍脑袋
- Complexity reduction — 简化是首要目标
- Evidence over claims — 验证完才声明成功
安装方式
方法 A:作为 DSH 技能(手动)
# 解压到任意 DSH preset 的 skills/ 目录下
# 例如:
# $DSH_HOME/.agent-presets/<your-preset>/skills/superpowers/
# 或者解到独立位置,通过 skill 工具按需加载。
解压后,子技能在 resources/skills/<skill-name>/SKILL.md。
方法 B:作为整套 DSH 预设(推荐)
如果你想要完整的 superpowers 体验(persona 强制 + 自动触发检查),把整个 resources/skills/ 目录拷到 preset 的 skills/ 目录,并在 agent.cordis.yml 的 persona 里加上:
- id: persona
name: '@deepseek-ai/dsh-persona'
config:
prefix: |
Before any coding task, you MUST check for relevant skills using the
`skill` tool. Mandatory workflows, not suggestions.
Follow: brainstorming → writing-plans → TDD → subagent-driven-development
→ code-review → verification-before-completion.
参考实现:obra/superpowers 的官方 DSH 适配:参考现有 preset 的写法即可。
触发时机
- 任何写代码、改代码、review 代码、debug的任务前必读
using-superpowers元技能 - 拿到新需求 → 触发
brainstorming - 开始编码 → 触发
test-driven-development - 大任务拆分后 → 触发
subagent-driven-development - 任务间 → 触发
requesting-code-review - 自报"完成"前 → 触发
verification-before-completion
适用场景
✅ 适合: 软件开发、调试、重构、写测试、code review、性能优化、新功能开发
❌ 不适合: 纯内容创作(写作、运营、翻译)、纯问答、闲聊
许可与归属
- License: MIT(继承自 obra/superpowers)
- 原作者: Jesse Vincent / Prime Radiant
- 上游: https://github.com/obra/superpowers
- 本包版本: 适配 DSH(DeepSeek Harness Desktop)
- 打包时间: 2026-09
完整上游 RELEASE-NOTES 长达 94KB,建议直接访问 https://github.com/obra/superpowers/blob/main/RELEASE-NOTES.md 获取最新变更。
If you find this useful, ⭐ the upstream: https://github.com/obra/superpowers