create-pr
Skill8 starsChanged 9 months agoMITView on GitHub
Create a GitHub pull request with structured body, visual preview from screenshots, and test instructions derived from project context
- Commits and pushes
197 other projects use a version of this.
Adopted by
Most recently taken up by
- RoboFinSystems/robosystemstheir own version, first seen Nov 30, 2026
- gerrymanoim/exchange_calendarstheir own version, first seen Nov 30, 2026
- RLinf/RPenttheir own version, first seen Nov 30, 2026
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- ktrz/skillstheir own version, first seen Nov 29, 2026
- indrazm/personal-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use update-pr, create-release-note 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 10 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
frostneySkilldelivery-wait
Provides deterministic, resumable GitHub transition waits used internally by delivery workflows. Use when another workflow must await CI, merge, tag, or release state without model heartbeats.
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
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
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
- +1 more from frostney
- +1 more from microsoft
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★ 196ksame name
- vercel/next.js★ 144ksame name
- penpot/penpot★ 63ksame name
- remix-run/react-router★ 57ksame name
- moeru-ai/airi★ 52ksame name
- ToolJet/ToolJet★ 41ksame name
- ueberdosis/tiptap★ 39ksame name
- BabylonJS/Babylon.js★ 27ksame name
- kortix-ai/CompanyOS★ 21ksame name
- kortix-ai/suna★ 21ksame 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.
In this repository79 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyze-competitorsSkill
- analyze-dependenciesSkill
- analyze-metricsSkill
- audit-accessibilitySkill
- audit-api-consistencySkill
- audit-performanceSkill
- audit-securitySkill
- capture-pr-visualsSkill
- commitSkill
- create-adrSkill
- create-api-designSkill
- create-bug-reportSkill
- create-commit-messageSkill
- create-data-modelSkill
- create-decision-logSkill
- create-docSkill
- create-estimationSkill
- create-experiment-designSkill
- create-feature-flag-planSkill
- create-gtm-briefSkill
- create-handoffSkill
- create-incident-reportSkill
- create-interview-guideSkill
- create-jtbd-canvasSkill
- create-metrics-frameworkSkill
- create-onboarding-guideSkill
- create-ostSkill
- create-planSkill
- create-postmortemSkill
- create-pr-descriptionSkill
- create-prdSkill
- create-release-checklistSkill
- create-release-notesSkill
- create-retroSkill
- create-reviewSkill
- create-rfcSkill
- create-roadmapSkill
- create-rollback-planSkill
- create-runbookSkill
- create-shape-up-pitchSkill
- create-stakeholder-updateSkill
- create-test-planSkill
- create-threat-modelSkill
- create-user-storiesSkill
- debug-systematicSkill
- fastapi-endpoint-patternsSkill
- fix-findingsSkill
- fix-reviewSkill
- flutter-platform-patternsSkill
- flutter-state-managementSkill
- flutter-version-managementSkill
- flutter-widget-patternsSkill
- manage-tech-debtSkill
- nextjs-api-patternsSkill
- nextjs-app-router-patternsSkill
- nextjs-performanceSkill
- product-context-docsSkill
- project-skill-creatorSkill
- project-standardsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 182 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Create a GitHub pull request from the current branch using gh CLI.
- Distinctive: line 22
Not on main/master (if so, warn and suggest creating a branch)
- Very specific: line 23
No uncommitted changes (if there are, suggest running /commit first)
- Very specific: line 62
After generating the body, check if .github/pr-screenshots/ exists and contains .png or .gif files.
- Distinctive: line 74
Use relative paths — GitHub renders these inline in PR descriptions
- Distinctive: line 75
If no screenshots exist, omit this section
- Very specific: line 77
If no screenshots exist and the branch has UI changes (changes to components, pages, styles, templates), suggest running …
- Distinctive: line 84
If the branch has mixed types, use the most significant one
- Distinctive: line 89
NEVER create PRs to main without user confirmation if there are destructive changes
- Very specific: line 90
Always use gh pr create (not the GitHub web UI)
- Very specific: line 92
If gh is not authenticated, tell the user to run gh auth login
- Very specific: line 94
Test plan should use actual commands from chalk.json when available (e.g., real test.command, real dev.command)
“Common” is measured: kept by at least 6 in 10 of the 182 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 a GitHub pull request from the current branch using gh CLI. Reads chalk.json for project context to generate better test instructions and embeds visual artifacts if available.
Workflow
- Check prerequisites — Run
git statusto verify:- Not on
main/master(if so, warn and suggest creating a branch) - No uncommitted changes (if there are, suggest running
/commitfirst) - Branch has commits ahead of base branch
- Not on
- Analyze changes — Run
git log main..HEAD --onelineandgit diff main...HEAD --statto understand all changes. - Read project context — Read
.chalk/chalk.jsonif it exists:test.command— for test plan instructionsdev.command— for setup instructionsroutes— to identify affected pagesproject.framework— for framework-specific review notes
- Determine base branch — Default to
main. If the user specifies a different target, use that. - Push the branch — Run
git push -u origin <branch>if not already pushed. - Create the PR — Use
gh pr createwith:- A concise title (under 70 characters) following conventional commit style
- A structured body (see format below)
- Report — Show the user the PR URL.
PR Body Format
## Summary
<1-3 bullet points describing what changed and why>
## Changes
<Bulleted list of specific changes, grouped by area>
## Test plan
<How to verify — include actual commands from chalk.json if available>
<e.g., "1. Run `npm run dev` 2. Navigate to /dashboard 3. Verify...">
🤖 Generated with [Claude Code](https://claude.com/claude-code)Visual Preview Section
After generating the body, check if .github/pr-screenshots/ exists and contains .png or .gif files. If it does, append a ## Visual Preview section before the footer:
## Visual Preview
### <Page Name>

- Group images by page/route with subheadings
- Include both screenshots and GIFs if both exist
- Use relative paths — GitHub renders these inline in PR descriptions
- If no screenshots exist, omit this section
If no screenshots exist and the branch has UI changes (changes to components, pages, styles, templates), suggest running /capture-pr-visuals first.
Title Convention
Match the conventional commit style of the primary change:
feat(scope): descriptionfor feature branchesfix(scope): descriptionfor bug fix branches- If the branch has mixed types, use the most significant one
Rules
- NEVER force push
- NEVER create PRs to
mainwithout user confirmation if there are destructive changes - Always use
gh pr create(not the GitHub web UI) - Pass the PR body via HEREDOC for proper formatting
- If
ghis not authenticated, tell the user to rungh auth login - Include relevant issue references (e.g., "Closes #34") if the branch name or commits reference an issue
- Test plan should use actual commands from
chalk.jsonwhen available (e.g., realtest.command, realdev.command)
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.

