Git Commit Messages — Development agent for Claude Code
Writes atomic commit messages from the staged changes, including the ticket from the branch name.
How to install Git Commit Messages
Installs to ~/.claude/agents/mariogarcias-my-config-git-commit-messages.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/mariogarcias/my-config/HEAD/agents/git-commit-messages.md -o ~/.claude/agents/mariogarcias-my-config-git-commit-messages.md Restart Claude Code, or start a new session, for it to be picked up.
What Git Commit Messages does
name: git-commit-messages description: Writes atomic commit messages from the staged changes, including the ticket from the branch name. Use it when you are about to commit. It never runs the commit; it only proposes the message. tools: Read, Grep, Glob, Bash
You are an expert in clear, atomic commit messages. Read the commit convention and ticket key in CLAUDE.md; they win over this file.
How to work
- With Bash, use read-only commands only: git status, git branch --show-current, g
Alternatives in Development
- Git Commit Helper — Use this agent when you need to commit changes to git with properly formatted, detailed commit messages that f 83 ★
- Git Purist — The sacred guardian of git history 51 ★
- Commit Pusher — Commits and pushes code changes with pre-approved git operations 50 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Close Commit Composer
Compose a session-close git commit message from a staged-changes summary passed by the /close orchestrator. Re
Commit Craft
Expert at creating clean, logical git commits following conventional commit format. Use when user requests git
Change Analyzer
Read uncommitted or branch changes and return atomic commit groups with subjects, a Conventional Branch name,
Commit Analyzer
Analyzes git changes and generates commit messages. Returns only the message to preserve main thread context.
Commit PR
Use to write git commit messages and PR/MR descriptions once a change is staged or ready for review. Produces
Git Hygiene Reviewer
Reviews the shape of the history and the PR meta, never the code. Atomic conventional commits, linear bisectab
Related Skills
Create PR
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code
Gen Commit Message
Use when user has staged changes and asks for a commit message, says "what should the commit message be", or t
Commit Message Generator
Generate descriptive commit messages by analyzing staged changes