What problem does it solve?
This Skill eliminates the common pain points of writing brittle tests that break during code refactors, implementing features with insufficient test coverage, and following inefficient horizontal slicing workflows that produce tests for imagined rather than actual user-facing behavior.
Core Features & Use Cases
- TDD Workflow Guidance: Enforces the red-green-refactor loop with vertical tracer bullet cycles to ensure each test verifies real, observable behavior.
- Anti-Pattern Prevention: Explicitly warns against horizontal slicing and implementation-detail testing to avoid low-quality, fragile test suites.
- Best Practice References: Includes actionable guidance for deep module design, testable interface creation, appropriate system-boundary mocking, and refactor candidate identification.
- Use Case: For example, when building a new user authentication feature, use this Skill to write a single test for successful login first, implement minimal code to pass it, then iterate on additional behaviors like password reset or failed login handling without writing tests that break when internal code structure changes.
Quick Start
Ask the AI to implement the new user profile editing feature using test-driven development, starting with a test for successful profile updates with valid user input.