batch-commit
Installation
SKILL.md
Batch Commit
Groups uncommitted changes into logical batches and stages them one at a time, providing a commit message for each.
Process
- Run
git status --shortandgit diff --stat HEADto understand all pending changes. - Read the changed files and relevant repository instructions to understand what each change does.
- Group related changes into logical batches (typically 3-7 batches). Group by:
- Feature/purpose: files that work together for the same feature
- Layer: infrastructure, services, UI, config, tests
- Type of change: new files, bug fixes, refactors
- Present ALL batches as a numbered summary with:
- The files in each batch
- A one-liner commit message
- Stage the first batch with explicit paths or hunks.
- Show the staged diff and wait for the user to commit, then stage the next batch when asked.