committing-code
Installation
SKILL.md
Smart Commit
Make focused commits. Fast path for small coherent changes. Split only when the diff shows separate purposes.
Scope: only inspect changes, group them, and create normal commits. Do not rewrite history, amend existing commits, force-push, or stage secrets. Include relevant git status, git diff, and git log output in the proposal.
Not for squashing, rebasing, or cherry-picking — those rewrite history.
Step 1: Gather State
Prefer the helper script:
scripts/commit-state.sh gather
Fallback if the script is unavailable: