From claude-code-toolkit
Generate git conventional commit messages from staged changes or diffs. Produces structured commit messages with type, optional scope, subject, and body. Use when committing code or when asked to write a commit message.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-toolkit:commit-messageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate commit messages following the Conventional Commits specification.
Generate commit messages following the Conventional Commits specification.
For most commit messages:
<type>(<scope>): <subject>
<body>
For breaking changes & deprecation:
<type>(<scope>)!: <subject>
<body>
| Type | When to use |
|---|---|
feat | New feature or capability |
fix | Bug fix |
refactor | Code change that neither fixes a bug nor adds a feature |
style | Formatting, whitespace, missing semicolons (no logic change) |
docs | Documentation only changes |
test | Adding or updating tests |
chore | Build process, dependency updates, tooling |
perf | Performance improvement |
ci | CI/CD configuration changes |
Derive the scope from the area of the codebase changed. Examples:
feat(auth): add refresh token rotationrefactor(api): extract error handling middlewaredocs(api): update authentication endpoint descriptionschore(deps): bump express to 5.1.0Use ! for breaking changes and deprecation:
feat(api)!: migrate from firebase database integration to supabaseIf changes span multiple areas, use the primary area or omit scope.
If the project uses task IDs in a roadmap, or Jira ticket ID include them:
feat(2.1.2): add table migrationfeat(AE-11458): add new oauth providerBREAKING CHANGE: footergit diff --staged) or the diff provided by the userSimple feature:
feat(api): add new oauth provider
Adds Google OAuth 2.0 provider to allow users to sign-in with their Google accounts.
Bug fix:
fix(auth): clear tokens on 401 before redirect
The onUnauthorized callback was redirecting to sign-in before
clearing the auth store, causing a brief flash of the previous
authenticated state on the sign-in screen.
Dependency update:
chore(deps): upgrade react-native-reanimated to 3.17.1
Fixes the shared value crash on Android API 34 reported in #142.
Multi-file refactor:
refactor: extract validation utils from form components
Moves inline validation logic from checkout-form.tsx
and register-form.tsx into utils/validation.ts. No behavior change —
all validation rules are identical to before.
fix: stuff — too vagueUpdated files — not conventional commits formatfeat: add new feature for the dashboard screen that lets users... — too longfix(bug): fix bug — scope and subject are redundantWIP or temp — never commit thesenpx claudepluginhub rsurasin/claude-code-toolkit --plugin claude-code-toolkitGenerates one-shot Conventional Commits messages for staged git changes: feat/fix/refactor types, imperative ≤50 char subjects, optional scopes and Why explanations.
Generates clear, conventional commit messages from git diffs. Useful when writing commit messages, reviewing staged changes, or preparing commits.
Generates concise conventional git commit messages prioritizing 'why' over 'what', with proper types, scopes, imperative mood, and atomic structure. Use when writing commits or learning best practices.