create-pr
Skill0 starsChanged 8 months agoMITView on GitHub
Create a PR from the current branch with a structured description optimized for automated review.
- 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 repository4 other files it gives its agents.
- address-issuesSkill
- release-versionSkill
- release-workflowSkill
- review-prSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Create a pull request from the current branch with a structured description that enables thorough automated review via /review-pr.
- Distinctive: line 16
All work is committed (git status is clean)
- Distinctive: line 19
If any prerequisite fails, fix it before continuing.
- Very specific: line 47
If the branch name contains an issue number (e.g., fix/issue-42), or if commit messages reference an issue (closes #42, fixes #42), fetch …
- Very specific: line 61
Use this exact format. Every section is required.
- Distinctive: line 136
Always fill in "Breaking Changes" and "Security Considerations" even if "None" — the reviewer checks these sections exist
- Distinctive: line 137
If the PR is large (>500 lines), add a "Review Guide" section suggesting which files to review first
“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 PR
Create a pull request from the current branch with a structured description that enables thorough automated review via /review-pr.
Prerequisites
Verify before proceeding:
- You are on a feature branch (not main)
- All work is committed (
git statusis clean) - Branch is pushed to remote
If any prerequisite fails, fix it before continuing.
Step 1: Gather Context
# Current branch and base
BRANCH=$(git branch --show-current)
BASE="main"
# All commits on this branch
git log ${BASE}..HEAD --oneline
# Full diff stats
git diff ${BASE}...HEAD --stat
# Changed files
gh api repos/:owner/:repo/compare/${BASE}...${BRANCH} --jq '.files[].filename'
# Check for a related issue (by branch name pattern like fix/issue-42 or feat/issue-15)
# Extract issue number if the branch follows <prefix>/issue-<number> convention
ISSUE_NUM=$(echo "$BRANCH" | grep -oE 'issue-[0-9]+' | grep -oE '[0-9]+')
if [ -n "$ISSUE_NUM" ]; then
gh issue view "$ISSUE_NUM" --json number,title,body,labels
fiLinked Issue
If the branch name contains an issue number (e.g., fix/issue-42), or if commit messages reference an issue (closes #42, fixes #42), fetch the issue details. The PR body should include Closes #<number> to auto-close the issue on merge.
Step 2: Analyze Changes
Categorize every changed file into:
- Source code:
src/changes — what logic changed and why - Tests:
tests/changes — what's covered, what test strategy was used - Docs:
docs/,README.md,CHANGELOG.md— what documentation was updated - Config:
pyproject.toml, workflow files, config — what infrastructure changed - Skills:
.claude/skills/— what skills were added or modified
Step 3: Build PR Description
Use this exact format. Every section is required. The /review-pr skill parses these sections.
## Summary
<1-3 sentences: what this PR does and why>
## Linked Issue
<If this PR addresses a GitHub issue, write "Closes #<number>" and include a one-line summary of the issue. Write "None" if no issue is linked.>
## Changes
### Source
- <file>: <what changed and why>
### Tests
- <file>: <what's tested>
### Docs
- <file>: <what was updated>
(Write "No doc changes" if none — reviewer will check if docs SHOULD have been updated)
### Config
- <file>: <what changed>
(Write "No config changes" if none)
## Breaking Changes
<List any breaking changes to CLI flags, public APIs, or behavior. Write "None" if none.>
## Security Considerations
<List any security-relevant changes: auth, secrets, shell commands, user input handling. Write "None" if none.>
## Test Plan
- [ ] All unit tests pass (`uv run pytest tests/unit/ -v`)
- [ ] All integration tests pass (`uv run pytest tests/integration/ -v`)
- [ ] Ruff clean (`uv run ruff check src/ tests/`)
- [ ] Coverage maintained (>90%)
- [ ] No secrets in committed files
<Add any PR-specific test steps>
🤖 Generated with [Claude Code](https://claude.com/claude-code)Step 4: Push and Create PR
# Push branch if not already pushed
git push -u origin HEAD
# Create the PR (use --draft if argument was passed)
gh pr create --title "<short title under 70 chars>" --body "<structured body from Step 3>"The title should follow this convention:
feat: <description>— new featurefix: <description>— bug fixrefactor: <description>— refactoringdocs: <description>— documentation onlychore: <description>— maintenance, deps, config
Step 5: Verify
gh pr view --webConfirm the PR was created with the full structured description.
Notes
- The structured format enables
/review-prto efficiently locate what changed, what's tested, and what docs need checking - Always fill in "Breaking Changes" and "Security Considerations" even if "None" — the reviewer checks these sections exist
- If the PR is large (>500 lines), add a "Review Guide" section suggesting which files to review first
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.

