/misc:commit-message [--story story-file]from misc
Generate commit message from staged changes
Ships in misc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a concise commit message based on staged changes. Does NOT auto-commit - outputs message for user to copy.
$ARGUMENTS
Parse for:
--story <story-file> for context (optional)!git diff --cached --stat
!git diff --cached
!git log --oneline -10
If the staged changes summary above is empty, report and exit:
No staged changes. Stage files with `git add` first.
From the recent commits above, detect if project uses:
feat:, fix:, refactor:, etc.)[ABC-123])Match the detected style.
If --story provided, read the file to understand what was being worked on.
From the diff, identify:
Title (first line):
Body (optional, if changes are complex):
Part of: <story name>Emit the message as raw text inside a fenced code block so the user can copy it unrendered. Do not add anything inside the fence besides the message.
## Suggested Commit Message
```text
<title>
<body if needed>
```
What SKILL.md sets; muted values are Claude Code's defaults
haikulownpx claudepluginhub urso/claudev --plugin misc9 skills in this plugin
Other plugins' skills for the same job