What problem does it solve?
This Skill eliminates the risk of shipping untested, buggy production code and accumulating technical debt from skipped test-first practices, ensuring all code changes are fully verified before deployment.
Core Features & Use Cases
- Strict TDD Cycle Enforcement: Mandates the red-green-refactor workflow for all new features, bug fixes, refactoring, and behavior changes, with clear guardrails against common rationalizations for skipping tests.
- Testing Anti-Pattern Prevention: Provides guidance to avoid common pitfalls like testing mock behavior, adding test-only methods to production code, and writing tests after implementation.
- Real-World Use Case: When building a new payment processing feature, this Skill ensures you write a failing test for invalid card number rejection first, then minimal code to pass the test, preventing untested edge cases from reaching production.
Quick Start
Invoke the test-driven-development skill before writing any implementation code for your current task to follow the full test-first red-green-refactor workflow.