tdd-quality
CommunityWrite better tests that survive refactors.
System Documentation
What problem does it solve?
tdd-quality reduces the risk of writing tests that don’t reflect real behavior by correcting two common TDD failure modes: horizontal slicing and tests coupled to implementation details.
Core Features & Use Cases
- Vertical tracer-bullet slicing: Ensures each RED→GREEN cycle lands one behavior at a time, so later tests are informed by what the system actually learned.
- Behavior-first assertions: Guides you to write tests as specifications that exercise public APIs rather than mocks at every internal seam.
- Refactor resilience check: Uses the “rename an internal function without changing behavior” litmus test to detect and rewrite fragile tests.
Use cases include rebuilding a failing TDD flow, improving the quality of an existing test suite, and preventing refactor pain from tests that verify private implementation rather than user-visible behavior.
Quick Start
Apply the tdd-quality lens while doing TDD by choosing one high-value behavior, writing a tracer-bullet test that exercises the public interface, and iterating until the test proves behavior rather than internal structure.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tdd-quality Download link: https://github.com/tykhoncode/dicekit/archive/main.zip#tdd-quality Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.