New Feature in an Existing Project
Sequence
Section titled “Sequence”201-high-level-design202-spec-design301-spec-implementation- Optional
401-cleanupfor source or tests
Example prompt sequence
Section titled “Example prompt sequence”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/.
Why this is the default
Section titled “Why this is the default”- 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.
301already includes test cleanup and production cleanup; use401only when you want an extra cleanup-only pass on the resulting changed set.