atomicity-commit
Installation
SKILL.md
Atomicity Commit
Gather inputs
Run these before drafting:
git rev-parse --is-inside-work-tree
git status --short
git diff --staged --stat
git diff --staged
git log -n 20 --oneline
Follow the conventions the log shows (type vocabulary, scope style, casing). Where the repo clearly differs from the rules below, the repo's style wins; mention the deviation to the user once.
- Nothing staged:
git addthe files that form one focused change. - Something staged: the user has chosen the contents. Ask before adding other files.