create-pr
Skill2 starsChanged 6 days agoMITView on GitHub
Create a GitHub pull request from a pushed branch with ticket-aware title and body generation. Not for: committing, pushing, merging, releasing, or editing an existing PR. Output: a dry-run gh pr create command by default, or the created PR URL after explicit execution.
- Commits and pushes
196 other projects use a version of this.
Adopted by
Most recently taken up by
- lohi-ai/babysittheir own version, first seen Nov 8, 2026
- alexandrosandre/agentic-engineeringtheir own version, first seen Nov 8, 2026
- alexandrosandre/alice-issue-agenttheir own version, first seen Nov 8, 2026
- rccsousa/skillstheir own version, first seen Nov 8, 2026
- next-step/nextstep-skillstheir own version, first seen Nov 8, 2026
- blamechris/chroxytheir own version, first seen Nov 8, 2026
Used with
Projects with it also use update-pr, act-on-feedback and 10 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 9 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 3 projects that use this
ModelEngine-GroupSkillcreate-release-note
从 PR/commit 中自动生成结构化的 Release Notes,并可选创建 GitHub Draft Release。支持 x.y.0 版本合并前一 minor 系列的 release notes。当用户要求生成发布说明、创建 release notes 时触发。参数为版本号和可选的上一版本号。
Also in 3 projects that use this
frostneySkillnative-nostalgia-stack
Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.
Also in 3 projects that use this
frostneySkillsoftware-engineering-excellence
Applies the user's engineering standards during substantial technical work: preserve scope, use current evidence, delegate independent parts, and complete authorized outcomes. Use during substantial implementation, debugging, refactoring, or multi-part delivery work.
Also in 3 projects that use this
parkchuSkillstart-mission
넥스트스텝(NextStep) 미션을 처음 시작할 때, 미션 저장소를 fork·clone하고 최초 작업 브랜치(step1 등)까지 만들어 준다. gh CLI로 fork하고 clone까지 이어서 처리하며, gh가 없거나 인증이 안 돼 있으면 브라우저 Fork 안내로 폴백한다. 이미 fork/clone돼 있으면 재사용하고 이어서 진행한다(재실행 안전). 사용자가 "미션 시작하려는데 저장소 세팅해줘", "새 미션 시작할래", "fork부터 해줘", "/nextstep:start-mission" 등으로 요청할 때 사용한다.
Also in 3 projects that use this
- +1 more from microsoft
Other versions196 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 196
- microsoft/vscode★ 195ksame name
- vercel/next.js★ 143ksame name
- penpot/penpot★ 62ksame name
- remix-run/react-router★ 57ksame name
- moeru-ai/airi★ 51ksame name
- ToolJet/ToolJet★ 41ksame name
- ueberdosis/tiptap★ 39ksame name
- BabylonJS/Babylon.js★ 26ksame name
- kortix-ai/suna★ 21ksame name
- kortix-ai/CompanyOS★ 21ksame name
186 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 repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- change-verdictSkill
- code-simplifySkill
- code-traceSkill
- deploy-listSkill
- doc-maintainSkill
- feature-verifySkill
- flow-driveSkill
- flow-guideSkill
- git-smart-commitSkill
- git-worktreeSkill
- harness-setupSkill
- issue-analyzeSkill
- js-static-checksSkill
- laravelSkill
- legacy-characterization-testsSkill
- library-authorSkill
- merge-prepSkill
- module-designSkill
- nextjsSkill
- openspec-artifact-guardSkill
- opsx-apply-resumeSkill
- phpSkill
- phpunitSkill
- precommitSkill
- project-auditSkill
- project-briefSkill
- proposal-analyzeSkill
- pr-summarySkill
- pythonSkill
- reactSkill
- release-creatorSkill
- repo-intakeSkill
- repo-verifySkill
- swiftSkill
- tdd-workflowSkill
- ui-ux-verifySkill
- vue-2-notesSkill
- yii1Skill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Run in the consumer repository and preserve the supplied arguments.
- Very specific: line 25
When it is omitted, the selected head is the current branch.
- Very specific: line 35
When the project does not set {TICKET_PATTERN}, use [A-Z]+-\d+.
- Very specific: line 36
When the head name does not match, say the ticket was not resolved and do not invent one.
“Common” is measured: kept by at least 6 in 10 of the 179 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
Create PR
Workflow
Run in the consumer repository and preserve the supplied arguments. Resolve
the selected head and base once, before the commit count, log, diff, ticket,
push check, existing-PR query, or gh command. An explicit --head wins.
When it is omitted, the selected head is the current branch. An explicit --base wins. When it
is omitted and the consumer project's instructions supply {TARGET_BRANCH},
use that value. dhpk does not define a userConfig key for {TARGET_BRANCH}
or {TICKET_PATTERN}. When {TARGET_BRANCH} is unset, the generic fallback is main.
The consumer project's Project Convention supplies any project-specific
base; use the explicit option or project instructions to select it. A
ref that does not resolve is BLOCKED; do not substitute the checkout or
another branch.
Extract a ticket from the selected head name with {TICKET_PATTERN}.
When the project does not set {TICKET_PATTERN}, use [A-Z]+-\d+.
When the head name does not match, say the ticket was not resolved and
do not invent one. Then generate <type>: [<TICKET>] <summary> unless
--title overrides it. Build the body in this order: Summary, Evidence,
Merge Danger, the ticket link when resolved, then verification.
Summary uses one visual form from the workflow guide: pseudocode, a call
tree, a component tree, a Mermaid sequence diagram, or a minimal diff.
Evidence pairs a pre-change Before with an After observed on the selected
head. Merge Danger states Door (one-way or two-way) and Blast Radius
(the callers, packages, or surfaces affected, plus any chain reaction).
Separate checks actually run on the selected range from planned checks
marked NOT RUN. A result observed only on a different checkout is
NOT RUN for this request. The section shape, form guide, and
unobserved-after rule live in
references/workflow.md. Before any PR creation,
run the pre-flight checks in that reference. Count commits with
git rev-list --count <selected-base>..<selected-head>. A zero count stops
with No commits between <selected-base> and <selected-head> — nothing to open a PR for.
Dry-run is the default and only prints a copy-pasteable gh pr create
command. --execute is the sole creation path: verify the branch is pushed,
verify no PR already exists, require the existing GitHub authorization, ask
for confirmation, and then report the URL. Do not push or create commits.
When NOT to Use
- The branch still needs commits or a push.
- An existing PR must be edited, merged, or closed.
- A release, tag, or deployment is the requested operation.
Output
- Dry-run: one copy-pasteable
gh pr createcommand block and no PR URL claim. - Execute: the URL returned by
gh pr create. - Missing refs, no commits, an unpushed branch, an existing PR, unavailable
gh, failed authorization, or failed confirmation are terminal failures; never report a created PR without the URL evidence.
Verification
- The selected head and base resolve, and that range's commit count is non-zero.
- The selected head is pushed and no matching PR already exists for that head and base.
- Dry-run performed no PR mutation, or execute mode has a returned URL.
- The title, body, ticket, and diff describe the selected head and base.
- Summary uses one form from the workflow guide; Evidence pairs a pre-change Before with an After on the selected head; Merge Danger states Door and Blast Radius.
- Observed checks and planned
NOT RUNchecks are distinct; an unobserved after-state is marked expected.
References
references/workflow.md— option resolution, pre-flight evidence, command shape, and failure handling.
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.

