Format Commit Message
Automatically formats Git commit messages to adhere to a defined style guide for consistency 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 format-commit-message npx -- -y @trustedskills/format-commit-message
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"format-commit-message": {
"command": "npx",
"args": [
"-y",
"@trustedskills/format-commit-message"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automatically formats commit messages according to conventional commits standards. It ensures that commit messages adhere to a specific structure, including a type (e.g., feat, fix, docs), a scope (optional), and a description. This helps maintain consistency and improves the readability of project history.
When to use it
- When you need to enforce consistent commit message formatting within a development team.
- To automate the process of creating well-structured commit messages, reducing manual effort.
- For projects that rely on automated tooling (e.g., release notes generation) that depends on correctly formatted commit messages.
- During code reviews to ensure all commits follow established conventions.
Key capabilities
- Conventional Commits formatting
- Automated message structuring
- Type, scope, and description parsing
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."
- "Ensure this commit follows the conventional commits standard: 'Updates documentation'"
Tips & gotchas
- The skill relies on understanding of Conventional Commits specification. Familiarize yourself with the types and scopes allowed.
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.