push-to-pr

Installation
SKILL.md

Push to PR

Push local commits to an existing PR's source branch. Never create new branches.

Workflow

1. Find PR head branch

curl -s https://api.github.com/repos/{OWNER}/{REPO}/pulls/{N} \
  | python3 -c "import sys,json; p=json.load(sys.stdin); print(f\"branch={p['head']['ref']}\nclone_url={p['head']['repo']['clone_url']}\ncan_modify={p['maintainer_can_modify']}\")"
  • head.ref = branch name (e.g. active_visual_chat)
  • head.repo.clone_url = fork URL
  • maintainer_can_modify must be true

2. Ensure remote exists

Installs
23
GitHub Stars
1.1K
First Seen
Feb 28, 2026
push-to-pr — project-n-e-k-o/n.e.k.o