/git:pushfrom git
Commit and push the current branch to its upstream, without opening a PR or changing branches. Use when the user asks to commit and push in one step, or says things like "commit and push", "提交并推送", "push this up". Pushes the branch that is already checked out, including the default branch.
Ships in git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Commit, then push. Invoking this command is the explicit request to push.
No pull request, no git switch, no git checkout, no new branch — this pushes whatever branch is already checked out, and the default branch is a legitimate target here. When the change belongs on a pull request instead, use git:pr.
This flow mirrors the host's standard commit workflow, spelled out so it holds identically on every host.
git status, git diff, and git log in parallel: what changed, what is untracked, and the repository's existing commit message style.git add -A or git add ...env files, private keys, credential files, tokens. If any are staged, stop and report instead of committing. Never create an empty commit.git log. Write the message in another language only when the user explicitly asks for it in this session.--no-verify or --no-gpg-sign; never touch git config.git push --force, never amend pushed commits, and never use git reset --hard to discard work.git push. If the branch has no upstream, git push -u origin HEAD to set it.
The commit message, the hash, and the push destination (remote and branch).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mywsq/plugins --plugin git4 skills in this plugin
/cleanDelete local branches whose upstream is gone, along with their linked worktrees. Use when the user asks to clean up stale or gone branches (e.g. "clean up old branches", "清理分支", "clean gone"). Deletes only branches whose remote tracking branch is marked [gone]./commitCommit and push with a fixed safety floor — stage by name, refuse staged secrets, match the repository's message style. Use when the user asks to commit, save, or push code (e.g. "commit this", "提交代码", "push my changes")./prCommit, push, and open a pull request without ever switching the working tree's branch. Use when the user asks to open a PR, ship changes as a pull request, or says things like "open a PR", "commit and open a PR", "提交并开 PR". On the default branch it publishes the commit as a new remote branch instead of checking one out.