commit
Installation
SKILL.md
git status --shortfirst; scope to files from current task or explicit user request.- Leave unrelated dirty files alone unless user explicitly asks for a whole-tree commit.
- Mixed tree: inspect diffs before staging; keep staged set one semantic change.
- Stage by purpose, not
git add ., unless whole task one coherent change. - Default one scoped conventional commit when task cohesive. Split only for clearly separate semantic groups. Optimize for reviewability.
- Multiple commits: prefer order
feat,fix,test,docs,refactor,chore. - Short scoped conventional messages; match what changed.
- Each commit minimal, reviewable, one change type.
- Between groups:
git status -sb; confirm next commit has only intended files. - Ask before staging unrelated user changes, unfamiliar generated churn, or ambiguous dirty tree that makes ownership ambiguous.