npx claudepluginhub t0k0sh1/agent-plugins --plugin git## Context
- Current git status: !`git status`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`
- Unpushed commits: !`git log --oneline @{u}..HEAD`
## Your task
Merge the base branch and then push.
### 1. Merge base branch (only if the current branch is not main)
If the current branch is main, skip this step and go to step 2.
1. Detect the base branch:
- Run `gh pr view --json baseRefName -q .baseRefName` to get the base branch of the PR associated with the current branch
- If no PR exists (command errors), default to `main`
2. Run `git f.../pushOrchestrates production-ready git push: justifies untracked files, runs /review quality gate, pushes if clean, updates PR, runs /testserver, verifies readiness.
/pushVerifies code quality via /verify-clean, warns on main/master pushes if other branches exist, pushes current branch to origin, reports result.
/pushCommits changes using session context for staging, pushes to remote branch, and posts progress comment to associated PR or issue.
Share bugs, ideas, or general feedback.
git statusgit branch --show-currentgit log --oneline -10git log --oneline @{u}..HEADMerge the base branch and then push.
If the current branch is main, skip this step and go to step 2.
gh pr view --json baseRefName -q .baseRefName to get the base branch of the PR associated with the current branchmaingit fetch origin to get the latest remote stategit merge origin/<base branch> to merge the base branch changesgit diff --name-only --diff-filter=U to list conflicting filesRead each conflicting file and examine the conflict markers (<<<<<<<, =======, >>>>>>>)Edit to resolve the conflictsgit addgit merge --continue to complete the mergePush the unpushed commits.
You can call multiple tools in a single response. Do not use any other tools or perform any other operations.