From cm
Enforces the Red-Green-Refactor TDD cycle when implementing features or bugfixes. Routes to test quality guidance, rationalization handling, worked examples, or stuck-state recovery.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cm:cm-tddThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **Use when** writing or fixing code
cm-execution or cm-code-reviewNO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
Need to execute the normal TDD loop?
└─ YES → Red-Green-Refactor
Need help designing or reviewing test quality?
└─ YES → Test Quality
Need to counter "skip TDD" rationalizations?
└─ YES → Rationalizations
Need a worked bug-fix example?
└─ YES → Bugfix Example
Are you blocked or unsure how to continue?
└─ YES → Stuck / Debugging
| Need | Summary | Load |
|---|---|---|
| Normal execution | core TDD loop and verification | references/red-green-refactor.md |
| Test quality | what good tests look like | references/test-quality.md |
| Reinforcement | anti-rationalization guidance | references/rationalizations.md |
| Example | concrete bug-fix walkthrough | references/bugfix-example.md |
| Recovery | how to proceed when stuck | references/stuck-debugging.md |
red-green-refactor.md for normal execution.test-quality.md when designing or reviewing tests.rationalizations.md only when the user or agent is trying to bypass TDD discipline.bugfix-example.md only for coaching or example use.stuck-debugging.md only when blocked.Write the failing test first. Pass it minimally. Refactor only after green.
npx claudepluginhub tody-agent/codymaster --plugin cmEnforces strict Test-Driven Development (TDD): write failing test first for features, bug fixes, refactors before any production code.