LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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-03

Capabilities

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
git
commit-history
branch-maintenance
worktree
history-rewrite
code-review
Analyze commit history
Identify logical groups
Create isolated worktrees
Rebuild logical commits
Git repository
Current feature branch
Start commit SHA
Review prompt
Isolated worktree
Recomposed commit history