bh-rat/steer/commit-message
Claude Code and agent skill by bh-rat/steer
- community
Checking that the SKILL.md file is still in the repository.
Writes a conventional commit message from the staged diff, one logical change at a time.
Install
npx vskill@latest install bh-rat/steer/commit-messageSKILL.md
commit-message
Turn whatever is currently staged into one well-formed conventional commit message the user can apply as-is. The user gets the message text; you never run git commit yourself.
Steps
- Run:
git diff --cached --statthengit diff --cached. If nothing is
staged, say so and stop; never guess from unstaged changes.
- Check the diff is atomic (one logical change). If it mixes concerns,
propose how to split it (git reset -p / staging hunks) instead of writing a muddled message.
- Pick the type and scope. When unsure which type fits, first read
references/conventional-commits.md.
- Write the message: imperative subject ≤ 50 chars
(type(scope): change), blank line, body wrapped at 72 explaining what changed and why, not how.
- Present the message in a fenced block, then ask whether to adjust tone
or detail.
References
Keep this file lean; put branch-only detail behind pointers so it loads only when that branch is hit:
- When choosing the commit type or handling a breaking change, first read
references/conventional-commits.md.
Gotchas
- Empty staged diff → stop at step 1; do not invent a message.
- Generated/lockfile-only diffs (
uv.lock,package-lock.json) → say the
change is mechanical and suggest chore(deps).
- Never include ticket numbers or co-author trailers unless the user asks.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/commit-message/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bh-rat/steer/commit-message)