github-pr-workflow
Skill157 starsChanged 7 months agoMITView on GitHub
Create branches, commit and push changes, open or update GitHub pull requests, handle CI, and merge safely.
- Commits and pushes
23 other projects use a version of this.
Adopted by
Most recently taken up by
- rakaarwaky/agents-arwakytheir own version, first seen Oct 6, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- bmaltais/skillstheir own version, first seen Sep 6, 2026
- Stuko0/alice-agenttheir own version, first seen Aug 30, 2026
- gootf/software-agent-soptheir own version, first seen Aug 30, 2026
Used with
Projects with it also use find-nearby, xitter 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.
braxtonROSE4Skillfind-nearby
Find nearby places (restaurants, cafes, bars, pharmacies, etc.) using OpenStreetMap. Works with coordinates, addresses, cities, zip codes, or Telegram location pins. No API keys needed.
Also in 3 projects that use this
braxtonROSE4Skillxitter
Interact with X/Twitter via the x-cli terminal client using official X API credentials. Use for posting, reading timelines, searching tweets, liking, retweeting, bookmarks, mentions, and user lookups.
Also in 3 projects that use this
AlexAI-MCPSkilljupyter-live-kernel
Jupyter notebook and kernel operations — start kernels, execute cells programmatically, export, and data analysis patterns.
Also in 5 projects that use this
AlexAI-MCPSkillnative-mcp
MCP server integration in Claude Code — add servers to .mcp.json, configure transports, and use their tools natively.
Also in 4 projects that use this
seedprodSkillsongsee
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
Also in 5 projects that use this
- +6 more from braxtonROSE4
- +1 more from AlexAI-MCP
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- taracodlabs/aiden★ 846same name
- aivrar/portable-hermes-agent★ 232same name
- graniet/kheish★ 221same name
- AlexAI-MCP/hermes-CCC★ 135same name
- AtlasOmnia/donna-starter★ 122same name
- AtlasOmnia/hermes-custom-pack★ 61same name
- drvoss/everything-copilot-cli★ 47same name
- nickvasilescu/korgo-bot★ 35same name
- YPares/agent-skills★ 30same name
- delorenj/skills★ 15same name
13 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 repository88 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/llm-wiki/templates/AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 1passwordSkill
- agentic-tpmSkill
- airtableSkill
- alexaSkill
- apple-calendarSkill
- apple-musicSkill
- apple-passwordsSkill
- bahnSkill
- blinkSkill
- bookingSkill
- brand-voiceSkill
- byd-batterySkill
- channel-catchupSkill
- code-reviewSkill
- code-simplificationSkill
- current-timeSkill
- diagramSkill
- discordSkill
- distil-pii-redactorSkill
- docxSkill
- download-platform-invoicesSkill
- excalidrawSkill
- fastbillSkill
- fax-sendSkill
- feature-planningSkill
- firecrawlSkill
- froniusSkill
- ga4Skill
- gh-issuesSkill
- gogSkill
- google-adsSkill
- google-workspaceSkill
- gwsSkill
- handoff-linksSkill
- hermes3000-writingSkill
- hetzner-cloudSkill
- hetzner-dnsSkill
- hetzner-storage-boxSkill
- heygenSkill
- homematicSkill
- hubspotSkill
- hueSkill
- human-distillSkill
- hybridclaw-helpSkill
- image-generationSkill
- iss-positionSkill
- langfuseSkill
- lexware-officeSkill
- llm-wikiSkill
- mailchimpSkill
- manim-videoSkill
- microsoft-365Skill
- miroSkill
- mittwaldSkill
- notionSkill
- obsidianSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 18 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
18
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
- could be automatic: a setting could enforce it
- Distinctive: line 20
Use this skill for the end-to-end pull request loop from branch creation through merge readiness.
- Very specific: line 25
Verify GitHub CLI authentication if the workflow will use gh.
- Distinctive: line 27
Create a focused branch for one change.
- Distinctive: line 29
Commit with a clear message.
- Distinctive: line 31
Check CI and fix failures.
- Very specific: line 43
Run this before any git or PR workflow steps that depend on gh.
- Distinctive: line 56
Use the repository's actual base branch if it is not main.
- Distinctive: line 66
Keep commits scoped and explain user-visible intent in the subject line.
- Very specific: line 75
When --fill is not enough, make the body explicit with:
- Very specific: line 90
If gh is unavailable, complete the local git steps and use the GitHub UI for PR-specific actions.
- Distinctive: line 95
Check status after every push:
- Distinctive: line 104
When a check fails:
- Distinctive: line 112
Do not merge red CI unless the user explicitly accepts that risk.
- Distinctive: line 116
Use the PR conversation as the source of truth:
- Distinctive: line 129
keep follow-up commits small and labeled by intent
- Distinctive: line 133
Use the repository's preferred merge style:
- Distinctive: line 146
no unresolved review threads remain if the repo treats them as blockers
- Distinctive: line 150
Prefer small PRs over broad mixed-scope branches.
- Distinctive: line 151
Keep the PR body current when scope changes.
- Distinctive: line 152
Do not hide risky follow-up work in "later" comments.
- Distinctive: line 154
If a change needs multiple dependent PRs, make the stack explicit.
- Distinctive: line 155
When CI is noisy or flaky, call that out instead of pretending the branch is stable.
“Common” is measured: kept by at least 6 in 10 of the 23 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
GitHub PR Workflow
Use this skill for the end-to-end pull request loop from branch creation through merge readiness.
Default Sequence
- Verify GitHub CLI authentication if the workflow will use
gh. - Sync the base branch.
- Create a focused branch for one change.
- Implement and validate locally.
- Commit with a clear message.
- Push and open or update the PR.
- Check CI and fix failures.
- Address review feedback.
- Merge only when the branch is green and approved.
Core Commands
Verify GitHub CLI Auth
gh auth statusRun this before any git or PR workflow steps that depend on gh. If it fails,
fix authentication first so the workflow does not stop later during gh pr create,
gh pr checks, or other PR commands.
Prepare the Branch
git fetch origin
git checkout main
git pull --ff-only origin main
git checkout -b feat/short-descriptionUse the repository's actual base branch if it is not main.
Commit Clearly
git status --short
git add path/to/file.ts tests/path/to/file.test.ts
git commit -m "feat: short summary"Keep commits scoped and explain user-visible intent in the subject line.
Push and Open the PR
git push -u origin HEAD
gh pr create --fillWhen --fill is not enough, make the body explicit with:
- summary
- test plan
- risks or rollout notes
- linked issue or ticket
Useful variants:
gh pr create --draft
gh pr create --base main --title "feat: short summary" --body-file /tmp/pr-body.md
gh pr view --webIf gh is unavailable, complete the local git steps and use the GitHub UI for
PR-specific actions.
CI and Merge Readiness
Check status after every push:
gh pr checks
gh pr checks --watch
gh run list --branch "$(git branch --show-current)" --limit 5
gh run view <run-id> --log-failedWhen a check fails:
- inspect the failing job or logs
- reproduce locally if possible
- fix the smallest confirmed problem
- rerun targeted validation
- push again and re-check CI
Do not merge red CI unless the user explicitly accepts that risk.
Review Feedback Loop
Use the PR conversation as the source of truth:
gh pr view 123 --comments
gh pr comment 123 --body "Addressed the failing migration path."
gh pr review 123 --comment --body "Applied the requested cleanup."When feedback arrives:
- group related comments into one fix pass when practical
- mention what changed, not just that it is done
- rerun the checks most likely to regress
- keep follow-up commits small and labeled by intent
Merge Options
Use the repository's preferred merge style:
gh pr merge 123 --squash
gh pr merge 123 --merge
gh pr merge 123 --rebaseBefore merging, verify:
- CI is green
- required reviewers approved
- the PR description still matches the implementation
- no unresolved review threads remain if the repo treats them as blockers
Working Rules
- Prefer small PRs over broad mixed-scope branches.
- Keep the PR body current when scope changes.
- Do not hide risky follow-up work in "later" comments; put it in the PR body or linked issue.
- If a change needs multiple dependent PRs, make the stack explicit.
- When CI is noisy or flaky, call that out instead of pretending the branch is stable.
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.

