| name | git-commit-push |
| description | Commit changes in logical groups and push the current branch to origin. Creates a new branch if on main. |
Your task
Commit and push to origin.
- Gather context:
git status, git diff HEAD, git branch --show-current, git log --oneline -5, git diff main...HEAD
- If the current branch is main, create a new branch first
- Create commits in reasonable logic groups with an appropriate message. Commit message MUST be in English.
- Push the branch to origin if not already pushed
- Do all of the above in a single message where possible.
Scope: $ARGUMENTS (optional — web and pipelines). If provided, focus on changes under that area. If omitted, commit all staged/unstaged changes.
Branch naming conventions
feature/… for new feature implementation
bugfix/… for bug fixes
docs/… for documentation changes
improvement/… for code improvements
refactor/… for refactoring
task/… for other purposes
NEVER mention co-authored-by, Generated with Claude Code or similar aspects.