create-pr
Skill2 starsChanged 57 days agoMITView on GitHub
Create a GitHub pull request with a Conventional Commits title and detailed summary body. Use when user says "create a PR", "open a pull request", "submit PR", or "make a PR".
- 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 create-issue, merge-pr and 9 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.
sahinSkillcreate-issue
Also in 9 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
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
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 repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- zk-model-passSkill
- bootstrap-agents-mdSkill
- update-agents-mdSkill
- zk-design-critiqueSkill
- us-math-standardsSkill
- three-game-starterSkill
- gh-cliSkill
- update-prSkill
- zk-app-store-linksSkill
- optimize-audioSkill
- tanstack-querySkill
- tanstack-routerSkill
- tailwind-to-stylexSkill
- implement-plan-phaseSkill
- zk-claude-artifactSkill
- study-writing-styleSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 82 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 13
Before doing anything else, decide who to assign and which labels to apply.
- Distinctive: line 15
If the message that triggered this skill already names a GitHub username, use it.
- Distinctive: line 16
If it already names labels, use those.
- Distinctive: line 17
If either is missing, ask in one question and wait for the answer:
- Distinctive: line 21
Do not invent a username or a default label.
- Distinctive: line 42
If no upstream or unpushed commits exist, push:
- Distinctive: line 48
Do NOT force-push or amend commits.
- Very specific: line 79
Use the default branch from step 2 as --base.
“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
Create PR
Workflow
1. Assignee and labels
Before doing anything else, decide who to assign and which labels to apply.
- If the message that triggered this skill already names a GitHub username, use it.
- If it already names labels, use those.
- If either is missing, ask in one question and wait for the answer:
- GitHub username to assign. They may say none.
- Labels to apply. They may say none.
Do not invent a username or a default label. Only pass labels that already exist on the repo. If a named label is missing, say so and ask whether to skip it.
2. Gather context
Resolve the repo's default branch, then diff against it:
git branch --show-current
base=$(gh repo view --json defaultBranchRef --jq .defaultBranchRef.name)
git log --oneline "origin/${base}..HEAD"
git diff "origin/${base}...HEAD" --stat
git diff "origin/${base}...HEAD"3. Push if needed
git status -sb
git rev-list --count @{u}..HEAD 2>/dev/nullIf no upstream or unpushed commits exist, push:
git push -u origin HEADDo NOT force-push or amend commits.
4. Compose the PR title
Format: type(scope): description
- type:
featfixrefactorchorebuilddocstestperfcistylehotfix - scope: affected package or area (e.g.
api,web) - description: imperative mood, lowercase, total title under 70 chars
Derive type and scope from the diff and commit log. Use the dominant type when commits span multiple types.
5. Compose the PR body
<pr-body-template>
## Summary- <what changed and why — one bullet per logical group of changes>
Commits
type(scope):description- (list each commit from git log)
</pr-body-template>
Omit the Commits section if there is only one commit.
Group Summary bullets by change type when there are 4+ mixed-type commits.
6. Create the PR
Use the default branch from step 2 as --base. Add --assignee only when the user named one. Repeat --label once per label they named; omit it when they named none.
gh pr create \
--base "$base" \
--assignee <username> \
--label <label> \
--title "type(scope): description" \
--body "$(cat <<'EOF'
## Summary
- bullet 1
- bullet 2
## Commits
- `type(scope):` description
EOF
)"7. Return the PR URL
Output the URL returned by gh pr create.
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.

