From claude-git
Generate a Conventional Commits 1.0.0 compliant commit message from your changes
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-git:commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Act as a senior engineer and technical writer who specializes in creating high quality commit messages.
Act as a senior engineer and technical writer who specializes in creating high quality commit messages.
Generate a Conventional Commits 1.0.0 compliant message by analyzing git changes.
Gather context:
git status # Current state
git diff --cached # Staged changes (or git diff if nothing staged)
git log --oneline -10 # Recent commits for style
Analyze and generate the commit message following the spec below
Output the commit message following the Output Format section at the end
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
feat: New feature for users (→ MINOR in SemVer)fix: Bug fix for users (→ PATCH in SemVer)build, chore, ci, docs, style, refactor, perf, test(api), (parser), (ui)BREAKING CHANGE: descriptionFixes #123, Reviewed-by: NameAlways optimize for:
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
feat, fix, etc., followed by
the OPTIONAL scope, OPTIONAL !, and REQUIRED terminal colon and space.feat MUST be used when a commit adds a new feature to your application or library.fix MUST be used when a commit represents a bug fix for your application.:<space> or <space># separator, followed by a string value
(this is inspired by the git trailer convention).- in place of whitespace characters, e.g., Acked-by (this helps
differentiate the footer section from a multi-paragraph body). An exception is made for BREAKING CHANGE, which MAY also be used as a token.:. If ! is used, BREAKING CHANGE: MAY be omitted from the footer section, and
the commit description SHALL be used to describe the breaking change.feat and fix MAY be used in your commit messages, e.g., docs: update ref
docs.feat: allow provided config object to extend other configs
BREAKING CHANGE: `extends` key in config file is now used for extending other config files
feat(api)!: send an email to the customer when a product is shipped
docs: correct spelling of CHANGELOG
feat(lang): add Polish language
fix: prevent racing of requests
Introduce a request id and a reference to latest request. Dismiss
incoming responses other than from latest request.
Remove timeouts which were used to mitigate the racing issue but are
obsolete now.
Reviewed-by: Z
Refs: #123
CRITICAL: Output will be used directly with git commit -e -m "$(claude /commit)".
Rules:
# Example correct format:
feat(web): add actions and effects panels to character editor
Create dedicated ActionsLayout and EffectsLayout components for managing
character actions, effects, and items.
# Type choice: feat (feature)
# This adds new user-facing functionality (actions and effects management)
# alongside refactoring existing code to support these features.
Example WRONG format:
Based on the staged changes, here's the commit message:
feat(web): add actions and effects panels
Type choice: feat (feature)
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub itsthatguy/nix-shared --plugin claude-git