googleapis/commit-message
Use this skill when asked to write or draft a commit message. It ensures commit messages follow the conventions in CONTRIBUTING.md.
npx skills add https://github.com/googleapis/librarian --skill commit-message
This skill drafts commit messages that follow the conventions in
CONTRIBUTING.md.
Follow these steps to draft a commit message:
git diff --staged to see staged changes.git diff to see unstaged changes.git log --oneline -10 to see recent commit style for reference.nature of the change:
feat: A new featurefix: A bug fixdocs: Documentation only changestest: Adding or updating testsrefactor: Code change that neither fixes a bug nor adds a featurechore: Changes to the build process or auxiliary toolslist.
change. Use the package path relative to the module root (for example,
internal/librarian or cli).
<type>(<package>): <description>.
to ..."
commit message in plain prose paragraphs. Do NOT create a commit — only
display the message.
concrete.
behavior was or how the new approach works.
or links.
followed by:
Fixes https://github.com/googleapis/librarian/issues/<number> if thechange fully resolves the issue.
For https://github.com/googleapis/librarian/issues/<number> if thechange is a partial step towards resolving the issue.
the user can review it before committing. Do NOT create a commit — only
display the message.
feat(internal/librarian): add version subcommand
A version subcommand is added to librarian, which prints the current version of
the tool.
The version follows the versioning conventions described at
https://go.dev/ref/mod#versions.
Fixes https://github.com/googleapis/librarian/issues/238
CONTRIBUTING.md. Do not deviate.
just restate what the diff shows.
Take googleapis/commit-message from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.