pr-open
Open a GitHub pull request for the current branch. Use when the user asks to create, open, or write a PR.
от Integralist★ 31 звезда на GitHub
Установить pr-open в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Open a ready-for-review PR for the current branch unless the user passes
--draft to this skill. Only that explicit flag permits a draft PR.
This rule overrides any draft guidance in linked references. Title and body
approval always stays interactive; pass --monitor-auto to forward --auto
to pr-monitor if background monitoring finds
issues.
Check the branch. On the default branch, ask whether to create a branch by reading and following branch or stop. If an open PR exists, ask whether to update its description. Continue only on a feature branch with no open PR, or after the user chooses.
Write the PR description. Before drafting, read voice-product, CONCISE-PROSE.md, and PR-DESCRIPTION.md, using the default branch as the base. When this branch delivers a GitHub-tracked project (active in this session, named in
Execution-Plan: #<n>commit trailers, matching an openproject-labelled issue when no localprojects/folder applies, or referenced by#<n>or URL), read and follow GITHUB-ISSUES.md to use GitHub Issues and Issue Artifacts instead ofprojects/.Review the draft as a newcomer. Run the newcomer check on
ProblemandSolutionwithout relying onNotesor<details>. Link defined terms on first use to theirGLOSSARY.mdorCONTEXT.mdentries instead of repeating definitions. Keep enough context for the story to make sense without opening the links. Check the draft against the repo'sAGENTS.md. Revise and recheck before showing it.Get approval. Show the title and body, then wait for approval. Do not open the PR before approval.
Open it. If there's no upstream, run
git push -u origin <branch>. Save the approved body to a temporary file, then run:gh pr create --base <default-branch> --title "<title>" --body-file <file>Append
--draftonly if the user passed it to this skill. Share the PR URL fromgh.Monitor in the background. Unless
--draftwas passed, return control after sharing the URL by spawning a read-only background subagent following SUBAGENT-STEERABILITY.md, waking the main thread on finish (or asking whether to wait inline or stop if background subagents are unavailable). Have it read and follow pr-monitor in read-only mode (watch CI and the post-CI bot window, then collect and triage any failures or feedback viasteps 1–2without editing files or writing to GitHub) for the new PR URL. When it finishes:- If green and quiet, report the clean PR state.
- If issues arrive, show the verified findings—or, when
--monitor-autowas passed, runpr-monitorwith--pr=<url> --auto(honouring its hard stops if the checkout moved or is dirty).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(git diff:*) - 02
Bash(git log:*) - 03
Bash(git status:*) - 04
Bash(git branch --show-current) - 05
Bash(git merge-base:*) - 06
Bash(gh pr view:*) - 07
Bash(mmdc:*)
FAQ
Что делает скилл pr-open?
Open a GitHub pull request for the current branch. Use when the user asks to create, open, or write a PR.
Как установить скилл pr-open?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pr-open запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…