<< All versions

Skill v1.0.0

Automated scan100/100
cadasto/sdd-plugin/spec-driven-development
──Details
PublishedSeptember 27, 2026 at 09:32 AM
Content Hashsha256:2ba39ca0ffef579d...
Git SHA
──Files
Files (1 file, 5.3 KB)
SKILL.md5.3 KBactive
SKILL.md · 67 lines · 5.3 KB

version: "1.0.0" name: spec-driven-development description: This skill should be used when the user asks "what is SDD", "explain spec-driven development", "how does the spec workflow work here", "which /sdd command do I use", or asks to implement, build, or add behaviour in a repository with docs/.sdd.yaml before a REQ or spec exists. Explains the methodology, routes intent to the right sdd-* skill, and blocks code-first work. Not for performing an artefact action (sdd-specify, sdd-deliver, sdd-trace, sdd-review). allowed-tools: Read, Grep, Glob


Spec-Driven Development — awareness, routing & integration

references/… resolves from the plugin root: ${CLAUDE_PLUGIN_ROOT}/references/… on Claude Code, or Glob for the installed copy.

The always-on layer for SDD. It does no artefact work itself; it explains the methodology, routes to the skill that does the work, and states where an optional general engineering plugin still fits. Ground every answer in references/sdd-methodology.md — do not improvise rules.

Core idea (state this when explaining SDD)

The specification — not the code, not the prompt — is the source of truth. Code is derived from it and measured against it; when they disagree the spec wins (unless a section is explicitly implementation-aligned). This plugin targets the spec-anchored rung, backed by stable identifiers, a machine-checked traceability map, and CI that fails on drift. Full detail: references/sdd-methodology.md.

The delivery surface

/sdd-specify → /sdd-deliver → /sdd-review (+ --panel) → /sdd-triage → /sdd-archive

Route to SDD

IntentRoute to
Set up / extend the SDD docs structuresdd-scaffold
Capture a capability, write normative behaviour, or record a decision (REQ/SPEC/ADR)sdd-specify
Amend an existing spec § — any normative change, one sentence or many, is full lanesdd-specify
Deliver a REQ: preconditions, plan, workers, gates, draft PRsdd-deliver
Implement one bounded task from a briefsdd-implementer agent (dispatched by sdd-deliver)
Spec-aware review into the ledger; prompt blocks for the panelsdd-review
Work a review round: merge findings, verify, fix, resolve, re-requestsdd-triage
Traceability / drift / spec-check / a REQ's contextsdd-trace
Run the drift gate or lint the docs (report-only)sdd-trace
Regenerate the indexes and status lines from the mapsdd-specify / sdd-archive / sdd-triage (they run the vendored generate)
Does the code satisfy the SPEC § it cites, clause by clausesdd-spec-conformance-reviewer agent
Review a requirement, spec, or ADR for boundary violationssdd-doc-reviewer agent
Close out the requirement record and the PR body — in the implementing PRsdd-archive

Optional: a general engineering plugin

A general engineering plugin such as superpowers is optional. Exploration workflows like brainstorming are a good way to open a new idea before /sdd-specify. Planning, task execution, verification, code review, and branch finishing are covered here by /sdd-deliver, the sdd-implementer agent, the review ledger, and the PR-body close-out; running both sets over the same work duplicates the loop and splits the plan's home. Plans belong in paths.plans in docs/.sdd.yaml (default docs/plans/); if a tool wants to write them somewhere else, point it there rather than keeping a second tree.

Guardrails this layer enforces

  • No code-first. If asked to implement behaviour for which no `REQ` and no spec exist, do not jump to code. Redirect: explore first if the idea is new, record with sdd-specify, then deliver with sdd-deliver. The exception is implementation-aligned work on shipped code — the spec is updated in the same change.
  • One source of truth. The canonical spec lives in paths.specifications (default docs/specifications/). A plan is a working file under paths.plans, never committed and never a source of truth; never let a second tree of design documents become one either.
  • One home per fact — in process prose too. The commit body, PR body, changelog, and review comments each carry only what lives nowhere else; cite identifiers (REQ/SPEC §/SHA) instead of restating. references/artefact-prose.md.
  • Don't settle open questions silently — a genuine fork goes to an ADR (sdd-specify) or a STRAND, or back to brainstorming.
  • Check the descriptor. Repo conventions live in docs/.sdd.yaml; if it is missing, the repo isn't scaffolded (route to sdd-scaffold).
  • Never hand-edit a generated block. Every skill that changes the map or the frontmatter runs sdd-check generate before it stops (references/sdd-check.md). This skill has no Bash grant and performs no artefact work.

Reference

  • references/sdd-methodology.md — the authoritative grounding (ladder, document kinds, RFC-2119, identifiers, traceability, two modes, the working plan, lanes, review discipline, anti-patterns).
  • references/sdd-check.md — the vendored drift gate's commands, families, and report format.
  • references/traceability-schema.md — the traceability.yaml and .sdd.yaml schemas.
  • references/artefact-prose.md — one home per fact, the findings ledger, the prose register.
All versionsv1.0.1 →