What problem does it solve?
This Skill eliminates the risk of shipping untested code that causes production bugs, makes refactoring dangerous, and leads to unreliable software releases.
Core Features & Use Cases
- End-to-End TDD Enforcement: Guides you to write failing tests first, implement minimal code to pass them, then refactor, following strict RED-GREEN-REFACTOR cycles.
- Comprehensive Coverage Requirements: Mandates 80%+ test coverage across unit, integration, and end-to-end tests, with guidance for mocking external services like Supabase, Redis, and OpenAI.
- Git Checkpoint Guidance: Provides clear rules for creating Git commits at each TDD stage to track progress and validate test states.
- Use Case: When building a new user authentication API, this Skill ensures you write failing integration tests for login and signup flows first, implement the endpoint to pass all tests, and verify coverage meets the threshold before merging.
Quick Start
Use the tdd-workflow skill to implement the new payment processing feature following test-driven development principles with full test coverage.