write-commit-message
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/eveld/claude --skill write-commit-message
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
Write Commit Message
Create git commit messages following the Conventional Commits format.
Template
See templates/commit-message.md for the full template structure, format rules, and examples.
Quick Reference
Format:
<type>(<scope>): <subject>
[optional body]
[optional footer]
Common Types: feat, fix, docs, refactor, test, chore
Key Rules:
- Subject < 72 characters
- Use imperative mood (“add” not “added”)
- No period at end of subject
- Body explains what and why, not how
Integration with Git Workflow
When user asks to commit or you’re following git workflow:
- Run
git statusandgit diffto see changes - Analyze the nature of changes
- Draft commit message following format
- Use heredoc for proper formatting:
git commit -m "$(cat <<'EOF'
feat(auth): add JWT token refresh
Implements automatic token refresh mechanism.
EOF
)"
Benefits
- Clear, scannable git history
- Semantic versioning compatibility
- Automatic changelog generation
- Easy to search and filter commits