From osism-commit
Stage and commit changes following OpenStack git commit message guidelines. Use when the user wants to commit code changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/osism-commit:commitThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a git commit following the OpenStack commit message guidelines
Create a git commit following the OpenStack commit message guidelines (https://wiki.openstack.org/wiki/GitCommitMessages).
User hint: $ARGUMENTS
Committer identity:
git config user.namegit config user.emailRun these in parallel:
git status (never use -uall)git diff and git diff --cached to see staged and unstaged changesgit log --oneline -10 to see recent commit styleRead changed files as needed to fully understand the change.
Follow this structure strictly:
<subject line>
<body>
<footer>
Add relevant trailers, each on its own line, in this order:
DocImpact -- if documentation changes are neededAPIImpact -- if public HTTP APIs change (include reasoning)SecurityImpact -- if security review is warrantedUpgradeImpact -- if there are upgrade implicationsCloses-Bug: #NNNNNNN -- if this fully fixes a Launchpad bugPartial-Bug: #NNNNNNN -- if this partially fixes a bugRelated-Bug: #NNNNNNN -- if merely related to a bugStory: NNNNNNN / Task: NNNNN -- for Storyboard referencesImplements: blueprint <name> -- if implementing a blueprintOnly include trailers that are actually relevant. Do not invent bug numbers or references.
Always include the following trailers (in this exact order, Signed-off-by MUST be last):
AI-assisted: Claude Code
Signed-off-by: <user name> <user email>
AI-assisted: Claude Code is an OSISM project convention for commits created with Claude Code.Signed-off-by is required on every commit. Obtain the name and email from git config user.name and git config user.email. The Signed-off-by line must always be the very last line of the commit message, after all other trailers.Before committing, verify:
$ARGUMENTS) contain hints, incorporate themgit add -A or git add .)git commit -m "$(cat <<'EOF'
Subject line here
Body here, wrapped at 72 characters.
Relevant-Trailer: value
AI-assisted: Claude Code
Signed-off-by: Full Name <[email protected]>
EOF
)"
git status after committing to verify successgit log -1 and update it to reflect the
complete change.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 osism/promptcraft --plugin osism-commit