create-pr
Skill4 starsChanged 7 months agoMITView on GitHub
Create a GitHub pull request with the issue number in the title. Use when user says "create PR", "open PR", "make pull request", or after completing a plan implementation.
- Commits and pushes
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, merge-pr and 5 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
anderson-c-santosSkillmerge-pr
Merge a GitHub PR after all checks pass. Trigger for: /merge-pr, merge PR, approve and merge, squash merge, ship PR. Verifies CI, draft state, and approvals, then merges with the correct strategy based on branch type.
Also in 3 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
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 repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/ai-workspace-projections.mdcCursor rule
- .cursor/rules/mcp-tool-configs.mdcCursor rule
- .cursor/rules/node-typescript.mdcCursor rule
- .cursor/rules/runstore-listruns-cache.mdcCursor rule
- .cursor/rules/worker-posture.mdcCursor rule
- .cursor/rules/worker-safety.mdcCursor rule
- await-pr-checksSkill
- commitSkill
- create-agentSkill
- create-issueSkill
- create-mcpSkill
- create-planSkill
- create-prSkill
- create-ruleSkill
- create-skillSkill
- create-test-planSkill
- implement-planSkill
- load-contextSkill
- mergeprepSkill
- orchestrate-create-planSkill
- orchestrate-create-test-planSkill
- orchestrate-implement-planSkill
- orchestrate-resolve-pr-commentsSkill
- orchestrate-reviewSkill
- publish-releaseSkill
- resolve-conflictsSkill
- resolve-issue-commentsSkill
- resolve-pr-commentsSkill
- resolve-review-findingsSkill
- review-prSkill
- reviewSkill
- run-test-planSkill
- setup-worktreeSkill
- update-contextSkill
- await-pr-checksSkill
- commitSkill
- create-agentSkill
- create-issueSkill
- create-mcpSkill
- create-planSkill
- create-ruleSkill
- create-skillSkill
- create-test-planSkill
- implement-planSkill
- load-contextSkill
- orchestrate-create-planSkill
- orchestrate-create-test-planSkill
- orchestrate-implement-planSkill
- orchestrate-resolve-pr-commentsSkill
- orchestrate-reviewSkill
- publish-releaseSkill
- resolve-conflictsSkill
- resolve-issue-commentsSkill
- resolve-pr-commentsSkill
- review-prSkill
- reviewSkill
- run-test-planSkill
- setup-worktreeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 6 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 82 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Create a GitHub pull request with consistent title formatting that includes the issue number.
- Very specific: line 16
Before creating a PR, check that /review-pr has been run on this branch:
- Very specific: line 18
Check if /review-pr was run in the current session (the user ran it earlier in this conversation)
- Very specific: line 19
If not, warn: *"Self-review has not been run.
- Distinctive: line 20
If the user confirms to skip, proceed — but note "Self-review skipped" in the PR description
- Very specific: line 21
If the user ran /review-pr and there are unresolved Critical findings, warn: *"/review-pr found N unresolved critical findings.
- Very specific: line 28
If the branch name starts with a number (e.g., 50-archive-dynamodb-event-store), extract it as the issue number.
- Distinctive: line 29
If no issue number is detected, ask the user for it.
- Very specific: line 39
No conventional-commit prefixes (feat:, fix:, chore:, etc.)
- Distinctive: line 59
Use the plan file to construct the body:
- Distinctive: line 75
If a plan exists, derive the summary from the completed tasks in the Implementation Tasks table.
- Distinctive: line 85
Create the pull request using the available GitHub tools with:
“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
<!-- Generated from .agents/ by scripts/sync-ai-workspace.mjs. Do not edit directly. -->Create PR
Create a GitHub pull request with consistent title formatting that includes the issue number.
Instructions
Step 0: Verify Self-Review Has Been Run
Before creating a PR, check that /review-pr has been run on this branch:
- Check if
/review-prwas run in the current session (the user ran it earlier in this conversation) - If not, warn: "Self-review has not been run. Run
/review-prfirst to catch issues before PR creation?" - If the user confirms to skip, proceed — but note "Self-review skipped" in the PR description
- If the user ran
/review-prand there are unresolved Critical findings, warn: "/review-pr found N unresolved critical findings. Resolve them before creating a PR, or proceed anyway?"
This is advisory, not blocking — the user can always override.
Step 1: Determine Issue Number and Branch
- Get the current branch:
git branch --show-current - If the branch name starts with a number (e.g.,
50-archive-dynamodb-event-store), extract it as the issue number. - If no issue number is detected, ask the user for it.
Step 2: Build PR Title
Format: #{issue-number} {Short description} — the issue number MUST be the very first thing in the title. No exceptions.
Rules:
- Issue number comes first, prefixed with
# - Single space after the number — no colon, no dash
- Description starts with a capital letter
- No conventional-commit prefixes (
feat:,fix:,chore:, etc.)
Correct examples:
#50 Archive DynamoDB event store#14 Localization infrastructure#148 Allow custom page size in the DataTable
Do NOT use these formats:
#50: Title— no colon after the issue numberfeat: Title (#50)— no conventional-commit prefix, no issue number at endfix: resolve something— missing issue number entirely#50 implement thing— must capitalize first word of description
Derive the short description from:
- The plan file at
plans/{branch-name}/plan.md(use the feature title) - The GitHub issue title: fetch the issue details using the available GitHub tools (owner, repo, issue_number) and extract the title from the result
- Or ask the user
Step 3: Build PR Body
Use the plan file to construct the body:
## Summary
- Bullet point summary of what was implemented (2-5 bullets)
## Issue
Closes #{issue-number}
## Test Plan
- [ ] Verification steps or test commands runIf a plan exists, derive the summary from the completed tasks in the Implementation Tasks table.
Step 4: Push and Create
- Push the branch:
git push -u origin HEAD- Create the pull request using the available GitHub tools with:
owner: repository ownerrepo: repository nametitle:"#{issue-number} {description}"head: current branch namebase:"main"body: the PR body from Step 3
Step 5: Return the PR URL
Display the PR URL to the user when done.
Critical Rules
- Title format is
#{number} {Description}-- issue number first, no colon, no prefix, capitalized description. This is non-negotiable. - Comment prefix -- if adding PR comments, prefix with
**[Claude Code]:** - Don't force-push -- use regular
git push
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.

