create-pull-request
Skill4 starsChanged 13 months agoApache-2.0View on GitHub
Generate a reviewer-ready pull request or merge request title and description from branch changes. Use when a user asks to draft PR/MR content, summarize branch deltas against a base branch, or optionally create the PR with gh/glab after approval.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- JeffreyFerreiras/ai-skillstheir own version, first seen Oct 5, 2026
- Jay-1409/skillstheir own version, first seen Oct 3, 2026
- marcellocurto/skillstheir own version, first seen Oct 2, 2026
- Weixi779/skillstheir own version, first seen Aug 6, 2026
- microsoft/vscode-pull-request-githubtheir own version, first seen Jul 16, 2026
- theoklitosBam7/skillstheir own version, first seen Jul 12, 2026
Used with
Projects with it also use commit.
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.
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 3 projects that use this
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- cline/cline★ 70ksame name
- microsoft/vscode-pull-request-github★ 2.6ksame name
- warpdotdev/oz-skills★ 825same name
- platformplatform/PlatformPlatform★ 440same name
- haru/redmine_ai_helper★ 106same name
- helderberto/agent-skills★ 16same name
- kimrgrey/claudini★ 9same name
- marcellocurto/skills★ 3same name
- dennishenle/agent-skills★ 2same name
- Jay-1409/skills★ 2same name
3 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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- branch-surgery-pr-splitSkill
- browser-qaSkill
- create-mermaid-diagramsSkill
- git-commit-conventionalSkill
- mastra-apiSkill
- tilt-devSkill
- uv-usageSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 12 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
12
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
- Distinctive: line 14
Always begin your response with all active emoji markers, in the order they were introduced.
- Distinctive: line 28
Use positive, reviewer-friendly language with clear structure.
- Distinctive: line 42
Verify git repository context.
- Distinctive: line 44
If working tree is dirty, tell the user and ask whether to continue with current state.
- Distinctive: line 50
Run the collector script:
- Very specific: line 56
Read the emitted artifact directory and MANIFEST.txt.
- Distinctive: line 74
Verify each section with this sequence:
- Distinctive: line 85
Before presenting output, confirm:
- Very specific: line 87
all required sections are populated or marked N/A with reason,
- Distinctive: line 94
After presenting title/body:
- Distinctive: line 96
Ask for explicit user approval to create the PR/MR.
- Distinctive: line 98
Verify selected CLI presence and auth status.
- Distinctive: line 99
Run creation command using the exact approved title/body.
- Very specific: line 102
Use references/pr-creation-commands.md for platform-specific command flow.
- Distinctive: line 109
If Phase 6 is executed, include resulting URL.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Overview
Analyze branch changes against a base branch, produce a structured PR/MR title and body with evidence, and optionally create the PR/MR via CLI after explicit user approval.
Context Marker
Always begin your response with all active emoji markers, in the order they were introduced.
Format: "<marker1><marker2><marker3>\n<response>"
The marker for this skill is: 🚀
Role
Act as a senior software engineer and code reviewer who writes concise, evidence-backed PR/MR descriptions.
Core Principles
- Base conclusions on collected git artifacts.
- Surface risk early (breaking changes, migrations, configuration updates, manual QA).
- Use positive, reviewer-friendly language with clear structure.
- Mark information gaps explicitly instead of speculating.
- Require explicit user confirmation before any PR/MR creation command.
Runtime Requirements
- Git CLI:
git status,git branch --show-current,git rev-parse,git log,git diff,git remote. - Shell utilities:
mktemp,cat. - Optional creation path:
ghfor GitHub orglabfor GitLab, with valid auth.
Workflow
Phase 1: Environment Validation
- Verify git repository context.
- Capture current branch and working tree state.
- If working tree is dirty, tell the user and ask whether to continue with current state.
Blocking check: complete before collecting artifacts.
Phase 2: Repository Context Collection
Run the collector script:
BASE_BRANCH="${BASE_BRANCH:-main}" bash scripts/collect_pr_context.sh- Read the emitted artifact directory and
MANIFEST.txt. - Analyze artifact files from disk, not by streaming huge diffs to chat.
Blocking check: all required artifacts exist.
Phase 3: Data Analysis
From collected artifacts, identify:
- key functional changes and rationale,
- affected files/directories and test coverage signals,
- risk flags (breaking changes, config/dependency changes, known limitations),
- missing context requiring explicit user follow-up.
Phase 4: Draft PR/MR Content with Chain-of-Verification
- Draft title using Conventional Commit style.
- Draft body using the template in
references/pr-description-template.md. - Verify each section with this sequence:
- Initial draft
- Self-question: "Is this claim verifiable from artifacts?"
- Fact-check against artifact files
- Resolve inconsistencies
- Final validated wording
Blocking check: every section is verifiable or explicitly marked unknown.
Phase 5: Quality Gate
Before presenting output, confirm:
- all required sections are populated or marked
N/Awith reason, - title format is valid conventional commit style,
- breaking changes are clearly marked (use
!and/orBREAKING CHANGE:when applicable), - risks, testing notes, and follow-ups are explicit and concise.
Phase 6: Optional PR/MR Creation
After presenting title/body:
- Ask for explicit user approval to create the PR/MR.
- Detect platform from
git remoteor ask user if ambiguous. - Verify selected CLI presence and auth status.
- Run creation command using the exact approved title/body.
- Return PR/MR URL on success; otherwise return actionable failure details.
Use references/pr-creation-commands.md for platform-specific command flow.
Output Contract
- Provide final PR/MR title.
- Provide final PR/MR body in the expected section structure.
- Include short risk summary and any missing-information notes.
- If Phase 6 is executed, include resulting URL.
References
- PR/MR structure and full example:
references/pr-description-template.md - Conventional commit titles for PR/MR:
references/conventional-commit-pr-titles.md - Platform detection and creation commands:
references/pr-creation-commands.md - Section-level writing guidance:
references/writing-guidelines.md
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.

