Skill
Commit Tidy
Analyze staged/committed changes and recommend splitting or squashing strategy. Use when the user says "commit split", "split commits", "should I split this...
When to use Commit Tidy
Choose if
You want an agent that, when prompted with "commit split" or "should I squash", examines staged or recent commits and returns a structured recommendation — splits when changes serve unrelated purposes, span 5+ unrelated directories, or exceed 500 lines across disparate areas; squashes when consecutive WIP commits share the same intent. Good for tidying autonomous-agent commit history before opening a PR.
Avoid if
The repository enforces a strict trunk-based or "no rewrite" history policy (the skill's recommendations will execute splits/squashes that rewrite history). Also avoid for tiny changesets — the framework is calibrated for 5+ directories or 500+ lines and adds overhead on small commits.
Cost
Type: Free
Distribution
- ClawHub
commit-tidy- License
- MIT-0