Spec driven
Drive a spec-driven workflow for a larger feature: specify requirements and acceptance criteria, research decisions, plan numbered slices, implement, then verify. Use for multi-step features that need a reviewable paper trail. Skip it for small, obvious changes.From its SKILL.md
npx -y skills add stijnvanhulle/template --skill spec-drivenAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
3.1 KB, as published. Nobody here has run it
Spec-driven development
A structured workflow for features big enough to warrant a paper trail. Each feature gets its
own folder plans/<feature>/. Blank templates live in plans/templates/. For small, obvious
changes, use the lightweight plan output style instead (a single inline plan, no files).
Claude Code users have slash-command shortcuts (/spec, /plan, /implement, /verify) that
copy the right template into place. Every other agent runs the same workflow by copying the
template file by hand. The phases below give both forms.
Phases
- Specify (
plans/<feature>/spec.md): capture requirements (FR-N) and acceptance criteria (AC-N). Describe behavior and outcomes, not code.- Claude:
/spec <feature>. - Other agents:
cp plans/templates/spec.md plans/<feature>/spec.md, then fill it in.
- Claude:
- Research (
plans/<feature>/research.md): record decisions with their reasoning, open questions, and operating constraints.- All agents:
cp plans/templates/research.md plans/<feature>/research.md, then fill it in.
- All agents:
- Plan (
plans/<feature>/plan.md): the architecture and a breakdown into numbered slices, each demonstrable on its own.- Claude:
/plan <feature>. - Other agents:
cp plans/templates/plan.md plans/<feature>/plan.md, then for each slice copyplans/templates/slice.mdtoplans/<feature>/NNN-<slug>.md.
- Claude:
- Execute (
plans/<feature>/NNN-<slug>.md): implement one slice at a time, ticking each slice's Done criteria as its verification passes, and keep each slice runnable.- Claude:
/implement <feature>. - Other agents: open the lowest-numbered unchecked slice, follow its Steps, run its Verification, then tick its Done criteria.
- Claude:
- Verify (
plans/<feature>/verification.md): walk end-to-end scenarios, each mapped back to anAC-N.- Claude:
/verify <feature>. - Other agents:
cp plans/templates/verification.md plans/<feature>/verification.md, write one scenario perAC-N, then run them against the live app.
- Claude:
Rules
- Write the spec before the plan, and the plan before code.
- Every acceptance criterion (
AC-N) must have a matching verification scenario. - Keep slices small and independently demonstrable, one concern each.
- See
plans/README.mdfor the file roles and the per-feature layout.
Resuming an in-progress feature
ls plans/to find the active feature folder (the one with unchecked Done criteria).- Read
spec.mdfor intent, thenplan.mdfor the slice list. - Open the lowest-numbered
NNN-<slug>.mdslice that still has unchecked Done items. - Run that slice's Verification commands first, to confirm where the previous agent stopped, before changing anything.
- When you end the session, leave a short note in the slice or
verification.mdso the next agent knows the current state.