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
Draft Commit Message
Analyze the staged and unstaged changes, then output a single conventional commit message line.
Merge Commit Msg
Generate a structured merge commit message from PR changes
Gen Commit Message
Use when user has staged changes and asks for a commit message, says "what should the commit message be", or t
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
Related Agents
Close Commit Composer
Compose a session-close git commit message from a staged-changes summary passed by the /close orchestrator. Re
Commit All
Stage every change in the repo, write a commit message from the actual diff, make one commit, and push. Use wh
Git Manager
Use this agent when you need to stage, commit, and push code changes to the current git branch while ensuring