commit
Commit changes - stage the current changes and write a clear git commit message
Files1
View on GitHubSKILL.mdskills/commit/SKILL.md
GitHubCommit
- Run
git statusandgit diffto see every change. If nothing changed, say so and stop. - Check for files that should not be committed (.env, keys, large binaries, build output). If you see any, stop and ask the user before staging.
- Stage the relevant files by name (avoid
git add -Aif unrelated files are present). - Write the message: a subject line under 70 characters in the imperative ("Add …", "Fix …"), a blank line, then a short body saying why the change was made.
- Commit, then run
git log -1 --statand report the result. Never push, amend, or force anything unless the user asks.