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.
Agent Skills: commit
Stage and commit changes in semantic groups. Use when the user wants to commit, organize commits, or clean up a branch before pushing.
UncategorizedID: bjornmelin/dev-skills/commit
2
Install this agent skill to your local
Skill Files
Browse the full folder contents for commit.
Loading file tree…
skills/commit/SKILL.md
Skill Metadata
- Name
- "commit"
- Description
- "Stage + commit changes in semantic + reviewablegroups. Use when user wants to commit changes, organize commits, or clean up a branch before pushing."