What problem does it solve?
This Skill eliminates the risk of shipping untested, buggy code and unexpected regressions that break existing functionality, ensuring every code change is fully verified before deployment.
Core Features & Use Cases
- Structured TDD Workflow: Guides you through the RED-GREEN-REFACTOR cycle for all new feature implementation, with clear examples for writing failing tests first and minimal passing code.
- Bug Fix Provenance: Implements the Prove-It Pattern to reproduce bugs with failing tests before fixing them, preventing recurring issues and guarding against regressions.
- Test Quality Best Practices: Provides guidance on test sizing, the test pyramid, state-based assertions, DAMP test writing, and avoiding common anti-patterns like over-mocking and flaky tests.
- Use Case: When adding a new user notification feature, use this Skill to write failing tests for email, in-app, and SMS notification triggers first, then implement the code to pass those tests, ensuring no existing notification flows break.
Quick Start
Use the test-driven-development skill to write a failing test for the new user profile update feature before implementing the corresponding code changes.