← All skills

Prompt · Slash command✓ Verified
Commit Message
Generate a conventional commit message from staged changes.
What happens when you install it
1
You run the install command
mcp install-skill commit-messageMCPHub CLI downloads this prompt from the registry.
2
Saved as a file in Claude Code
~/.claude/commands/commit-message.mdClaude Code reads all .md files in this folder as slash commands.
3
Use it in any conversation
/commit-messagein Claude Code (after restart)Claude runs the prompt against your current file or selection — no copy-paste needed.
Content
Commit Message
Generate a conventional commit message for the staged changes.
Format
<type>(<scope>): <short description>
[optional body — what and why, not how]
[optional footer — Closes #123, BREAKING CHANGE: ...]
Types
| Type | Use when |
|---|---|
feat | New feature or capability |
fix | Bug fix |
docs | Documentation only |
refactor | Restructure without behavior change |
test | Adding or fixing tests |
perf | Performance improvement |
chore | Build, tooling, dependencies |
ci | CI/CD pipeline changes |
style | Formatting, whitespace (no logic change) |
Rules
- Scope optional but useful:
auth,api,ui,db - Short description: imperative mood, lowercase, no period, max 72 chars
- Add body only if the why isn't obvious from the diff
- Reference issues in footer:
Closes #123
Output
Output only the commit message — no explanation, no markdown wrapper.
Install
mcp install-skill commit-message
After install, restart Claude Code and type:
/commit-messageRequires MCPHub CLI
Author

MCPHub
github.com/sallyhellerLooking for Agents?
Agents run with a full system prompt and persistent behavior — not just a one-off command.
Browse agents →