Merge Commit Msg — Git skill for Claude Code
Generate a structured merge commit message from PR changes.
How to install Merge Commit Msg
Installs to ~/.claude/skills/shakacode-claude-code-commands-skills-agents-merge-commit-msg/SKILL.md
mkdir -p ~/.claude/skills/shakacode-claude-code-commands-skills-agents-merge-commit-msg && curl -fsSL https://raw.githubusercontent.com/shakacode/claude-code-commands-skills-agents/HEAD/commands/merge-commit-msg.md -o ~/.claude/skills/shakacode-claude-code-commands-skills-agents-merge-commit-msg/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Merge Commit Msg does
description: Generate a structured merge commit message from PR changes
You are composing a MERGE COMMIT MESSAGE in Claude Code.
AUTO-CONTEXT
- Infer PR# from branch name or commits (e.g. "#123").
- Identify base branch (master/main) with: git remote show origin | grep 'HEAD branch'
- Get ONLY this PR's changes with: git diff ...HEAD
- Get ONLY this PR's commits with: git log ..HEAD --oneline
- This avoids including already-merged changes from earlier rebases.
Alternatives in Git
- Gen Commit Msg — Generate intelligent commit messages based on staged changes 5.7k ★
- Commit Msg — 生成 Git Commit Message 1k ★
- Fix GitHub Issue — by jeremymailen - Analyzes and fixes GitHub issues using a structured approach with GitHub CLI for issue detai 708 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Msg
Suggest a commit message for the current staged changes. Do not commit. Do not stage. Do not run any git write
Commit Fast
by steadycursor - Automates git commit process by selecting the first suggested message, generating structured
Quick Commit
Stage all changes and commit with a descriptive message
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
Commit Message Generator
Generate descriptive commit messages by analyzing staged changes
Related Agents
Commit Craft
Expert at creating clean, logical git commits following conventional commit format. Use when user requests git
Cap Agent
Commit and push workflow. Use when the user says 'cap', 'commit and push', 'ship it', or 'ready to push'. Runs
Commit Writer
Drafts a Conventional Commits message for the currently staged changes and creates the commit. Reads the modif