commit-changes
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Context
Current branch: !git branch --show-current
Uncommitted changes: !git status --short
Uncommitted diff stat: !git diff --stat HEAD 2>/dev/null
Instructions
Categorize only the current uncommitted changes into clean commits. Leave existing commits untouched.
- Read diffs (
git diff HEAD). Untracked/new files don't appear ingit diff HEAD; read those files directly so they're categorized, not missed. Group by purpose using conventional commits (feat:,fix:,chore:,refactor:,docs:,style:,test:,perf:,ci:,build:,revert:). - For each group, stage by explicit paths only:
git add <files>+git commit. Nevergit add -Aorgit add .. - Verify
git statusis clean, showgit log --onelineof new commits.
Rules: