push-to-pr
БесплатноБез исполняемых скриптовНе проверенPush commits to an existing GitHub PR's source branch. NEVER create new branches. Use when the user says "push to PR
от Project-N-E-K-O★ 3 303 звезды на GitHubОб этом скилле
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
2. Ensure remote exists
git remote -v # check if clone_url already listed
git remote add <name> <clone_url> # only if missing
3. Fetch + rebase if needed
git fetch <remote> <branch>
# If local commits not on top:
git rebase <remote>/<branch>
4. Push
git push <remote> HEAD:<branch>
Critical Rules
- NEVER create new branches on any remote
- NEVER
git push <remote> <local_branch>if local branch differs from PR branch — always useHEAD:<pr_branch> - Branch name comes only from
head.refin API response - If
maintainer_can_modifyisfalse, inform user — cannot push - If push rejected (non-fast-forward), fetch and rebase first
Установить push-to-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл push-to-pr?
Push commits to an existing GitHub PR's source branch. NEVER create new branches. Use when the user says "push to PR
Как установить скилл push-to-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл push-to-pr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic