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
Installs
3
GitHub Stars
249
First Seen
Mar 10, 2026