Back to list
mverab

commit-message-generator

by mverab

Make Claude Code your everything AI agent with customized agent features and subagents

10🍴 3📅 Jan 15, 2026

SKILL.md


name: commit-message-generator description: Generate conventional commit messages from git diffs with clear summaries and detailed descriptions. Use when the user mentions commits, git commit, staging changes, writing commit messages, or wants to commit code.

Commit Message Generator

Generate clear, conventional commit messages following best practices.

Instructions

  1. Run git diff --staged to see staged changes
  2. Analyze the changes to understand:
    • What was modified (files, functions, components)
    • Why the change was made (purpose, goal)
    • Impact of the change
  3. Generate a commit message with:
    • Type: feat, fix, docs, style, refactor, test, chore
    • Scope: affected component/module (optional)
    • Summary: imperative mood, max 50 characters
    • Body: detailed explanation (wrap at 72 chars)
    • Footer: breaking changes, issue references

Format

<type>(<scope>): <summary>

<body>

<footer>

Examples

Example 1: Feature

feat(auth): add JWT token refresh mechanism

Implement automatic token refresh to improve user experience
by preventing unexpected logouts. The refresh token is stored
securely in httpOnly cookies.

Closes #123

Example 2: Bug fix

fix(api): handle null values in user profile endpoint

Add validation to prevent crashes when optional fields are null.
This fixes a bug where the API would return 500 errors for users
with incomplete profiles.

Fixes #456

Example 3: Documentation

docs(readme): update installation instructions

Add missing steps for setting up environment variables and
clarify the database migration process.

Best Practices

  • Use present tense ("add feature" not "added feature")
  • Don't end summary with a period
  • Explain what and why, not how
  • Reference issues/tickets when applicable
  • Keep summary under 50 characters
  • Wrap body at 72 characters
  • Use imperative mood ("fix" not "fixes" or "fixed")

Commit Types

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation changes
  • style: Code style changes (formatting, no logic change)
  • refactor: Code refactoring (no feature or bug fix)
  • perf: Performance improvements
  • test: Adding or updating tests
  • chore: Maintenance tasks (dependencies, config)
  • ci: CI/CD changes
  • build: Build system changes

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon