tcr
Installation
SKILL.md
TCRDD — TCR + TDD
TCRDD = TCR (test && commit || revert) + TDD (Test Driven Development).
It blends two disciplines so that:
- You always develop the right thing (TDD's guarantee: one failing test drives each step)
- You're forced to take baby steps, because reverting wipes out wrong work fast (TCR's guarantee)
The tool that automates this workflow is git-gamble.
Run git-gamble --help for usage details.
TDD Foundation (the part TCR is built on)
TCRDD assumes you follow the Red / Green / Refactor micro-cycle from TDD:
- Red — write exactly one failing test (just enough to fail — compilation failures count)
- Green — write the minimum production code to make it pass, nothing more
- Refactor — clean up structure while keeping all tests green