tcr
Installation
SKILL.md
TCR Commit Skill
TCR = Test && Commit || Revert
The core loop is simple: run the tests. If they pass, commit immediately. If they fail, revert the change. This forces small, safe steps and makes every commit a known-good state.
The TCR Loop
1. Make a small change (test or production code)
2. Run the relevant tests
3. GREEN? → git add <specific-files> + git commit (Conventional Commit message)
4. RED? → git checkout -- <changed-files> (revert to last green state)
The discipline is in the size of the step. If reverting feels painful, the step was too big.
Commit Format
Related skills