What This Skill Does
Transforms your AI coding assistant into a strict TDD practitioner. Every feature, bugfix, or refactor begins with a failing test. The assistant follows the red-green-refactor cycle religiously — no production code without a test demanding it.
When to Use It
Activate this skill when you want disciplined, test-driven development:
- Starting a new feature where correctness matters more than speed
- Fixing bugs — write a test that reproduces the bug before fixing it
- Refactoring legacy code — build a safety net of tests first
- Teaching TDD habits to your team through AI-assisted pairing
What Changes
Your AI assistant will:
- Always write a failing test before any production code
- Implement the minimum code to make the test pass — nothing more
- Refactor only when tests are green, keeping them green throughout
- Name tests descriptively using "should" or "it" conventions
- Suggest edge cases and boundary conditions you might have missed