commit
Installation
SKILL.md
Commit
Stage pending changes and create a single commit with a concise, accurate message.
Process
-
Gather context. Run these in parallel:
git status— list changed and untracked filesgit diff HEAD— see actual content changesgit branch --show-current— confirm branchgit log --oneline -5— learn the repo's commit message style
-
Run safety checks before staging.
- If the current branch is
main,master, ordevelop, stop and ask the user whether to proceed. Feature branches are the default. - Scan the file list for secrets or stray binaries:
.env,.env.*,credentials*,*.key,*.pem,id_rsa*, or any file larger than 5 MB. If any match, stop and confirm with the user before staging.
- If the current branch is