github-create-pr
Skill1 starsChanged 13 days agoMITView on GitHub
Creates a pull request using GitHub CLI by following every numbered step in order. Do not skip steps. Do not improvise — execute the workflow literally. Activate when the user says "create PR", "open PR", "push and PR", "submit for review", or work is ready for review.
- Deletes or force-pushes
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- flc1125/skillstheir own version, first seen Aug 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- flc1125/skills★ 38same name
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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openkata-eval-runnerSkill
- openkata-optimize-skillsSkill
- openkata-review-ruleSkill
- openkata-review-skillSkill
- openkata-rule-conventionsSkill
- openkata-ryu-releaseSkill
- openkata-skill-conventionsSkill
- commit-conventionsSkill
- create-adrSkill
- create-evalsSkill
- create-profileSkill
- create-ruleSkill
- create-skillSkill
- critical-thinkingSkill
- git-worktreeSkill
- grill-meSkill
- grill-with-docsSkill
- makefile-conventionsSkill
- spec-workflowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 13 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
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 27
If on main or master, stop and warn: "You are on the default branch.
- Distinctive: line 36
If rebase conflicts, stop and let the user resolve.
- Distinctive: line 42
If a PR already exists, show its URL and ask: "A PR already exists for this branch.
- Distinctive: line 47
If any fail, stop and fix before pushing.
- Distinctive: line 55
If push fails, report the error and suggest fixes (force push not allowed without explicit permission).
- Distinctive: line 63
Use this to understand the scope and write an accurate PR description.
- Very specific: line 77
If yes, run gh pr view --web.
- Distinctive: line 94
No section headers unless there are multiple distinct sections.
- Distinctive: line 96
Do not force push without explicit user permission.
- Distinctive: line 97
Do not push to main/master directly.
- Distinctive: line 98
If the branch has a single commit, use its message as the PR title.
- Distinctive: line 107
Does NOT modify code or commit
- Distinctive: line 108
Does NOT force push without explicit permission
- Distinctive: line 109
Does NOT push to main/master directly
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Pull Request
Open a pull request for the current branch using gh.
Steps
- Check for uncommitted changes — Run
git status --short. If output is non-empty, show the list and ask: "There are uncommitted changes. Commit and include them, or create the PR without them?" Do not proceed without an answer. - Verify branch — Run
git branch --show-current. If onmainormaster, stop and warn: "You are on the default branch. Create a feature branch first." - Rebase on main — Always fetch and rebase before
pushing:
If rebase conflicts, stop and let the user resolve.git fetch origin main git rebase origin/main - Check for existing PR — Run:
If a PR already exists, show its URL and ask: "A PR already exists for this branch. Open it instead?"gh pr list --head $(git branch --show-current) - Run verification — Check AGENTS.md or the project's build/test configuration for pre-push steps. Run them. If any fail, stop and fix before pushing.
- Push the branch — Run:
Usesgit push --force-with-lease -u origin $(git branch --show-current)--force-with-leasefor safety after rebase. Falls back to plain push if no upstream exists yet. If push fails, report the error and suggest fixes (force push not allowed without explicit permission). - Analyze changes — Run:
Use this to understand the scope and write an accurate PR description. Do not guess — base the description on actual changes.git log main..HEAD --oneline git diff main --stat - Create the PR — Run:
Show the generated title and description to the user for approval before submitting. Ifgh pr create --title "<title>" --body "<body>"ghis not installed, provide the manual URL:https://github.com/{owner}/{repo}/compare/{branch} - Ask about browser — "Open the PR in your browser?"
If yes, run
gh pr view --web.
Conventions
- Title: under 70 characters, plain language summary.
- Description format:
Summary paragraph explaining what and why. - Concise bullet per logical change - No sub-bullets - Focus on outcomes, not file paths ## Testing (optional, only when changes affect behavior) ## Deployment (optional, only when post-merge steps exist) - No section headers unless there are multiple distinct sections. The default is summary + bullets, flat.
- Do not force push without explicit user permission.
- Do not push to main/master directly.
- If the branch has a single commit, use its message as the PR title. If multiple commits, summarize.
Boundaries
- DOES check for uncommitted changes
- DOES push the current branch
- DOES create a GitHub pull request
- DOES run pre-push verification steps
- Does NOT modify code or commit
- Does NOT force push without explicit permission
- Does NOT push to main/master directly
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.

