How this skill is triggered — by the user, by Claude, or both
Slash command
/generate:commit-messageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Understand the proposed changes by using the version control tool's commands for
Understand the proposed changes by using the version control tool's commands for viewing the pending commit. This is usually a combination of status or diff commands.
Generate the message using the guidelines below.
Make sure you explain your solution and why you're doing what you're doing, as opposed to describing what you're doing. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Focus on the semantics, not the mechanics.
A good commit message looks like this:
Header line explaining the commit in one line (use the imperative)
Body of commit message is a few lines of text, explaining things
in more detail, possibly giving some background about the issue
being fixed, etc.
The body of the commit message can be several paragraphs, and
please do proper word-wrap and keep columns shorter than about
74 characters or so. That way "git log" will show things
nicely even when it's indented.
Reported-by: {reporter}
Session: {claude-session-id}
Co-Authored-By: {claude-model} <[email protected]>
where that header line really should be meaningful, and really should be
just one line. That header line is what is shown by tools like gitk and
shortlog, and should summarize the change in one readable line of text,
independently of the longer explanation. Please use verbs in the
imperative in the commit message, as in "Fix bug that...", "Add
file/feature ...", or "Make component..."
scripts/claude-session-id (bundled with this skill — resolve the path from this skill's base directory). If it produces no output, omit the Session: trailer entirely.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub christianromney/claude-plugins --plugin generate