Commit Split

Split a pile of uncommitted changes into several context-scoped commits. Analyzes the diff first, proposes logical groups and a commit count, and once the user confirms the granularity, stages per file — down to hunks inside a single file when needed — and commits with messages matching the repo's convention. Use on requests like 'split this into commits', 'commit by context', 'atomic commits', 'how should I split these changes', or when uncommitted work mixes several topics (feature + bugfix + config). Not for rewriting already-committed history (rebase, fixup, squash), and not for a single-topic change one commit covers.

2ykwang Updated

File contents

2ykwang/agent-skills/tree/main/skills/commit-split commit 29d911a502

Frequently asked questions

npx skillmds@latest add 2ykwang/commit-split