/cms-cultivator:commit-message-generatorfrom cms-cultivator
Generates conventional commit messages from staged git changes. Analyzes diff and status to produce properly formatted commits. Activates when user mentions committing or asks for commit message help.
Ships in cms-cultivator. 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.
Automatically generate conventional commit messages for staged changes.
Commit messages are the history and documentation of your code's evolution.
Activate this skill when the user:
git add or git status output with staged changesBefore generating a commit message, ask yourself:
feat typefix typerefactor typedocs typetest typeauth, api, ui)validation, logging)Split if staged changes include:
User mentions commit
↓
Check: Staged changes?
↓ Yes
Check: Multiple unrelated changes?
↓ No
Check: Follows conventional commits pattern?
↓ Generate message
↓
Review with user → Commit
git status
git diff --staged
If no staged changes, inform the user and suggest staging files first.
git log --oneline -10
Learn the repository's commit message conventions.
Format: <type>(<scope>): <description>
Types:
feat - New featurefix - Bug fixdocs - Documentation changesstyle - Code style changes (formatting, semicolons, etc.)refactor - Code refactoring (no functional changes)test - Adding or updating testschore - Build process, dependency updates, etc.perf - Performance improvementsci - CI/CD changesExample:
feat(auth): add two-factor authentication support
- Implement TOTP-based 2FA
- Add backup codes generation
- Include recovery flow for lost devices
- Update user profile settings UI
Refs: 30024167
Body rules:
pr-create) —
don't carry one rule into the other.Refs: footer. Kanopi
branches are <type>/<ticketID>-<short-desc>, so
bug/30140451-menu-link-attributes gives Refs: 30140451. Omit the footer
when the branch carries no ticket.Drupal:
feat(config): add user profile field configurationfix(custom_module): correct permission check in access callbackrefactor(hooks): simplify hook_form_alter implementationWordPress:
style(theme): improve mobile navigation stylesfix(plugin): correct ACF field validationfeat(blocks): add testimonial Gutenberg blockClaude Code adds its own AI attribution trailer to commits it creates — by default
Co-Authored-By: Claude <model> <[email protected]>, carrying the session's
real model, and governed by the attribution.commit setting. That trailer is the
per-commit provenance record. The per-PR complement is the Delivery Record
(kanopi/delivery-record).
Rules:
Assisted-by:, and no second
Co-Authored-By:. Two trailers for one assistant split the audit trail.Refs: and BREAKING CHANGE: footers directly above
the tool's trailer, with no blank line between them and nothing after.The audit trail:
git log --grep="^Co-Authored-By: Claude" # every Claude Code commit
git log --grep="^Assisted-by:" # commits from before this convention
Show the generated commit message in a clear code block and ask:
"Here's a commit message based on your staged changes. Would you like me to commit with this message, or would you like to modify it?"
Wait for explicit user approval (e.g., "approve", "yes, commit", or an edited version) before running git commit.
git commit -m "commit message here"
Or for multi-line messages:
git commit -m "$(cat <<'EOF'
feat(auth): add two-factor authentication support
- Implement TOTP-based 2FA
- Add backup codes generation
- Include recovery flow
Refs: PROJ-123
Co-Authored-By: Claude <model> <[email protected]>
EOF
)"
This skill is invoked directly by the main session when the user mentions committing — there is no orchestrator agent in between. The skill works the same way whether triggered conversationally ("I'm ready to commit") or explicitly ("generate a commit message").
The companion pr-create skill picks up where this one ends — once you've committed, ask to "create a PR" and pr-create will generate the PR description from your commits. The tool's attribution trailer — Claude Code's Co-Authored-By: — is the per-commit half of Kanopi's provenance model; the per-PR half is the Delivery Record (kanopi/delivery-record).
BREAKING CHANGE: footer if applicableExample 1: Simple fix
User: "I fixed the login bug, ready to commit"
[Skill analyzes git diff]
Skill: "I'll generate a commit message for your login fix..."
Generated:
fix(auth): resolve session timeout on remember-me login
- Correct cookie expiration logic
- Add test coverage for remember-me flow
Co-Authored-By: Claude <model> <[email protected]>
Would you like me to commit with this message?
Example 2: Feature addition
User: "Staged my changes, need to commit"
[Skill analyzes extensive changes]
Skill: "I see you've added a new dashboard widget. Here's a commit message..."
Generated:
feat(dashboard): add performance metrics widget
- Create new widget component
- Add database query for metrics
- Include responsive design
- Add widget to admin dashboard page
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cms-cultivator@claude-toolbox is listed by kanopi/claude-toolbox — review the source before installing
npx claudepluginhub kanopi/claude-toolbox --plugin cms-cultivator30 skills in this plugin
/browser-validatorAutomatically validate implementations in real browsers after code is written or when user says "test this", "test what you built in the browser", "check it in a real browser", or "validate at the breakpoints". Uses Chrome DevTools MCP to test responsive breakpoints (320px, 768px, 1024px), check accessibility compliance (WCAG AA contrast, keyboard navigation, ARIA), validate interactions, and generate detailed technical reports with file paths and specific fixes./code-standards-checkerRun the right linting, formatting, and static-analysis commands after changing code, and check it against PHPCS, ESLint, WordPress Coding Standards, or Drupal Coding Standards. Reads the scripts blocks in composer.json and package.json to find the project's own commands, runs auto-fix before check-only and verifies after, and picks the most specific level (theme, plugin, module, or project root) covering the changed files. Invoke when the user mentions "coding standards", "code style", "linting", "lint", "PHPCS", "phpcbf", "PHPStan", "Rector", "ESLint", "stylelint", "twig-lint", asks what to run after editing PHP, Twig, JS, SCSS, or CSS, or asks whether code follows conventions./composer-patch-generatorGenerate and maintain patches for Composer-installed packages (Drupal contrib modules, WordPress packages, PHP libraries) using cweagans/composer-patches. Invoke when the user needs to modify a contrib or vendor package, mentions "composer patch", "patch a module", "patch a contrib module", "cweagans", "diff -ruN", "extra.patches", or needs a package change that applies cleanly in CI. Covers generating diff -ruN patches, handling new files, wiring composer.json, and verifying the patch applies./composer-security-updateThis skill should be used when the user asks to "run a Composer security update", "validate the security PR", "check the automated security PR", "run composer audit", "patch the security advisories", "update the vulnerable packages", "fix the CVEs in this project", "apply the Drupal core security release", or hands over a "Security Advisory:" Teamwork task or a `security/tw-*` pull request. Use it whenever a Drupal or WordPress Composer project needs its advisories resolved, even if the user only says "are we vulnerable?" or names a single CVE. It finds the PR the Kanopi security dashboard already opened, validates its branch locally (composer audit before and after, DDEV snapshot and refresh, update hooks, config drift, theme builds), and reports each advisory as cleared or blocked. Fix-ups and the PR update wait for user approval. It never creates a task, branch, or PR. Dependabot bumps belong to dependabot-branch-validation; patching contrib code belongs to composer-patch-generator./coverage-analyzerAutomatically analyze test coverage when user asks which code is tested, mentions coverage gaps, or shows code asking about testing. Identifies untested code paths and suggests test additions. Invoke when user asks "what's not tested?", "coverage", "untested code", or "which tests are missing?"./ddev-docker-cleanupDeterministic cleanup of DDEV and Docker disk usage on OrbStack, Docker Desktop, or any Docker provider. Safely reclaims space by removing orphaned Docker volumes (leftovers from worktrees, agent or CI runs, Playwright tests, and throwaway clones), build cache, and dangling images, while protecting the database of every current DDEV project. Use this whenever the user is low on disk or memory, mentions DDEV, Docker, or OrbStack taking up space, sees many "unused" volumes, wants to prune Docker, or asks how to clean up their local dev environment, even if they do not say the word "skill."Other plugins' skills for the same job