create-pr
Skill4 starsChanged 3 months agoMITView on GitHub
Open a pull request for a finished feature branch — or a fix left on the default branch itself (debug-issue's hand-off), which this skill branches off first: push it through the guard, link its issue, gate the title, and open it ready when the full test passes (a draft when asked, or when the test is red). Triggers: "open a PR for this branch", "create a pull request for my fix", "turn this branch into a PR", "I just fixed the flaky test on main, open a PR for it", « ouvre une PR pour ce correctif », « crée la pull request », « le correctif est commité, ouvre la PR ». Does NOT apply to merging a PR (merge-pr), building a planned issue (implement-issue), reviewing a diff (code-review), or filing an issue (create-issue).
91 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- HLND2T/CS2_VibeSignaturestheir own version, first seen Oct 5, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- moeru-ai/auvtheir own version, first seen Oct 4, 2026
- kdy1/kdy1-scriptstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use update-pr, fix-ci and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillupdate-pr
Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.
Also in 5 projects that use this
SentrySkillfix-ci
Diagnose and fix failing CI on a PR. Load repo-setup first.
Also in 6 projects that use this
Microsoft AzureSkillreview-pr
Review a pull request for functional issues, coding guideline adherence, and best practices. Use this when asked to review, inspect, or provide feedback on a pull request (Azure DevOps or GitHub). Proposes comments for user approval before posting.
Also in 21 projects that use this
32103210Skillcreate-rule
Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Also in 3 projects that use this
MicrosoftSkillupdate-skills
Check for and apply updates to installed skill branches from upstream.
Also in 3 projects that use this
xfstudioSkilldependency-upgrade
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
Also in 3 projects that use this
- +2 more from microsoft
Other versions91 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 91
- microsoft/vscode★ 196ksame name
- vercel/next.js★ 144ksame name
- ToolJet/ToolJet★ 41ksame name
- microsoft/aspire★ 6.3ksame name
- docker/docs★ 4.7ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- block/berd★ 962same name
- getsentry/toolkit★ 912same name
- ReflexioAI/claude-smart★ 782same name
- warpdotdev/common-skills★ 604same name
81 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/tagout.mdcCursor rule
- auto-devSkill
- create-issueSkill
- debug-issueSkill
- deliver-issueSkill
- implement-issueSkill
- merge-prSkill
- migrate-legacySkill
- profile-repoSkill
- review-followupsSkill
- review-sessionsSkill
- setup-repoSkill
- triage-backlogSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 82 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Run hands-off once started.
- Distinctive: line 56
Create a task per item and work them in order.
“Common” is measured: kept by at least 6 in 10 of the 82 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Open a pull request for a finished branch
What this does
implement-issue opens its draft PR before any work lands. A branch built any other way — a fix
committed by hand, a spike that turned out right, or a fix debug-issue left sitting on the default
branch itself — needs a way to become a PR the way the kit expects. This skill is that way:
/create-pr [#<issue>] [--draft] takes the work off the default branch first when that's where it
sits, pushes it through the guard, decides ready or draft, and opens the PR through
../_shared/open-pr.md — the one home of the existence lookup, the title
gate and the create call. Then it hands off to merge-pr.
Autonomy contract
Run hands-off once started. See ADR 0005 for the decision scope: pick the reasonable default, state the assumption, keep going. Stop only for a genuine blocker:
ghnot authenticated, or no push rights.- A Step 2 refusal — a detached HEAD, a leftover
[DEBUG-probe on the default branch, nothing ahead of it, a closed issue. Each one refuses before any write. A dirty tree no longer refuses — Step 2 commits it, through the guard. - A PR already open for this branch or its issue: report it, open none.
- A guard exit that is not a success, or a readback that does not match — including
rewind-default.sh's exit 3 (the default is left ahead oforigin/$DEFAULT, reported, never retried).
A red Full test is not a blocker. It opens a draft and says why, so nobody merges it by mistake.
Checklist
Create a task per item and work them in order.
- Preconditions — profile,
ghauth, commit identity. - Locate the work — off the default branch first when that's where it sits, its issue, the refusals and the existing-PR lookup.
- Open — guarded push, ready or draft, the body, the shared PR-open recipe, then rewind the default when Step 2 branched off it.
- Recap — the shared closing shape (
../_shared/recap.md), Next/merge-pr #<pr>.
Resume-safe: a re-run finds the PR an earlier run opened (the recipe's §1) and stops on it.
How to read this skill
One step file at a time, when you reach it — never all up front. Every token loaded here is
re-read on every later turn, so the step bodies live under references/steps/. Open a step when its
checklist item starts; the shared references it names load the same way.
- Step 1 —
references/steps/01-preconditions.md· reads_shared/preconditions.md - Step 2 —
references/steps/02-locate-the-work.md· reads_shared/open-pr.md - Step 3 —
references/steps/03-open.md· reads_shared/open-pr.md,_shared/guard-invocation.md - Step 4 —
references/steps/04-recap.md· reads_shared/recap.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

