Generate standardized conventional commit messages with Claude Code attribution. Use when creating automated commits, release commits, or any git commit requiring consistent formatting.
64
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.claude/skills/format-commit-message/SKILL.mdGenerate conventional commit messages following project standards with proper attribution.
Collect required information for commit message.
Expected Input:
type: String (feat|fix|chore|docs|refactor|test|style|perf)scope: String (optional, e.g., "auth", "api", "ui")description: String (brief description)body: String (optional, detailed explanation)breaking: Boolean (optional, is this a breaking change?)Apply conventional commit format with project standards.
Format Structure:
{type}({scope}): {description}
{body}
{footer}Footer Template:
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>Breaking Changes:
If breaking: true, prepend "BREAKING CHANGE: " to body or add as footer.
Ensure message follows guidelines.
Validation Rules:
Return complete commit message ready for git commit.
Expected Output:
feat(auth): add OAuth2 authentication support
Implemented OAuth2 flow with token refresh and secure storage.
Supports Google and GitHub providers.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>Input:
{
"type": "feat",
"description": "add dark mode toggle"
}Output:
feat: add dark mode toggle
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>Input:
{
"type": "fix",
"scope": "api",
"description": "resolve memory leak in connection pool",
"body": "Connection pooling was not properly releasing connections after timeout. Implemented automatic cleanup and connection recycling."
}Output:
fix(api): resolve memory leak in connection pool
Connection pooling was not properly releasing connections after
timeout. Implemented automatic cleanup and connection recycling.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>Input:
{
"type": "feat",
"scope": "api",
"description": "migrate to v2 authentication API",
"breaking": true,
"body": "Updated authentication to use new v2 endpoints with improved security."
}Output:
feat(api): migrate to v2 authentication API
BREAKING CHANGE: Updated authentication to use new v2 endpoints with
improved security. All clients must update authentication tokens.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>Input:
{
"type": "chore",
"scope": "release",
"description": "bump version to 0.8.0"
}Output:
chore(release): bump version to 0.8.0
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>template.md: Commit message template reference (see Supporting Files section)8c3b576
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.