Commit
Commit whatever is currently staged — commit only, no push. Use when the user says "commit", "commit this", "commit the staged changes". Does not stage anything and does not push. For committing AND pushing, use commit-and-push instead.From its SKILL.md
npx -y skills add ProstDev/skills --skill commitAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.2 KB, 240 tokens by cl100k_base, as published. Nobody here has run it
Commit
Commit the currently staged changes. Commit only — do not push. Do not git add, do not stage
untracked or unstaged files.
Steps
git diff --cached --stat— confirm something is staged. If nothing is staged, stop and tell the user there's nothing to commit (don't stage anything for them).- Write a short commit message from the staged diff: a
type: summaryline, wheretypeis a conventional-commit prefix inferred from the change (feat,fix,docs,refactor,test,chore,style,perf,build,ci) and the summary is imperative. git commitwith that message (staged changes only — no-a, no path args).- Report the commit hash and message.
Don't
- Don't push.
- Don't stage anything (
git add,git commit -a,git commit <path>). - Don't amend, rebase, or force-push.
- Don't touch other branches or open a PR.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.