Skip to content
🚧 This documentation is a draft and is currently under review. 🚧

New Feature in an Existing Project

  1. 201-high-level-design
  2. 202-spec-design
  3. 301-spec-implementation
  4. Optional 401-cleanup for source or tests
Prompt sequence
Run 201-high-level-design for invoice approval.
Use 202-spec-design for invoice approval with balanced coverage.
Run 301-spec-implementation for the invoice approval feature.

If you want a separate cleanup-only pass afterward, run 401-cleanup once for changed source files or once for changed test files as separate runs.

If the feature is already in D10, 201 should reuse that feature’s F-ID so the artifacts land in a folder like .specflow/features/F003-invoice-approval/.

  • The project already exists, so you often can skip straight to 201, but the 100-series is still useful if domain, architecture, or UX direction is unclear.
  • The feature still deserves a short design and behavior spec before implementation.
  • 301 already includes test cleanup and production cleanup; use 401 only when you want an extra cleanup-only pass on the resulting changed set.