commit
Installation
SKILL.md
Commit
Create safe, reviewable commits from repository evidence. Never commit, stage, unstage, or rewrite more than the user authorized.
Preserve an existing staged snapshot
When staged changes exist, treat the index as the user's selected commit artifact. Inspect it with:
git status --shortgit diff --cached --statgit diff --cachedgit diff --check --cached
Do not edit files, run mutating formatters or generators, stage, unstage, restore, or otherwise change the snapshot unless the user explicitly requests that change. If validation finds a problem, report it instead of repairing the staged content.