tdd
SolidWrite code through a disciplined, BDD-framed Test-Driven Development loop: build a behavior test list, then drive each behavior through red-green-refactor with an enforced observed-failure gate. Use when the user wants to implement, build, or write code test-first, "do TDD", follow "red-green-refactor", drive code from tests, or grow a feature behavior-by-behavior with tests leading. This skill writes and changes code; it does not produce a test plan document (use test-planning), review or audit existing code (use code-review), specify what a feature should do (use plan-a-feature), or find the root cause of a bug (use investigate).
Install
Quality Score: 88/100
Skill Content
Details
- Author
- testdouble
- Repository
- testdouble/han
- Created
- 3 weeks ago
- Last Updated
- today
- Language
- Shell
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
tdd
Implement features using Test-Driven Development (TDD) with the red-green-refactor cycle. Use when the user asks to implement X using TDD, write this with TDD, use TDD, TDD this feature, red-green-refactor, or test-first. Requires Write and Edit access — invoke only in a context that can modify source and test files.
tdd
Guides test-driven development — decompose a feature or bug fix into behaviors, then cycle through Red (failing test) → Green (minimal implementation) → Refactor for each one. Requires /optimus:init and working test infrastructure. Use when starting a new feature or bug fix with test-first discipline.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
tdd
Guided TDD workflow — plan, tracer bullet, incremental RED-GREEN
tdd-patterns
Guide test-driven development through the mandatory Red-Green-Refactor cycle (failing test before code), enforce test quality (one behavior per test, real code over mocks, no implementation-detail testing), and enforce test runner discipline (run mode, no watch mode). Use when implementing features or fixing bugs (with `testing.tddMode='enforce'` blocking implementation without a failing test). This skill MUST be consulted because test-first is the primary quality enforcement point; tests that pass on first write are suspect (likely testing the wrong thing).