creating-pull-request
БесплатноЗапускает вложенные скриптыНе проверенOpen a pull request from a branch in a Bitwarden repository. Use whenever the user wants a branch turned into a pull request, however they phrase it — "create…
от bitwarden★ 167 звёзд на GitHubОб этом скилле
Creating a Pull Request
This workflow owns the two things about opening a pull request that are expensive to get wrong: the review that has to happen before anyone else looks at the change, and the submission itself. Skill(applying-pr-conventions) composes the title, body, and label; this workflow gates, previews, and submits them.
Neither is cheap to undo. A PR opened on unreviewed work buries the real problem under comment threads, and the title is permanent in the merge commit. So Step 3 shows every decision together before anything is pushed.
Workflow
Follow these steps in order. Each one produces information the next step needs, and the preview in Step 3 depends on all of them.
Step 1 — Confirm preflight, then run the code-review gate
A PR opened on broken work, or on work that skipped review, wastes reviewer time and buries the real problem under comment threads. Settle preflight first, then run the review.
1a — Confirm preflight passed. Its checks have often already run by this point, while committing or finishing the work, so judge from the session whether they cover the current diff. Use the AskUserQuestion tool, listing the option you recommend first with (Recommended) appended:
- Question: "Has
perform-preflightpassed on this branch?" - Options:
Yes — proceedNo — run it now— invokeperform-preflight, then continue once it passes
If preflight cannot be made to pass, stop and report the failure rather than opening the PR. Only continue once preflight is green: running preflight can change code, and the review should see the final diff.
1b — Run the code review, matched to the change's blast radius. A local code review is a required gate before opening a PR. Use the AskUserQuestion tool, listing the depth you judge the change to need first with (Recommended) appended:
- Question: "How deep is this change? (sets review depth)"
- Options:
Standard— a typical feature, fix, docs, or config change: run/bitwarden-code-review:code-review-local(tell it to review the current branch's changes; there is no PR yet)Substantial— architectural, cross-cutting, or security-touching: runSkill(performing-multi-agent-code-review), telling it to review the full branch diff againstorigin/HEAD(not just uncommitted changes); there is no PR yet
Present only these two options; do not add a skip option. Honor a skip only if the user volunteers one unprompted, then record it in the PR body's AI-assisted review section (Step 2) and surface it in the Step 3 preview. Never skip on your own initiative.
After the review:
- Assess the findings with the user before acting on any of them; a CRITICAL or IMPORTANT classification can still be scope creep, or wrong.
Skill(addressing-code-review-comments)has the evaluation posture to apply — skip its comment-fetching section, since the findings are already in hand and there is no PR yet. Then address every finding that survives, or record why each is deferred in the PR body's AI-assisted review section (Step 2). - On the
Substantialpath only, you may re-runSkill(performing-multi-agent-code-review)with a different--model-*value for the highest-risk changes (auth, crypto, data handling, migrations); findings vary by model, so a second pass can catch what the first missed. Optional, never required. - If a review path wrote output into the repo, remove it before pushing so it never lands in a commit — but only files this run created (a
??ingit status --porcelain). Both review paths write outside the repo by default and print the full path of each file they wrote; cleanup is needed only when a printed path is inside the repo, and then remove only those files. Also removereview-summary.mdandreview-inline-comments.mdfrom the repo root if an oldercode-review-localleft them there. Never delete a tracked file of the same name.
Each review path checks its own prerequisites and reports what to install if something is missing. If a path can't run, install what it reports or fall back to the other path and note the limitation in the PR body. If neither path is available, stop and prompt the user to install bitwarden-code-review (/plugin install bitwarden-code-review@bitwarden-marketplace) before continuing. Never silently skip the review.
Step 2 — Compose the title, body, and label
Invoke Skill(applying-pr-conventions) for this one pull request. It owns the title and the type keyword behind the t: label, the body built from whichever template it resolves, the ai-review label question, and the security-disclosure check.
Pass it what Step 1 produced, since it does not go looking for review results itself: the review path taken, any skip the user volunteered, every deferred CRITICAL or IMPORTANT finding, and any scope or path limitation on the review, such as a fallback taken because one path was unavailable. Those go into the body's AI-assisted review se
Установить creating-pull-request в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл creating-pull-request?
Open a pull request from a branch in a Bitwarden repository. Use whenever the user wants a branch turned into a pull request, however they phrase it — "create a PR", "open a PR", "ship a draft", "ship it", "ready for review", "put it up for review", "get this in front of reviewers", "send it over to the team", "throw together a pull request", "wrap this branch up". Use it too when the user says the title and body are already settled and only the PR needs opening — the gate, the preview, and the submission still apply. Runs the required local code-review gate, takes the title, template body, and ai-review label from applying-pr-conventions, confirms a full submission preview, then pushes and runs gh pr create. Not for composing a title, body, or label when no PR is being opened (that is applying-pr-conventions), conceptual questions ("how do PRs work"), or managing existing PRs (status, merging, addressing comments).
Как установить скилл creating-pull-request?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл creating-pull-request запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic