georgeracu/sdd
Spec-driven development skills: EARS requirements, design, blocking review gates, traced tasks, implementation audit, QA review and spec maintenance.
Use when a work item, or the user, adds, renames or redefines specific business terms, a bounded context or a message between contexts. Agrees each change with the user one question at a time and writes it to project/domain/ as proposed. Runs after sdd:spec-discovery approval and before sdd:spec-generator. Not for creating, importing or redrawing the whole domain model, which is sdd:domain-map, and not for code-level aggregate design.
After sdd:spec-maintenance, reconcile project/domain/ with the finished work item. Promotes the item's proposed terms and relationships to agreed, deprecates renamed terms, checks glossary contradictions, avoided words in new code and specs, and cross-context dependencies missing from the context map, then writes domain-maintenance-report.md. Skips when project/domain/ does not exist. Also runs a repo-wide drift check when the user asks for one.
Use when the user asks to create, set up, import or redraw the project's domain model or context map as a whole: an older UBIQUITOUS_LANGUAGE.md or glossary to import, a Shape Up bet that may cross contexts, or a service split. Explores the code, proposes bounded contexts with the evidence for each, and writes project/domain/ only after the user approves. Not for adding or renaming specific terms, which is sdd:domain-define, and not for questions about an existing model, which are answered by reading project/domain/.
Use after design.md is approved in the spec-generator pipeline and before tasks.md is written, or when asked to review or validate a design against requirements.md or bugfix.md. Writes design-review-summary.md and blocks task generation on critical findings.
Use when starting a new feature, behaviour change or technical change in the SDD pipeline, before any spec exists. Agrees problem, scope, approach, decisions and constraints with the user one question at a time, writes discovery.md into the work item, and stops for the user's approval before handing off to sdd:spec-generator. Not for bug reports, and not for changing a spec that already exists.
Use when the user asks to finish, close out or open the pull request for a work item in project/work-items/{NN}-{name}/, or when sdd:spec-maintenance or a bugfix implementation hands over. Checks that every gate has passed, commits the gate reports the pipeline left uncommitted, runs the AGENTS.md build and test commands, writes pr.md in the work item, and opens the pull request with gh or glab when one is available. Never merges and never force-pushes.
Use when creating a feature spec or bugfix spec as part of the SDD pipeline. Generates structured specs under project/work-items/ following a three-phase workflow (requirements → design → tasks) with quality gates. Triggered after sdd:spec-discovery or directly for bugfixes.
Use when the user asks to implement, build or carry out the tasks of a feature work item in project/work-items/{NN}-{name}/tasks.md. First checks that the design review, the task review and the sdd:spec-qa-review test plan are in place, and stops and names the missing step when one is not. Then runs one fresh subagent per task in task order, verifies each task with the AGENTS.md build and test commands, ticks it and commits it, and hands over to sdd:spec-implementation-audit.
Implementation audit gate. Use when every task in a work item's tasks.md is done and before sdd:spec-qa-review review mode, or when re-running after a FAILED audit. Compares the code with requirements.md and design.md and writes implementation-audit.md.
After sdd:spec-qa-review review mode passes, annotate older implemented work items that the new item supersedes, modifies or deprecates, and write spec-maintenance-report.md; skips when no other work item holds a PASSED implementation-audit.md.
Use for plan mode, before implementation: write test-plan.md across unit, integration, E2E, performance and security, after sdd:spec-task-review passes. Use for review mode, after sdd:spec-implementation-audit passes: audit tests against the plan and gate on coverage.
Run once per project to prepare it for the SDD pipeline. Copies the scaffold into project/work-items/, checks AGENTS.md for the build and test commands and asks for them when missing, and reports which optional inputs the other skills will find.
Use when tasks.md is approved and implementation is about to start, or when a BLOCKED task review needs a re-run after tasks.md was fixed. Checks requirement and design coverage, sequencing and implementability, then writes task-review-summary.md.
Use when creating a feature, creating a spec, implementing a spec, starting a new work item, or any task involving the spec-driven development pipeline. Provides pipeline ordering and superpowers override rules.