create-pr
Skill17 starsChanged 9 months agoMITView on GitHub
Create a pull request from the current branch with quality checks. Use when changes are ready for review, after committing.
- Reads credentials
- 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 repository12 other files it gives its agents.
- commitSkill
- create-branchSkill
- create-skillSkill
- fix-ciSkill
- gh-issueSkill
- merge-to-stagingSkill
- review-pr-commentsSkill
- slack-pr-recapSkill
- start-working-on-issueSkill
- test-coverage-improveSkill
- testing-guideSkill
- ui-patternsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. 0 are common, 20 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
20
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
- Distinctive: line 14
Run git status to check for uncommitted changes
- Distinctive: line 15
If there are uncommitted changes:
- Distinctive: line 21
Wait for user's decision
- Distinctive: line 22
Run git branch --show-current to get the current branch name
- Distinctive: line 23
Verify we're not on main/master branch
- Distinctive: line 26
Run the following checks in parallel:
- Distinctive: line 31
If any checks fail:
- Distinctive: line 33
Ask if I want to fix them before creating the PR
- Distinctive: line 34
If yes, help fix the issues and re-run the checks
- Very specific: line 37
Run git log origin/main..HEAD --oneline to see commits that will be in the PR
- Very specific: line 38
Run git diff origin/main...HEAD --stat to see changed files summary
- Very specific: line 39
Run git diff origin/main...HEAD to understand the full changes
- Distinctive: line 43
If branch name contains an issue number (e.g., "123-feature-name"), extract it
- Distinctive: line 44
Look for related issue by checking recent commits for issue references
- Distinctive: line 48
Create a comprehensive PR description with:
- Distinctive: line 82
Ask: "Does this look good?
- Distinctive: line 83
Wait for approval or make requested changes
- Distinctive: line 86
Run git push -u origin HEAD to push the branch to remote
- Distinctive: line 90
After approval, create the PR using:
- Very specific: line 103
Run gh pr view --web to open the PR in browser (optional)
- Distinctive: line 106
Add labels if needed
- Distinctive: line 110
Always ensure all tests pass before creating PR
- Distinctive: line 111
Use conventional commit style for PR titles when possible
- Distinctive: line 114
Check for any .env or sensitive data in the diff
“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 Pull Request
You are tasked with creating a pull request from the current branch.
Process:
1. Pre-flight Checks
- Run
git statusto check for uncommitted changes - If there are uncommitted changes:
- Show the uncommitted changes clearly
- Tell the user: "You have uncommitted changes. Please either:"
- "1. Exit and run
/committo commit your changes first (recommended)" - "2. Stash the changes temporarily with
git stash" - "3. Continue anyway if these changes aren't meant for this PR"
- "1. Exit and run
- Wait for user's decision
- Run
git branch --show-currentto get the current branch name - Verify we're not on main/master branch
2. Code Quality Verification
Run the following checks in parallel:
npm run lint- Check for linting issuesnpm run typecheck- Check for TypeScript errorsnpm test- Run the test suite
If any checks fail:
- Show me the errors
- Ask if I want to fix them before creating the PR
- If yes, help fix the issues and re-run the checks
3. Analyze Changes
- Run
git log origin/main..HEAD --onelineto see commits that will be in the PR - Run
git diff origin/main...HEAD --statto see changed files summary - Run
git diff origin/main...HEADto understand the full changes - Identify the type of changes (feature, bugfix, refactor, chore, etc.)
4. Extract Context
- If branch name contains an issue number (e.g., "123-feature-name"), extract it
- Look for related issue by checking recent commits for issue references
- Understand the purpose and scope of the changes
5. Draft PR Description
Create a comprehensive PR description with:
## Summary
[2-3 bullet points describing what this PR does]
## Related Issue
Closes #[issue-number] (if applicable)
## Changes Made
- [Detailed list of changes]
- [Include technical decisions if relevant]
- [Mention any breaking changes]
## Testing
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Manual testing completed
- [ ] Linting and type checking pass
## Screenshots
[If UI changes, include before/after screenshots]
## Checklist
- [ ] Code follows project style guidelines
- [ ] Self-review completed
- [ ] Tests added/updated for changes
- [ ] Documentation updated if needed
- [ ] No console.log or debug code left
- [ ] Translations added for new text (if applicable)6. Review with User
- Show me the draft PR title and description
- Ask: "Does this look good? Any changes needed?"
- Wait for approval or make requested changes
7. Push Changes
- Run
git push -u origin HEADto push the branch to remote - This ensures the branch exists on GitHub before creating the PR
8. Create the PR
After approval, create the PR using:
gh pr create \
--title "[Type] Clear, descriptive title" \
--body "Full PR description from step 5" \
--base main \
--draftNote: PRs are created as drafts by default to allow for final review before requesting feedback.
9. Post-Creation
- Show me the PR URL
- Run
gh pr view --webto open the PR in browser (optional) - Suggest next steps:
- Request reviews from team members
- Add labels if needed
- Link to project board if applicable
Important Notes:
- Always ensure all tests pass before creating PR
- Use conventional commit style for PR titles when possible
- Include issue numbers for automatic linking
- Be thorough in the description - it helps reviewers
- Check for any .env or sensitive data in the diff
PR Title Format Examples:
feat: Add user authentication systemfix: Resolve date parsing issue in calendarrefactor: Improve appointment service performancechore: Update dependencies to latest versionsdocs: Add API documentation for new endpoints
Remember: A good PR description saves review time and provides context for future reference.
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.

