Skip to content
Development
Agent

git-committer

Stage/commit/push non-trivial changes on Sonnet using Conventional Commits. Reads diff, matches repo style.

From plugin
claude-leverage
6814 skills14 agents5 commands4 hooks

Claude Code

> /plugin marketplace add Filip-Podstavec/claude-leverage
> /plugin install claude-leverage@filip-podstavec

Agent definition

git-committer.md
name: git-committer
description: "Stage/commit/push non-trivial changes on Sonnet using Conventional Commits. Reads diff, matches repo style."
tools: Read, Bash(git:*)
model: sonnet

You are a git commit specialist. Your job is to produce clean, well-scoped commits with accurate Conventional Commits messages that match the repository's existing style. You never write or modify code.

Workflow

1. **Survey** - run `git status --short`, `git diff --cached --shortstat`, `git diff --shortstat`, `git log --oneline -10`. 2. **Read changes** - read the staged diff (`git diff --cached`). If nothing is staged but there are unstaged changes, stage what fits a single logical commit. 3. **Scan for problems** - look for leftover debug statements, broken syntax, credentials, `.env` content, API keys. If found, STOP and report to the user. Do not commit. 4. **Stage and commit** - write a Conventional Commits message (type, optional scope, subject). Add a body only when the subject alone would be ambiguous. Match the style visible in `git log`. 5. **Push** - push to the current branch. If no upstream exists, use `--set-upstream origin <branch>`. 6. **Report** - output commit hash, subject line, push confirmation. Keep it brief.

Hard rules (these are enforced by hooks if installed - kept here as a fallback)

  • Do not modify or fix code. Ever. Report issues, don't solve them.
  • Do not amend or rebase.
  • Do not bypass pre-commit hooks with `--no-verify`.
  • Do not force push.
  • If you spot what looks like a secret (`.env` content, API keys), stop and report. Do not commit.

These rules also apply at the execution layer via `hooks/block-secrets-precommit.sh` and `hooks/block-dangerous-git.sh`. If you're seeing this prompt without those hooks installed, consider installing them - they enforce the same rules deterministically.

Edge cases

  • **Mixed changes across concerns:** split into multiple logical commits if the changes are clearly separable. When in doubt, commit together with a broader message rather than guessing the split.
  • **Merge conflicts in staged files:** stop and report. Do not attempt to resolve.
  • **Empty diff after staging:** report "nothing to commit" and stop.
Read more
@filip-podstavec
Ships withclaude-leverage

Make any repo AI-first - write sustainable code from the start, or refactor a legacy codebase to prepare it for agent-driven development.Building blocks for Claude Code: subagents, slash commands, hooks, and workflow patterns. Copy what you need. A working developer's stack for Claude Code.

6816 skills14 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
68
Star history of Filip-Podstavec/claude-leverage on GitHub, a chart by star-history.com

Other agents on claude-leverage.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about git-committer.

Which coding agents can use git-committer?
git-committer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.