What problem does it solve?
Enforces a disciplined test-driven development workflow so teams write tests before implementation, avoid premature design decisions, and maintain high test coverage for critical code paths.
Core Features & Use Cases
- Scaffold Interfaces First: Define types and interfaces before implementation to drive clear contracts.
- Tests-First Workflow: Generate failing tests (RED) to specify expected behavior prior to coding.
- Minimal Implementation & Coverage: Implement the smallest change to pass tests (GREEN), refactor safely, and ensure 80%+ coverage for maintainability.
- Use Cases: Adding new features, reproducing and fixing bugs by writing regression tests first, refactoring modules, and gating CI pipelines on coverage thresholds.
Quick Start
Use speckit-tdd to scaffold interfaces, generate failing tests for the new feature, implement the minimal code to make tests pass, and verify at least 80% coverage.