| name | git-commit-convention |
| description | Draft or review semantic commit messages from staged changes, including split signals, business-facing subjects, breaking-change markers, and repair commands such as `git add -p`, `git reset`, and `git commit --amend`. |
| complexity | medium |
| risk_profile | ["ambiguity_sensitive"] |
| inputs | ["staged files, staged hunks, and git status","business intent behind the change from recent conversation","repository's allowed commit types and scope mapping","related issue or PR identifiers if available","whether type-check, test, or pre-commit signals are already failing","whether the latest commit is a better candidate for --amend than a new commit"] |
| outputs | ["one or more review-ready semantic commit drafts","split or composite-scope guidance when staged set crosses semantic boundaries","repair commands such as git add -p, git reset, or git commit --amend","warnings when testing, typing, or other quality gates are already failing"] |
| use_when | ["user asks for a commit message or wants help before git commit","staged changes are ready and a compliant draft is needed","agent detects git commit intent and should intercept with a structured draft","a recent commit likely needs --amend due to typo, missed file, or footer fix"] |
| do_not_use_when | ["main task is branch naming or release/tagging policy","no staged changes and user is not asking for general commit policy","main question is repository-wide CI, testing, or reviewer policy"] |