DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

spec-driven

s

spec-driven

Manifest valid★ 2

Spec-driven development discipline for dsh: five keel skills (anchor/spec/probe/build/audit), three review tools and six spec templates enforce specs-before-code, assumption verification and scope con

hasBundlePatch

简体中文

keel — Spec-Driven Development Discipline Skill Pack

Write the spec first, then the code. Turn "don't ship it broken" from a slogan into skills, tooling, and gates.

keel is a self-contained pluginized skill pack: five skills (Anchor → Spec → Probe → Build → Audit) constrain the agent's coding behavior, three tools provide spec generation and discipline review, and template variants adapt to task size. It works with plugin-everything harnesses such as dsh (DeepSeek Harness), and can also be used standalone without a harness.

Why you need it

The three main causes of coding failure:

  1. Missing spec — you start with vague requirements, and wrong implementation direction costs the most rework;
  2. Unverified assumptions — treating "I assumed" as "it's a fact" builds the plan on quicksand;
  3. Engineering out of control — doing too much (over-engineering) or drifting (scope creep).

keel's response: write the spec and verify assumptions first; no implementation until the spec passes the gates. During implementation, use the rules to prevent over-engineering and change requests to prevent scope creep. Before delivery, audit each acceptance criterion one by one. Discipline is enforced through skills/prompts that constrain agent behavior and through tools that provide deterministic checks — it does not rely on human self-discipline.

Five-step discipline loop

StepSkillActionArtifactGate
1 Anchorkeel-anchorThree boundary questions: what to do, what not to do, what success looks likeThree sentencesAll three sentences verifiable
2 Speckeel-specPick a template by size and generate the specSPEC.mdkeel_review zero errors
3 Probekeel-probeRegister assumptions, flag risks, verify high-risk ones firstASSUMPTIONS.mdAll [High] assumptions resolved (enforced by KEEL-0303)
4 Buildkeel-buildImplement per the spec, follow the ten rules and the scope guardrailsCodeSpec frozen, changes go through change requests
5 Auditkeel-auditCheck acceptance criteria one by one, record deviations and retroAUDIT.mdNo unaddressed ❌ (enforced by KEEL-0403)

Failure post-mortems follow the same discipline: write a failure-cause spec first, verify assumptions, then fix.

Quick start

Option 1: Plug into dsh (pluginized harness)

  1. Put this directory into your project, or copy it anywhere;
  2. Create a cordis.yml patch (you can copy cordis.example.yml from the repo root) pointing to this plugin's entry:
- insert:
    - id: keel
      name: '/absolute/path/spec-driven/src/index.ts'
  1. Start the harness and load the patch:
dsh web --patch ./cordis.yml

Once loaded, the model gains three tools (keel_catalog, keel_spec, keel_review) and five skills (keel-anchor, keel-spec, keel-probe, keel-build, keel-audit). See docs/INTEGRATION.md for details.

Option 2: Bare-metal CLI (no harness)

node src/cli.ts catalog
node src/cli.ts scaffold spec SPEC.md "--title=Example" "--goal=Goal" "--in_scope=- behavior" "--out_of_scope=- not doing" "--requirements=- R-01" "--acceptance=- AC-01" "--verification=command"
node src/cli.ts review SPEC.md

Values containing spaces must be quoted (as above). review exits with code 0 when there are no errors (usable as a CI gate) and 1 when errors exist. Zero dependencies; runs directly on Node ≥ 22.18.

Installing in DSH

keel ships a dsh.bundle manifest (cordis.patch.yml, referenced from package.json), so it installs and activates in one command:

dsh plugin --profile demo add github:JohnXu22786/spec-driven

The bundler inserts a plugin row (name: keel) into the profile and dsh resolves the package entry (src/index.ts), registering the three tools and five skills on load. Manual local loading via a cordis.yml patch still works (see docs/INTEGRATION.md).

Tool interface

ToolPurpose
keel_catalogList the skills and templates (routing entry)
keel_specGenerate spec-class files from a template (template/path/fields args; rejects the whole call if any field is missing)
keel_reviewReview SPEC/ASSUMPTIONS/AUDIT files; outputs a report with rule IDs and line numbers

Spec templates (with variants)

TemplateSizeUse
spec.minimalMicro taskSingle file, single behavior, done in under half an hour
specStandardRegular feature tasks
spec.featureLarge taskInvolves interfaces, data, and error paths
assumptions—Assumption register (risk levels + verification conclusions)
audit—Acceptance audit table (result + evidence + deviation + retro)
change-request—Change request (the only entry for scope changes after the spec is frozen)

Configuration

Passed via the config field of the host patch line (defaults are used without a harness):

{
  "strictness": "relaxed",        // relaxed | strict (strict upgrades warnings to errors)
  "requireAssumptions": true,     // require an ASSUMPTIONS*.md file in the same directory when reviewing a spec
  "maxFindings": 100              // cap on findings per review report (1–1000)
}

Invalid configuration fails at load time with a message containing fix guidance.

Documentation index

  • docs/METHODOLOGY.md — methodology overview: five-step discipline loop, the ten rules against over-engineering, scope-creep guardrails, review rule list (KEEL-*)
  • docs/INTEGRATION.md — dsh integration: loading, registration interface, the three ways to load skills, unload and reload
  • docs/PLANNING_BRIDGE.md — bridging to planning/task-breakdown skills: how spec artifacts feed into planning
  • examples/ — good examples (spec/assumptions/audit) and counter-examples (demonstrating the review engine's findings)

Development

npm test          # node --test all tests (zero test dependencies)
npm run typecheck # tsc --noEmit
npm run cli       # bare CLI

Running tests and type checks requires Node ≥ 22.18; npm install only installs dev-time type packages (typescript, @types/node); zero runtime dependencies.

License

MIT, see LICENSE.

Compatibility

DSH 0.2.2-alpha.2: failedDSH 0.2.1-rc.3: failedDSH 0.2.1-rc.4: failed

Versions

Latest versionPublishedSize
0.490.0——
0.491.0——
0.493.0——
0.488.0——
0.463.0——
0.463.1——
0.464.0——
0.465.0——
0.466.0——
0.467.0——
0.467.1——
0.468.0——
0.469.0——
0.469.1——
0.470.0——
0.471.0——
0.472.0——
0.473.0——
0.474.0——
0.475.0——

Comments

Loading…

Similar plugins

specpowers

by SAXEM1997

SpecPowers — SDD+TDD engineering methodology as a DeepSeek Harness (DSH) plugin and Claude Code skill group: 6 skills fusing OpenSpec spec-driven development with Superpowers TDD discipline into one Phase 0→4 workflow.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 6

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add specpowers

by lonelymoon87

Specification-driven development toolkit for DeepSeek Harness.

Workflow & AutomationDevelopment & InfrastructureManifest valid

★ 5

↓ 269/wk

MIT

TypeScript

Aug 21, 2026

dsh plugin --profile web add dsh-specflow

by MoonCoder-HAPPY

Workflow skill pack for DSH: requirements, specs, implementation, review, repair, bugs, and research

Workflow & AutomationDevelopment & InfrastructureManifest valid

★ 4

↓ 211/wk

MIT

JavaScript

Oct 29, 2026

dsh plugin --profile web add specworkflow

by tetckx

Multi-lens structural analysis skill: adversarial-first analysis across 16 lenses in 4 categories with 10 structural tools, confidence calibration, and fact-bound layered output.

Manifest valid

★ 6

MIT

Aug 21, 2026

dsh plugin --profile web add deep-structural-analysis-skill

by snow-The

Curated engineering skills for DeepSeek Harness: handoff, grilling, teach, spec/ticket workflows, writing skills, and the DESIGN.md format. Cross-platform (pure SKILL.md text, no platform code).

Manifest valid

★ 0

MIT

TypeScript

Oct 27, 2026

dsh plugin --profile web add @snow-the/dsh-skill-pack

by 82c86b8z86-stack

Engineering workflow layer for DeepSeek Harness (dsh): a disciplined-engineer agent preset with five gated phases — requirements clarification, plan approval, TDD, parallel subagent execution, and ver

Workflow & AutomationTools & CapabilitiesManifest valid

★ 4

MIT

JavaScript

Oct 11, 2026

dsh plugin --profile web add dsh-engineering-workflow