| name | commit |
| description | Stage all changes and create a git commit. Use after finishing an implementation task. |
| disable-model-invocation | true |
| argument-hint | [commit message (optional)] |
Stage all unstaged changes and create a git commit.
Steps
- Run
git status and git diff to understand what changed
- Run
git log --oneline -5 to follow the existing commit message style
- Stage files: prefer
git add <specific files> over git add -A; never stage .env or credential files
- If
$ARGUMENTS is provided, use it verbatim as the commit message
- Otherwise, generate a message following the repository's conventions:
- Use Conventional Commits format:
type(scope): description
- Common types:
feat, fix, refactor, docs, test, chore
- Keep the subject line under 72 characters
- Append
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> as a trailer
- Commit and show the result with
git log -1 --stat