What problem does it solve?
This Skill enforces a strict, incremental approach to Test-Driven Development (TDD), preventing the common pitfall of writing multiple tests at once, which undermines the design discovery benefits of TDD.
Core Features & Use Cases
- Enforces Single Failing Test: Guides the user to write only one failing test at a time.
- Integrates Refactoring & ADR Review: Incorporates code quality checks and Architecture Decision Record (ADR) compliance within the refactoring phase.
- Prevents Batch Testing: Actively counters rationalizations for writing multiple tests upfront.
- Use Case: When implementing a new feature, this skill ensures you follow the "Red, Green, Refactor" cycle precisely, writing one test, making it pass, and then evaluating the design before proceeding to the next test.
Quick Start
Use the incremental-tdd skill to guide the TDD process for a new feature.