Git Conventional Commits
Automatically formats Git commit messages to adhere to the Conventional Commits specification for improved automation and clarity.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add git-conventional-commits npx -- -y @trustedskills/git-conventional-commits
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"git-conventional-commits": {
"command": "npx",
"args": [
"-y",
"@trustedskills/git-conventional-commits"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to generate Git commit messages that adhere to the Conventional Commits specification. It ensures consistent and machine-readable commit history, facilitating automated versioning and release management. The agent can analyze changes and produce formatted commit messages including type (feat, fix, docs, etc.), scope, and description.
When to use it
- Automating repetitive tasks: Generate standardized commit messages for small code changes or bug fixes.
- Improving team consistency: Enforce a consistent commit message style across a development team.
- Streamlining release processes: Leverage Conventional Commits to automate semantic versioning and changelog generation.
- Analyzing project history: Easily understand the purpose and scope of commits through standardized messages.
Key capabilities
- Generates Conventional Commit messages based on provided change descriptions.
- Supports various commit types (feat, fix, docs, style, refactor, perf, test, chore).
- Formats commit messages with type, scope, and description components.
Example prompts
- "Generate a conventional commit message for this bug fix: 'Fixed issue where the button text was truncated.'"
- "Create a commit message of type 'feat' describing these changes: 'Added user authentication functionality.'"
- “Write a conventional commit to document refactoring of the database connection logic.”
Tips & gotchas
- Ensure the AI agent has access to information about the code changes being committed. A detailed description of the modifications is crucial for accurate message generation.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.