Commit Message Formatter
This tool automatically formats your Git commit messages for consistency and readability, streamlining collaboration and improving project documentation.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add commit-message-formatter npx -- -y @trustedskills/commit-message-formatter
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"commit-message-formatter": {
"command": "npx",
"args": [
"-y",
"@trustedskills/commit-message-formatter"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automatically formats commit messages to adhere to a consistent style. It ensures that commit messages are concise, informative, and follow established conventions, improving the clarity and maintainability of project history. The skill can handle various formatting requirements, including prefixes, scopes, and descriptions.
When to use it
- When you need to enforce a specific commit message format across a team or project.
- To automatically generate well-structured commit messages from AI agent actions.
- For ensuring compliance with established Git workflow guidelines.
- During automated code review processes where commit message quality is important.
Key capabilities
- Formats commit messages based on predefined rules.
- Supports various formatting conventions (e.g., prefixes, scopes).
- Provides concise and informative commit descriptions.
- Automates the commit message creation process.
Example prompts
- "Format this commit message: 'Fix bug in user authentication.'"
- "Generate a commit message for refactoring the database connection."
- "Apply the standard commit format to this change: 'Add new feature for image uploading'."
Tips & gotchas
The skill's effectiveness depends on having clearly defined commit message formatting rules. Ensure these rules are documented and accessible so the AI agent can apply them correctly.
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.