unfuck-my-git-state
Installation
SKILL.md
unfuck-my-git-state
Recover a repo without making the blast radius worse.
Core Rules
- Snapshot first. Do not "just try stuff."
- Prefer non-destructive fixes before force operations.
- Treat
.git/as production data until backup is taken. - Use
git symbolic-refbefore manually editing.git/HEAD. - After each fix, run verification before proceeding.