| name | push |
| description | Use when the user wants all local changes staged, committed with an auto-generated message, and pushed to remote in one step. |
| argument-hint | [optional commit message] |
| model | sonnet |
| context | fork |
| allowed-tools | Bash, Read, Grep, Glob |
Git Push Shortcut
Stage all changes, create a descriptive commit, and push to the remote.
Workflow
- Run
git status and git diff --stat to understand all changes
- Commit message:
- If
$ARGUMENTS contains text, use it as the commit message
- Otherwise, generate a concise commit message from the diff (feat/fix/chore/docs prefix, 1-2 sentences)
- Run
git add .
- Commit with the message, always append:
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Run
git push
- Report: commit hash, message, and files changed count
Rules
Request
$ARGUMENTS