Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit". Reads git diff --staged and produces an opinionated, convention-matching commit message.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Generate a disciplined commit message from the currently staged changes. Opinionated about style: imperative mood, concise title, body that explains why not what.
Do NOT use this skill to actually run git commit unless the user explicitly asks — just draft the message and show it.
git status --short with the Bash tool. Confirm there are staged changes. If nothing is staged, stop and tell the user.git diff --staged to read the full staged diff. If the diff is large (>500 lines), also run git diff --staged --stat to get a file-level overview first.git log --oneline -10 to learn the repo's commit convention. Look for:
feat:, fix:, chore:) — if present, match the style.[PROJ-123]).git commit with it. Do not commit automatically./git-commit-writer05820c5
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.