MustafaDorgham

Commit Message Generator — Git skill for Claude Code

Git community

Generate descriptive commit messages by analyzing staged changes.

How to install Commit Message Generator

Installs to ~/.claude/skills/mustafadorgham-agentic-slash-commands-commit-message-generator/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mustafadorgham-agentic-slash-commands-commit-message-generator && curl -fsSL https://raw.githubusercontent.com/MustafaDorgham/agentic-slash-commands/HEAD/skills/commit-message-generator.md -o ~/.claude/skills/mustafadorgham-agentic-slash-commands-commit-message-generator/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Commit Message Generator does


description: Generate descriptive commit messages by analyzing staged changes allowed-tools: Bash(git status), Bash(git diff), Bash(git log), Read(*.md), Read(*.json)

Generate intelligent commit messages for the /commit command:

  1. **Analyze Staged Changes**:

    • Run git diff --staged to see what's being committed
    • Identify file types and patterns (code, docs, config, tests)
    • Detect scope of changes (single file, module, cross-cutting)
  2. **Determine Commit Type**:

    • feat:

Alternatives in Git

  • Cc Usage — by ryoppippi - Handy CLI tool for managing and analyzing Claude Code usage, based on analyzing local Claude Co 11.7k ★
  • Gen Commit Msg — Generate intelligent commit messages based on staged changes 5.7k ★
  • Commit Msg — 生成 Git Commit Message 1k ★

Full documentation available on GitHub

View Source Repository