What problem does it solve?
This Skill helps you avoid fragile, implementation-coupled tests by applying a disciplined test-driven development loop that keeps tests focused on user-visible behavior.
Core Features & Use Cases
- Integration-style verification: Write tests that exercise public interfaces end-to-end so they survive refactors.
- Tracer bullet workflow (vertical slicing): Move one behavior at a time (RED → GREEN → refactor) instead of bulk-writing tests first.
- Mocking at system boundaries: Mock external collaborators only (APIs, databases, time/randomness, filesystem) to keep tests meaningful.
- Refactor safely after passing: Identify duplication and shallow modules after the cycle completes, while ensuring behavior stays covered.
Use this when you want to build new features or fix bugs by designing behavior-driven tests, especially when you care about integration tests and maintaining test stability through refactors.
Quick Start
Apply the TDD red-green-refactor loop to implement one public behavior at a time, using integration-style tests and mocking only system boundaries.