DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Specpowers — DSH Plugin for DeepSeek Harness
← Plugins
S

specpowers

Specpowers

SpecPowers for the DeepSeek Harness and Claude Code: a spec-driven + test-driven engineering skill group fusing OpenSpec and Superpowers

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:SAXEM1997/specpowers#876bba8b0ae9c65816aceff1b6cacc6d56a30888
READMECompatibilityVersions

Compatibility and provenance

Specpowers is published as specpowers and currently resolves to version 1.0.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
9/17/2026

Versions

1.0.0stable
9/17/2026

Related plugins

Loading related plugins…

Latest
1.0.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
9/18/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocol

README

English | 简体中文

specpowers

specpowers

SDD + TDD 工程化开发方法论 — DeepSeek Harness 插件 + Claude Code 技能组

specpowers 融合 OpenSpec(规范驱动开发)与 Superpowers(测试驱动纪律),通过衔接指令集把两者桥接成完整的 Phase 0→4 开发工作流。它防止需求偏离(做了不需要的东西)与实现缺陷(需要的东西做错了),并通过全流程逐层审查 Gate 防止上下文腐化与产物质量下降。

flowchart LR
    classDef src fill:#ddf4ff,stroke:#0969da,stroke-width:2px,color:#0a3069
    classDef dsh fill:#ddf4ff,stroke:#0969da,stroke-width:2px,color:#0a3069
    classDef cc fill:#fff8c5,stroke:#9a6700,stroke-width:2px,color:#7d4e00
    classDef cx fill:#f6f8fa,stroke:#8c959f,stroke-width:2px,color:#57606a,stroke-dasharray:6 4

    SRC["skills/ — 双平台唯一技能真源<br/>6 个技能 · refs/ · scripts/"]:::src

    SRC ==> DSH["DeepSeek Harness"]:::dsh
    SRC ==> CC["Claude Code"]:::cc
    SRC -.->|预留 · 未验证| CX["Codex CLI"]:::cx

    DSH --> D["package.json · cordis.patch.yml<br/>lib/index.js → ctx.skills<br/>skill 工具 · 裸名寻址"]:::dsh
    CC --> C[".claude-plugin/plugin.json<br/>skills: ./skills<br/>Skill 工具 · 裸名 + 插件前缀回退"]:::cc
    CX --> X["目标承载路径<br/>.agents/skills/ · 每技能一目录"]:::cx

技能组架构

specpowers (入口 — 决策树 + 路由 + 状态机)
  ├── specpowers-design  Phase 0+1: 需求澄清 → OpenSpec 格式转换
  ├── specpowers-plan    Phase 2: OpenSpec → TDD plan 衔接
  ├── specpowers-apply   Phase 3: subagent-driven TDD 实现 + Gate 3 审查
  ├── specpowers-review  审查体系: 两级路由(关键/完整)/ 最终通读
  └── specpowers-archive Phase 4: 硬 Gate 链验证归档
技能Phase职责
specpowers全局决策模式判定(微小/中等/复杂/大规模)+ 路由 + 状态机
specpowers-design0+1brainstorming → OpenSpec 格式转换 + Gate 0/1
specpowers-plan2writing-plans 衔接 + Gate 2
specpowers-apply3subagent-driven TDD 逐 task 执行 + code-review + spec-compliance-check
specpowers-review横切两级路由(按轮数×规模自动判定:关键/完整审查)/ 防退化机制
specpowers-archive4全量测试 → openspec validate → archive → 完整性验证

安装

前置依赖

工具用途安装验证
DeepSeek Harness 或 Claude Code运行环境dsh --version / claude --version
superpowers-dsh(DSH)或 Superpowers(Claude Code)TDD 技能组(硬依赖)见下方依赖安装步骤
OpenSpec CLISDD 规范管理(硬依赖)openspec --version
CodeGraph(可选)代码知识图谱仓库根 .codegraph/ 目录 / MCP codegraph_explore
Graphify(可选)多模态知识图谱(架构理解)/graphify 命令

在 DeepSeek Harness 中安装

最简单——在任意目录执行:

npx @deepseek-ai/dsh plugin --profile web add github:SAXEM1997/specpowers

要可复现地钉住版本,在 # 后加标签(推荐生产使用):

npx @deepseek-ai/dsh plugin --profile web add github:SAXEM1997/specpowers#v1.0.0

不加 # 时装的是 main 的当前 HEAD——今天装与以后装拿到的代码可能不同。dsh plugin 底层是 pnpm,# 后同样可以写 commit SHA。

装完后重启 profile(停掉后重新运行 dsh web / npx @deepseek-ai/dsh web),刷新浏览器即可。

也可以直接让 DeepSeek Harness 自己装——新建对话,把这句话发给它:

帮我安装这个链接里边的插件:https://github.com/SAXEM1997/specpowers

重启并验证层已组合:

dsh --profile web --dump-config     # 必须出现 specpowers 行

之后 6 个技能会出现在 agent 技能目录中(specpowers 是入口技能),可用 skill 工具加载。

卸载:

dsh plugin --profile web remove specpowers
# 卸载后同样需要重启 profile

必须用 dsh plugin 形式——直接 npm install specpowers 只会把包当普通库装到当前目录,不会注册进任何 profile,技能永远不会被加载。

在 Claude Code 中安装

方式 1: Plugin Marketplace(推荐)

/plugin marketplace add https://github.com/SAXEM1997/specpowers.git
/plugin install specpowers@specpowers-marketplace

方式 2: 手动安装

git clone https://github.com/SAXEM1997/specpowers.git
cp -r specpowers/skills/* ~/.claude/skills/
cp -r specpowers/commands/* ~/.claude/commands/

依赖安装步骤

specpowers 自身只提供工作流技能,两类依赖需要单独安装。.claude/ 目录属于用户本地内容,不随仓库分发,必须由下面的步骤重建。

1. OpenSpec CLI(必需)

npm install -g @fission-ai/openspec
openspec init --tools claude     # Claude Code:生成 .claude/skills/openspec-*/ 与 .claude/commands/opsx/
openspec init --tools codex      # Codex:生成 .agents/skills/openspec-*/

openspec init 生成的 openspec-* 技能与 /opsx:* 命令由 OpenSpec 拥有,会被 openspec update 刷新——不要手改。

2. Superpowers 技能组(必需)

DSH 用户:

npx @deepseek-ai/dsh plugin --profile web add superpowers-dsh

Claude Code 用户:安装 superpowers 插件。

specpowers 硬依赖其中 8 个上游技能,缺失时对应 Phase 无法执行:

brainstorming、writing-plans、subagent-driven-development、test-driven-development、systematic-debugging、requesting-code-review、verification-before-completion、finishing-a-development-branch

3. CodeGraph / Graphify(可选) — 仅影响架构理解能力,不影响工作流执行。

项目初始化

在目标项目中启用 specpowers:

□ 运行 openspec init(生成 openspec/ 目录与工具集成)
□ 安装 superpowers 技能组(见上)
□ 创建 docs/superpowers/ 目录结构
□ 配置 TEST_COMMAND(全量测试命令,可选)

项目模板详见 skills/specpowers/refs/project-template.md。

快速开始

用自然语言触发:

  • "启动 specpowers 流程"
  • "用 SDD+TDD 开发这个功能"
  • "开始新功能的 specpowers 工作流"

Claude Code 用户另可用 /specpowers 斜杠命令。DSH 用户直接加载入口技能即可:skill(name: "specpowers")。

执行模式

入口技能按文件数 + 复杂度自动判定:

模式文件数Phase 流程审查
微小1-3轻量探索 → 子代理执行 → 完成两级路由自动判定
中等4-19Phase 0→1→2→3→4 完整流程两级路由自动判定
复杂20-49Phase 2 启用 UltraPlan两级路由自动判定
大规模50+Phase 2 启用 Workflow两级路由自动判定

Phase 工作流

Phase 0: 需求澄清 + 方案设计 (brainstorming)
  ├── 探索项目上下文
  ├── 连环提问澄清需求
  ├── 方案探讨 + 设计呈现(逐段审批)
  ├── 写设计文档 + 自审
  └── 审批 Gate → Gate 0 审查
       ↓
Phase 1: OpenSpec 格式转换 + 对照验证
  ├── 设计 doc → OpenSpec 四件套(proposal/design/specs/tasks)
  ├── 强制对照验证(vs 原始需求)
  └── 人工审核 → Gate 1 审查
       ↓
Phase 2: 衔接阶段 (writing-plans)
  ├── OpenSpec 产物 → Superpowers TDD plan
  ├── 粒度转换 + 场景→测试映射
  └── Gate 2 审查
       ↓
Phase 3: subagent-driven TDD 实现
  ├── 每个 task 独立子 Agent 执行(新鲜上下文)
  ├── RED-GREEN-REFACTOR-COMMIT 逐 task 执行
  ├── code-review + spec-compliance-check
  └── Gate 3 审查
       ↓
Phase 4: 验证 + 归档
  ├── 全量测试 Gate
  ├── openspec validate Gate
  ├── /opsx:archive Gate
  └── 完整性验证 Gate

审查体系

审查层级由 specpowers-review 内部两级路由矩阵自动判定(按评审轮数 × 待评审物规模 × 行数地板),用户可手动覆盖:

  • 关键:微小任务全程、中等任务第 2 轮+(对齐 + 监督 2-agent,~0.4x token)
  • 完整:首轮审查、复杂/大规模任务;代码类按 bucket 分叉子路径——加强审查(4-9 文件:code-review + 对齐单审)/ UltraReview(≥10 文件:6-agent 团队);文档类为 3-agent 多模型渐进式

防退化机制全部保留并为 tier 路由补充防护。

多模型渐进式审查

三 Agent 并行独立审查,使用不同模型:结构 Agent(完整性/冗余/一致性,强推理模型)、落地 Agent(可执行性/兼容性/边界,快速模型)、对齐 Agent(对齐原始需求/错漏检测/歧义识别,与前两者不同模型)。

UltraReview

6 Agent 团队审查(build/code/specs/docs/deps/对齐),含 Step A-F 逐条分析协议。

收敛判定

每个 Gate 审查完成后输出收敛判定([CONVERGENCE_CHECK] 标记),基于本轮原始发现数 p*_raw 计算 5 个触发条件(任一满足默认继续下一轮):① p0_raw > 1;② p1_raw > 5;③ P0+P1+P2 合计 > 10;④ 全级合计 > 20;⑤ 本轮 p1_raw 较上轮新增 > 3。全部不满足或用户显式终止时退出(action=exit)并执行最终通读。配套反偷懒:RAW_COUNT 结构化计数 + 合计比对 + p0_raw≥1 时严重度校准抽查。

平台适配

平台技能调用形式技能承载路径状态
DeepSeek Harnessskill(name: "specpowers")插件包 skills/,由 lib/index.js provider 注册进 host 技能注册表✅ 已实现
Claude Code裸名可用则 Skill({skill: "specpowers"});技能注册表要求插件命名空间时回退 Skill({skill: "specpowers:specpowers"}).claude-plugin/plugin.json 的 skills: "./skills"✅ 已实现
Codex CLI技能名直呼(skills-only 工具).agents/skills/<name>/SKILL.md🔲 预留·未验证

平台差异的完整映射(工具对照、hook 与斜杠命令缺失时的降级路径)见 skills/specpowers/refs/platform-tools.md。

目录结构

specpowers/
├── package.json                       # DSH 插件清单(dsh.bundle.patch)
├── cordis.patch.yml                   # DSH bundle 层补丁
├── lib/index.js                       # DSH 技能 provider(ctx.skills)
├── scripts/verify-dsh-provider.mjs    # 打包自检(零依赖)
├── .claude-plugin/                    # Claude Code 清单
│   ├── marketplace.json
│   └── plugin.json
├── skills/                            # ★ 双平台唯一技能真源
│   ├── specpowers/SKILL.md            # 入口技能
│   │   ├── refs/                      # 入门指南、项目模板、UltraPlan 提示词、平台适配
│   │   └── scripts/                   # 状态机 / 守卫 / hook 校验(零依赖)
│   ├── specpowers-design/SKILL.md     # Phase 0+1
│   ├── specpowers-plan/SKILL.md       # Phase 2
│   ├── specpowers-apply/SKILL.md      # Phase 3
│   ├── specpowers-review/SKILL.md     # 审查体系
│   └── specpowers-archive/SKILL.md    # Phase 4
├── commands/specpowers.md             # Claude Code /specpowers 命令
├── static/logo.png                    # 首页图(文生图生成)
├── docs/superpowers/{specs,plans}/    # 本项目的设计与计划(开发史)
├── AGENTS.md                          # 厂商中立项目指令(正本)
├── CLAUDE.md                          # Claude Code 入口(导入 AGENTS.md)
├── README.md / README.en.md
├── NOTICE
└── LICENSE

.claude/(OpenSpec 生成物)与 .superpowers/(运行时状态)属于用户本地内容,已在 .gitignore 中排除。

开发

技能文件是 Markdown + YAML frontmatter。修改后需确保 frontmatter 的 name 与 description 格式正确、技能间引用名与实际一致、必选子技能路径正确。

运行打包自检(零依赖,校验清单有效性 + provider list()/get() 契约 + 相对资源可达):

node scripts/verify-dsh-provider.mjs

另有一个内网信息/凭据泄漏自检(同样零依赖):

node scripts/verify-no-internal-refs.mjs

它扫描已追踪文件与提交信息中的内网 TLD、私网 IPv4、凭据前缀与私钥块;项目专属主机名从已 gitignore 的 .internal-refs.txt 读取,因此脚本本身可安全公开。建议在 pre-push 或 CI 中执行。

改 frontmatter 解析器时必读:DSH 的 description 是技能路由的唯一依据。本仓库的 lib/index.js 解析器支持 4 种标量形态(单行、折叠块 >/>-、字面块 |/|-、多行 plain 续行)。若退化为只支持单行标量,specpowers 与 specpowers-review 的 description 会变成字面 >/>-,specpowers-design 与 specpowers-plan 的会被截断——技能会「看得见但选不中」。改完务必跑上面的自检。

技能评测套件位于 skills/*/evals/:声明式 YAML 用例 + 规则断言。运行器是开源项目 skill-up(Alibaba,Apache-2.0),本仓库的 eval.yaml(schema_version: v1alpha1)与 cases/*.yaml 即其评测格式。

curl -fsSL https://raw.githubusercontent.com/alibaba/skill-up/main/install.sh | bash
skill-up validate <path>
skill-up run <path>

<path> 为技能目录(技能的 evals/ 与其 SKILL.md 同级);validate 校验用例,run 执行评测,输出写到该目录下的 <skill>-workspace/(如 iteration-1/result.json),已被 .gitignore 排除。skill-up 内置 claude_code / codex / qodercli / qwen_code 四种 Agent Engine,并支持用 engine.custom 接入自定义引擎;DeepSeek Harness 不是内置引擎,本套件需在上述内置引擎之一或自定义引擎下运行。新增用例见上游文档。

详见 AGENTS.md 了解开发工作流与关键设计决策。

许可

MIT,见 LICENSE。上游技能内容改编自 Superpowers(MIT,© 2025 Jesse Vincent)与 OpenSpec(MIT,© 2024 OpenSpec Contributors);完整上游版权声明见 NOTICE。