DeepSeek Harness Plugin

LittleBlackTong/dsh-plugin-superpowers

Stars ★ 0 Downloads (30d) 1,264 Category Skills Added 2026-10-08 npm dsh-plugin-superpowers

Ports the obra/superpowers methodology as 14 native DSH skills — brainstorming, writing-plans, executing-plans, subagent-driven development, test-driven development, systematic debugging, parallel agent dispatch, git worktrees, code review, verification before completion and skill authoring — served through the DSH skills registry with their scripts, references and cross-links intact (frontmatter folded into a manifest, prefixes realigned to DSH skill names). Requires DSH session format v4 (official DeepSeek Harness 0.1.7+): the /superpowers slash command declares the producer-owned source kind plugin:dsh-plugin-superpowers.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-plugin-superpowers

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:LittleBlackTong/dsh-plugin-superpowers

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

把 obra/superpowers 的 14 个开发方法论技能移植进 DeepSeek Harness:插件挂载后,这些技能注册到 DSH skill registry,skill 工具即可加载,任何会话都能调用。

技能清单

技能 用途
using-superpowers 入口:任何响应(含澄清问题)之前先检查是否适用技能
brainstorming 创造性工作前:探索需求、约束与设计,产出 spec
writing-plans 把 spec 拆成 bite-size 任务、带 TDD 循环的实现计划
executing-plans 计划执行:按 checkpoint 批量推进、留痕
subagent-driven-development 每任务一个全新 subagent + 两阶段评审(推荐执行方式)
test-driven-development RED-GREEN-REFACTOR 纪律
systematic-debugging 证据优先的系统化调试工作流
dispatching-parallel-agents 无共享状态的独立任务并行派发
using-git-worktrees 每特性一个隔离 worktree
finishing-a-development-branch 完成后的集成决策流程
requesting-code-review / receiving-code-review 代码评审闭环
verification-before-completion 声称完成前先跑验证命令、先证据后断言
writing-skills 元技能:如何编写并测试新技能

安装

pnpm add dsh-plugin-superpowers

在 profile 的 package.json dsh.profile.bundles 数组中加入 "dsh-plugin-superpowers",重启 dsh 生效。插件的 cordis.patch.yml(通过 dsh.bundle.patch 声明)会自动插入插件行,无需手改 profile 的 patch 层。

配置

key 默认 含义
enabled true 总开关
enabledSkills 全部 可选白名单,如 ["brainstorming", "writing-plans"]

适配说明

原仓库是 Claude Code 格式的 SKILL.md(YAML frontmatter 的 name/description 与 DSH 兼容)。转换只做了两处必要适配:

  1. 剥离 frontmatter(name/description 收入 skills/manifest.json),正文作为技能内容。
  2. 去掉技能交叉引用里的 superpowers: 前缀(如 superpowers:writing-plans → writing-plans),使引用与 DSH 技能名对齐。

辅助文件(评审 prompt、scripts/、references/)原样保留在 skills/<name>/ 下,resourceBase 指向对应目录,正文里的相对引用依然有效。

DSH 版本要求

斜杠命令注入的消息使用 producer-owned source kind plugin:dsh-plugin-superpowers,要求 DSH session format v4(官方 DeepSeek Harness 0.1.7+)。

v4 的原生准入拒绝 v3 时代的 {kind:'plugin', plugin:...} wrapper,报 format v4 message requires a producer-owned source kind;该错误被 dsh-agent-loop 包成 code: "UNKNOWN",所以在界面上会显示成 ... source kind UNKNOWN(UNKNOWN 是错误码,不是 kind 值)。

v4 与 v3 的白名单互斥、无法同时兼容,0.1.0 在 v4 上会触发该错误;旧版 DSH 请停留在 0.1.0。

测试

pnpm test

mock ctx.skills 驱动 apply(),断言 14 个技能全部注册、内容非空、元数据合法。

License

MIT。技能内容版权归 obra/superpowers 项目(MIT)。

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.