← Back to list

git-commit-formatter
by JulienBreux
Cloud Run interactive CLI
⭐ 16🍴 1📅 Jan 21, 2026
SKILL.md
name: git-commit-formatter description: Formats git commit messages according to Conventional Commits specification. Use this when the user asks to commit changes or write a commit message.
Git Commit Formatter Skill
When writing a git commit message, you MUST follow the Conventional Commits specification.
Format
<type>[optional scope]: <description>
Allowed Types
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
Rules
- Use imperative mood ("add" not "added")
- Don't capitalize first letter
- No period at the end
- Be specific but concise
Instructions
- Analyze the changes to determine the primary
type. - Identify the
scopeif applicable (e.g., specific component or file). - Write a concise
descriptionin an imperative mood (e.g., "add feature" not "added feature"). - If there are breaking changes, add a footer starting with
BREAKING CHANGE:.
About the commit message format
Format: <type>(<scope>): <description>
Examples:
feat(auth): add OAuth2 login flowfix: resolve null pointer in user servicedocs: update API documentationrefactor(api): extract validation logic
About the commit message body
For complex changes, add a body:
- Leave blank line after subject
- Explain WHAT and WHY, not HOW
- Wrap at 72 characters
About the commit message footer
Present the suggested commit message and ask if user wants to:
- Commit with this message
- Modify the message
- Add more details in body
Principles
- One commit = one logical change
- If you need "and" in the message, consider splitting
- Reference issues when relevant (e.g.,
fixes #123)
Example
feat(tui): create new shortcut on the service listfeat(auth): add OAuth2 login flowfix: resolve null pointer in user servicedocs: update API documentationrefactor(api): extract validation logic
Reference
- Conventional Commits
- Run
git log --oneline -10to see recent commit style
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


