Skip to content

v1.0.1 β€” BDD/ATDD Extension for Spec-Kit

Choose a tag to compare

@RSginer RSginer released this 14 Jul 15:52

spec-kit-bdd v1.0.1

Adds Behavior-Driven Development (BDD) and Acceptance Test-Driven Development (ATDD)
to the spec-kit workflow. Write acceptance tests before code β€” then verify every
requirement is covered before you ship.

Commands

Command What it does
/speckit.bdd.scenarios Converts your spec-kit specification into Gherkin .feature files (Given/When/Then)
/speckit.bdd.scaffold Generates step definition stubs from your feature files, ready to implement
/speckit.bdd.verify Produces a traceability matrix mapping spec requirements ↔ scenarios with coverage %

ATDD workflow

/speckit.specify
↓
/speckit.bdd.scenarios ← acceptance tests written (RED)
↓
/speckit.plan + /speckit.tasks
↓
/speckit.bdd.scaffold ← step stubs runnable before any code exists
↓
/speckit.implement ← code until tests go GREEN
↓
/speckit.bdd.verify ← confirm 100% spec coverage

Supported step definition frameworks

Python (pytest-bdd Β· behave) Β· JavaScript (@cucumber/cucumber) Β·
Ruby (cucumber) Β· Java (io.cucumber) Β· C# (SpecFlow)

Lifecycle hooks

  • after_specify β€” optionally generates Gherkin scenarios immediately after writing your spec
  • before_implement β€” optionally scaffolds step stubs before starting implementation

Both hooks are optional and prompt for confirmation before running.

Requirements

  • spec-kit >=0.2.0