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 URLmaintainer_can_modifymust betrue