recomposing-commits
Installation
SKILL.md
Recomposing Commits
Overview
Analyze messy commits → isolate in a worktree → let user review → apply back.
Core principle: The original branch is NEVER modified until the user explicitly approves the new history. Worktree isolation and the review gate are non-negotiable — even if the user says "just do it" or "I trust you, skip review."
Announce at start: "I'm using the recomposing-commits skill to reorganize your branch history."
Safety Check — Do This First
git rev-parse --abbrev-ref HEAD