specpowers: SDD + TDD Engineering Development Workflow Plugin

Preface

The DeepSeek Harness plugin and Claude Code skill set fuse OpenSpec (Specification-Driven Development) with Superpowers (Test-Driven Discipline), bridging the two into a complete Phase 0→4 development workflow through an interstitial instruction set. It prevents requirement drift (building things that aren’t needed) and implementation defects (building the needed things incorrectly), and guards against context corruption and deliverable quality degradation via layered review Gates throughout the entire process.

Core Features

Built on decision trees, routing, and state machine design, this plugin provides the following core capabilities:

  • Skill set architecture: Comprising 6 core skills and a two-level review system.
    • specpowers:Global entry point, responsible for mode determination (tiny/medium/complex/large-scale).
    • specpowers-design:Phase 0+1, responsible for requirement clarification and OpenSpec format conversion.
    • specpowers-plan:Phase 2, bridging OpenSpec and TDD plan.
    • specpowers-apply:Phase 3, executing subagent-driven TDD implementation.
    • specpowers-review:Cross-cutting review, executing two-level routing (critical/full).
    • specpowers-archive:Phase 4, verifying archival via a hard Gate chain.
  • Review system:Two-level routing (automatically determined by rounds × scale: critical/full review), supporting multi-model progressive review and UltraReview (a 6-agent team review).

Installation and Dependencies

Prerequisites

The following tools are required as hard dependencies to run this plugin:

Tool Purpose
DeepSeek Harness or Claude Code Runtime environment
superpowers-dsh (DSH) or Superpowers (Claude Code) TDD skill set (hard dependency)
OpenSpec CLI SDD specification management (hard dependency)

Installation Steps

Run the following command in any directory to install the plugin:

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

To pin a version (recommended for production use):

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

After installation, the profile must be restarted (stop and re-run dsh web or npx @deepseek-ai/dsh web).

Dependency Installation

specpowers itself only provides workflow skills; the following dependencies must be installed separately:

  1. OpenSpec CLI (Required):
    npm install -g @fission-ai/openspec
    openspec init --tools claude  # Claude Code users
    openspec init --tools codex   # Codex users
  1. Superpowers skill set (Required):

    • DSH users: npx @deepseek-ai/dsh plugin --profile web add superpowers-dsh
    • Claude Code users: install the superpowers plugin
  2. Upstream skills: specpowers hard-depends on the following 8 upstream skills; if any are missing, the corresponding Phase cannot execute:

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

Note: Installation must be performed via dsh plugin. A direct npm install specpowers only installs the package as an ordinary library; it will not be registered into the profile, and the skills will never be loaded.

Usage

Triggering

Enter any of the following commands in the conversation to launch:

  • “Start the specpowers workflow”
  • “Develop this feature with SDD+TDD”
  • “Begin the specpowers workflow for a new feature”

Skill Invocation

  • DeepSeek Harness: Load the entry skill directly
    skill(name: "specpowers")
  • Claude Code: Use the slash command or tool invocation
    /specpowers

Phase Workflow

The plugin automatically determines the execution mode (tiny/medium/complex/large-scale) based on file count and complexity, and automatically routes to the corresponding Phase flow:

  1. Phase 0+1 (Design & Conversion): Requirement clarification via specpowers-design, generation of OpenSpec-format documents, and passing Gate 0/1 review.
  2. Phase 2 (Bridging): Conversion of OpenSpec into a TDD plan via specpowers-plan, passing Gate 2 review.
  3. Phase 3 (Implementation): Executing subagent-driven TDD via specpowers-apply, including the RED-GREEN-REFACTOR-COMMIT flow and code compliance checks, passing Gate 3 review.
  4. Phase 4 (Archive): Full testing, openspec validation, and archiving via specpowers-archive, passing the completeness verification Gate.

Platform Adaptation & Architecture

The plugin supports both the DeepSeek Harness and Claude Code platforms, though the skill registration mechanisms differ slightly:

  • DeepSeek Harness: Registered into the host skill registry via the lib/index.js provider.
  • Claude Code: Configured via .claude-plugin/plugin.json, supporting bare-name or namespace fallback.

Skill sources are located in the skills/ directory and are loaded and executed by DSH or Claude Code.


Project links:
* GitHub
* SkillHub directory

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye