Msg — Git skill for Claude Code
Suggest a commit message for the current staged changes.
How to install Msg
Installs to ~/.claude/skills/alessandrocaula-dot-claude-msg/SKILL.md
mkdir -p ~/.claude/skills/alessandrocaula-dot-claude-msg && curl -fsSL https://raw.githubusercontent.com/AlessandroCaula/dot-claude/HEAD/commands/msg.md -o ~/.claude/skills/alessandrocaula-dot-claude-msg/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Msg does
Suggest a commit message for the current staged changes. **Do not commit. Do not stage. Do not run any git write commands. Output the message and stop.**
Steps
**Check staged changes** with `git diff --staged`
- If nothing is staged, run
git diffinstead and note that changes are unstaged - If there are no changes at all, say so and stop
- If nothing is staged, run
**Determine the commit type** from the diff:
feat: new capability or command addedfix: corrects broken behaviourdocs:
Alternatives in Git
- Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
- 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
Gen Commit Message
Use when user has staged changes and asks for a commit message, says "what should the commit message be", or t
Merge Commit Msg
Generate a structured merge commit message from PR changes
Quick Commit
Stage all changes and commit with a descriptive message
Gs
Check changed files in git and suggest commit 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
Related Agents
Tp Commit Writer
PROACTIVELY use this when the user is about to commit a NON-TRIVIAL change (new feature, fix, refactor) and as
Git Manager
Use this agent when you need to stage, commit, and push code changes to the current git branch while ensuring
Commit Writer
Drafts a Conventional Commits message for the currently staged changes and creates the commit. Reads the modif