Commit Message Generator — Git skill for Claude Code
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
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:
**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)
**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 RepositoryRelated Skills
Commit Split
Split currently-staged changes into per-file commits with descriptive messages
/commit
by evmts - Creates git commits using conventional commit format with appropriate emojis, following project sta
Quick Commit
Stage all changes and commit with a descriptive message
PR Description Generator
Generate pull request descriptions by analyzing commits and changes
Create PR
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code
Generate PR
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code
Related Agents
Commit Writer
Drafts a Conventional Commits message for the currently staged changes and creates the commit. Reads the modif
Close Commit Composer
Compose a session-close git commit message from a staged-changes summary passed by the /close orchestrator. Re
Commit Analyzer
Analyzes git changes and generates commit messages. Returns only the message to preserve main thread context.