Commit Message Formatter
This skill automatically formats your Git commit messages for consistency and readability, streamlining collaboration and improving code history.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add jeremylongshore-commit-message-formatter npx -- -y @trustedskills/jeremylongshore-commit-message-formatter
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"jeremylongshore-commit-message-formatter": {
"command": "npx",
"args": [
"-y",
"@trustedskills/jeremylongshore-commit-message-formatter"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill formats commit messages according to conventional commits standards. It ensures that commit messages adhere to a consistent structure, including a type (e.g., feat, fix, docs), a scope (optional), and a description. This promotes clarity and facilitates automated versioning and release management within software development workflows.
When to use it
- Automated Commit Message Generation: Use when an AI agent is generating commit messages based on code changes.
- Enforcing Code Standards: Integrate into CI/CD pipelines to automatically validate and format commit messages before merging.
- Improving Team Consistency: Ensure all team members follow the same commit message conventions, regardless of who's writing them.
- Streamlining Release Notes: Facilitate automated generation of release notes based on structured commit messages.
Key capabilities
- Conventional Commits Formatting
- Type, Scope, and Description Structure
- Automated Validation
Example prompts
- "Format this commit message: 'Fixes a bug in the login page.'"
- "Generate a conventional commit message for adding a new feature to the user profile."
- “Create a commit message with type ‘fix’ and scope ‘authentication’ describing a security vulnerability patch.”
Tips & gotchas
The skill relies on understanding of Conventional Commits. Providing clear context about the code changes is crucial for generating accurate and relevant commit messages.
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.