What problem does it solve?
This Skill solves the critical issue of coding agents shipping unverified, incorrect code by enforcing a test-first workflow, eliminating the risk of "it looks right" bugs that pass manual review but fail in production.
Core Features & Use Cases
- TDD Loop Guidance: Walks you through the RED (write failing test) → GREEN (write minimal passing code) → REFACTOR cycle for all feature, bugfix, and behavior changes in repos with existing test runners.
- Bug Fix Regression Protection: Provides a dedicated workflow for reproducing bugs as failing tests first, creating permanent checks that prevent the bug from being reintroduced in future changes.
- Use Case: When fixing an off-by-one error in a checkout total calculation, use this Skill to write a test asserting the correct total first, watch it fail, then implement the fix to pass the test, ensuring the error never returns.
Quick Start
Use the test-driven-development skill to write a failing test for the new user profile update feature before writing any of the feature's implementation code.