TDD
Develop concrete behavior through test-first vertical slices, prove the tests can detect failure, verify the real runtime surface, and apply risk-proportional adversarial testing.
Develop concrete behavior through test-first vertical slices, prove sensor sensitivity, and apply risk-proportional verification.
What this skill does
Develop concrete behavior through test-first vertical slices, prove the tests can detect failure, verify the real runtime surface, and apply risk-proportional adversarial testing.
Prevents brittle implementations and false confidence by proving test sensitivity before code is written, ensuring every test accurately exercises real failure modes.
When to reach for it
- When implementing new features or bug fixes where behavior can be observed.
- When requested to work in red-green-refactor discipline.
- When high-risk algorithms or state machines require strict regression verification.
How it works
TDD follows a simple, structured process to pressure-test your thinking and help you reach a clearer decision.
Define Behavior Slice
Identify the smallest observable unit of behavior to implement.
Choose Inner-Loop Seam
Select the most direct, fast execution seam to test the behavior.
RED (Prove Sensor Fails)
Write the failing test and run it to prove it fails for the expected reason.
GREEN (Minimal Implementation)
Write the smallest viable production code to satisfy the test sensor.
Sensor Verification & Refactor
Mutate the code or sensor to prove sensitivity, then refactor cleanly.
What's included
The skill comes with a ready-to-use prompt, guidance, and supporting resources.
Common questions
Install this skill
Add TDD to your assistant and start using it in your workflow.
Pre-packaged ZIP archives are published when a tagged GitHub release is created on the public repository. Zero simulated or fabricated binary downloads are served.