Home / Subagents / git-committer

git-committer

Filip-Podstavec/claude-leverageSubagent

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

ScannedSubagentSource: GitHub
68 stars Updated 4mo ago License MIT Context ≈30 tokens in your chat
45popular

Why this score

Stars5/35
Usage (forks)0/15
Upkeep15/25
License15/15
Owner history10/10

This repo hosts 14 subagents, so its 68 stars are split between them (about 5 each) for scoring.

Popularity score: 45/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Read and search files

Tools listed in the file: Read, Bash(git:*)

Model: sonnet

The agent file

---
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.

MIT license, from Filip-Podstavec/claude-leverage at commit 1a006bee6b73.

Security

Scanned Oct 21, 2026 at commit 1a006bee6b73, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onegit-committer Filip-Podstavec/claude-leverage · Subagent 45★ 68≈30 in chat4mo ago
contributor-to-committer apache/magpie · Skill Both about committer 58★ 120≈24 always1mo ago