Tcrdd

Test-Commit-Revert + TDD (TCRDD): red/green/refactor with per-phase auto-commit on success and auto-revert on failure, gated by user approval before code and before committing. TRIGGER when: user says TCRDD, TCR, TDD, red-green-refactor, "test-first", "write the test first", "let's TDD this", "baby steps", "commit on green", "revert on failure", or "go step by step with tests"; user wants approval-gated pair programming or a disciplined test-then-code cadence with automatic commits. DO NOT USE when: retrofitting tests onto existing code without behaviour change (use `testing`); one-off bug fix where per-phase commits add noise; no runnable test command; trivial code covered indirectly by other tests; GUI/layout fiddling; throwaway scripts; or thin wrapping of a trusted third-party framework you aren't testing internally. Prefer this over `testing` when cadence and commit discipline matter, not just test authoring.

bsene 85d67c8 17.1 KB Updated

File contents

bsene/skills-old/tree/main/tcrdd commit 85d67c81a8

Frequently asked questions

npx skillmds@latest add bsene/tcrdd