recommit
Installation
SKILL.md
Recommit
Rewrite the commits after a branch's merge base into a sequence where each commit tells one story and stands on its own. Preserve the final committed tree. This skill reshapes history; it does not edit code.
Do not use this skill to change behavior, to rewrite commits that the target branch already contains, or on a branch that other people build on without coordination.
Contract
- Start and end with a clean Git-visible working tree.
- Rewrite only commits after the confirmed merge base.
- Preserve the exact committed tree from the original branch tip.
- Show the proposed sequence and the recovery point before the rewrite.