recomposing-commits - Reorganize messy commits safely
Analyzes a feature branch, rebuilds its commits in logical groups within an isolated worktree, and applies the result only after user review.
Tags
Updated: 2026-10-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze commit history
- Identify logical groups
- Create isolated worktrees
- Rebuild logical commits
- Split overlapping changes
- Require explicit review
- Apply approved history
- Clean up worktrees
Inputs
- Git repository
- Current feature branch
- Start commit SHA
- Logical commit groups
- Commit messages
- Review decision
- Force-push confirmation
Outputs
- Review prompt
- Isolated worktree
- Recomposed commit history
- Updated branch history
- Backup tag
- Force-pushed remote branch
- Refusal messages
Requirements
- Git repository
- Git command-line access
- Feature branch
- Clean working tree
- Linear commit range
- Non-root start commit
- User approval before applying
