What problem does it solve?
This Skill eliminates inconsistent testing practices, low code coverage, and production bugs caused by skipping test-first development workflows, ensuring all code changes are validated before deployment.
Core Features & Use Cases
- Test-First Enforcement: Requires writing unit, integration, and E2E tests before implementing any new feature, bug fix, or refactor.
- Coverage Guarantees: Mandates 80%+ test coverage across all code changes, with built-in verification steps.
- Reusable Testing Patterns: Provides pre-built templates for common test scenarios, including API integration tests, component unit tests, and Playwright E2E tests, plus mocking examples for external services like Supabase and Redis.
- Use Case: When building a new user authentication flow, this skill guides you to write login/logout test cases first, implement the flow to pass those tests, then verify coverage meets the 80% threshold before merging.
Quick Start
Use the tdd-workflow skill to implement a new password reset feature with passing tests and 80%+ code coverage.