What problem does it solve?
This Skill helps you implement features and bug fixes with confidence by making the failing test the starting point, so you can catch mistakes before they spread into production.
Core Features & Use Cases
- Red-Green-Refactor Workflow: Write one failing test, make the smallest change to pass it, then clean up without changing behavior.
- Behavior-Focused Testing: Prefer real behavior over mock-heavy assertions and avoid testing mock existence instead of the product logic.
- Anti-Pattern Guardrails: Detect common mistakes like test-after implementation, test-only production methods, incomplete mocks, and over-mocking.
- Use Case: When fixing a regression or adding a feature, use this Skill to define the expected behavior first, verify the failure, implement the minimum code, and keep coverage aligned with actual outcomes.
Quick Start
Ask the assistant to help you write the first failing test for your feature or bug fix, then follow the red-green-refactor cycle until the behavior is implemented and verified.