create-pr
Skill4 starsChanged 6 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
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 178 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 178 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
Other versions197 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 197
- microsoft/vscode★ 194ksame 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★ 20ksame name
- ryoppippi/ccusage★ 19ksame name
187 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.
Used alongsideProjects 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
frostneySkillroadmap-review
Reviews a roadmap from fresh project evidence and produces a verified, throughput-anchored version plan, with execution gated on confirmation. Use when reviewing a roadmap, planning releases, or sequencing a backlog.
Also in 3 projects that use this
Hey-DigaSkillreview-pr-comments
Review and apply Claude's PR feedback interactively. Use after receiving a Claude Code review on a PR to triage and implement feedback.
Also in 4 projects that use this
- +1 more from microsoft
- +1 more from frostney
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

