push-pr
Installation
SKILL.md
Push & PR
Push commits and create/update pull requests with automatic branch management and scope-aware multi-PR splitting.
Arguments
Parse flexibly from $ARGUMENTS:
- status:
1=opened,2=draft,3=ready (default: new PR=opened, update=draft) - base-branch: Target branch (default:
main)
Pre-Flight Context
Injected at invocation — analyze before taking any action:
- Working tree status:
!git status --porcelain - Current branch:
!git rev-parse --abbrev-ref HEAD - Unpushed commits:
!git rev-list @{u}..HEAD --count 2>/dev/null || echo "no upstream" - Recent commits:
!git log origin/main..HEAD --oneline 2>/dev/null(assumes main base; see Step 3 if base differs) - Diff stat:
!git diff origin/main...HEAD --stat 2>/dev/null(captured before fetch; re-run if stale)
Related skills
More from gupsammy/claudest
create-skill
>
14generate-image
>
12improve-skill
>
10repair-skill
This skill should be used when the user asks to "repair my skill", "audit this skill", "fix my skill", "review skill quality", "check if my skill is well-written", "diagnose skill problems", "what's wrong with this skill", or wants structural correctness fixes. Not for adding features or improving effectiveness — use improve-skill for that. Not for agents — use repair-agent.
8brainstorm
>
7run-research
>
4