| name | commit-message-guide |
| description | Guide for creating well-structured conventional commits. Use when creating git commits, drafting commit messages, or reviewing commit message quality. |
Commit Message Guide
This skill ensures commit messages follow conventional commit format with command tense and concise, meaningful content.
Commit Message Structure
Format
<type>(<scope>): <subject>
[optional body]
[optional footer]
Type
Use one of these conventional commit types:
feat: New feature
fix: Bug fix
refactor: Code change that neither fixes a bug nor adds a feature
perf: Performance improvement
style: Code style changes (formatting, missing semicolons, etc.)
test: Adding or updating tests
docs: Documentation changes
build: Build system or dependency changes
ci: CI/CD configuration changes
chore: Other changes that don't modify src or test files
Scope (optional)
The scope provides context about what area of the codebase is affected. Use appropriate scope for the module/component being changed, e.g.:
api, auth, db, ui, config, cli, core
Subject
- Use command tense (imperative mood): "Add feature" not "Added feature" or "Adds feature"
- Keep it concise (50 characters or less ideally, 72 max)