github-pr-workflow
Skill47 starsChanged 4 months agoMITView on GitHub
Use when creating, updating, or managing pull requests — automates the full PR lifecycle (open, review requests, labels, merge) via GitHub MCP
- 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
- HybridAIOne/hybridclaw★ 157same name
- AlexAI-MCP/hermes-CCC★ 135same name
- AtlasOmnia/donna-starter★ 122same name
- AtlasOmnia/hermes-custom-pack★ 61same 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 repository111 other files it gives its agents.
- AGENTS.mdAGENTS.md
- COPILOT-INSTRUCTIONS.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- ai-visibilitySkill
- content-strategySkill
- seoSkill
- actions-debuggingSkill
- agentic-engineeringSkill
- autopilot-patternsSkill
- background-agentSkill
- context-primeSkill
- copilot-memorySkill
- cross-session-memorySkill
- ecosystem-intakeSkill
- fleet-parallelSkill
- github-code-searchSkill
- github-codespaces-efficiencySkill
- github-issue-triageSkill
- ide-switchingSkill
- knowledge-curatorSkill
- mcp-builderSkill
- mcp-ecosystemSkill
- multi-model-strategySkill
- plan-mode-masterySkill
- scope-guardSkill
- session-managementSkill
- stack-detectorSkill
- sub-agent-sandboxingSkill
- task-intake-routerSkill
- team-plannerSkill
- token-cost-optimizerSkill
- api-and-interface-designSkill
- code-reviewSkill
- context-engineeringSkill
- cpp-debuggingSkill
- deprecation-and-migrationSkill
- diagnoseSkill
- fix-build-errorsSkill
- fix-github-issueSkill
- implementSkill
- improve-codebase-architectureSkill
- nestjs-prismaSkill
- nextjs-prismaSkill
- performance-optimizationSkill
- pr-multi-perspective-reviewSkill
- prototypeSkill
- react-vitestSkill
- receiving-code-reviewSkill
- refactor-cleanSkill
- reviewSkill
- skill-creatorSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- systematic-debuggingSkill
- tdd-workflowSkill
- zoom-outSkill
- add-to-changelogSkill
- api-documentationSkill
- architecture-decisionsSkill
- code-tourSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Use list_pull_requests to see what needs attention:
- Very specific: line 131
CI-aware reviews: Always check get_check_runs before diving into a diff review.
- Distinctive: line 132
If CI is red, focus on the failure first.
- Very specific: line 133
Paginate large results: Use page and perPage parameters to handle repositories with hundreds of open PRs without overwhelming your context …
- Very specific: line 162
Use gh api graphql for thread-level operations that the REST API does not expose:
- Distinctive: line 203
Leave resolution to the PR author or maintainer
- Very specific: line 207
Require Triage permission: before calling resolveReviewThread — check viewerCanResolveThread in the GraphQL query
“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 Automation
Why This is Copilot-Exclusive
Copilot CLI ships with a built-in GitHub MCP server that provides native, authenticated access
to the GitHub API — no tokens to configure, no extensions to install. You can list, search, read,
diff, and check CI status on pull requests using structured tool calls. Claude Code has no
equivalent built-in integration; it must shell out to gh CLI or raw curl commands with
manual token management.
When to Use
- Creating PRs with well-structured descriptions from your commit history
- Reviewing incoming PRs without leaving your terminal
- Checking CI/CD status on a PR before merging
- Batch-triaging a queue of open pull requests
- Responding to review comments programmatically
Workflow
1. List Open PRs in a Repository
Use list_pull_requests to see what needs attention:
Tool: github-mcp-server-list_pull_requests
owner: "my-org"
repo: "my-app"
state: "open"
sort: "updated"
direction: "desc"
perPage: 102. Read a Specific PR's Diff
Dive into the code changes with pull_request_read:
Tool: github-mcp-server-pull_request_read
method: "get_diff"
owner: "my-org"
repo: "my-app"
pullNumber: 1423. Check CI Status
See if all checks are passing before you review:
Tool: github-mcp-server-pull_request_read
method: "get_check_runs"
owner: "my-org"
repo: "my-app"
pullNumber: 1424. Read Review Comments
Pull up the review conversation:
Tool: github-mcp-server-pull_request_read
method: "get_review_comments"
owner: "my-org"
repo: "my-app"
pullNumber: 1425. Search PRs by Author or Label
Find PRs from a specific contributor:
Tool: github-mcp-server-search_pull_requests
query: "author:octocat is:open"
owner: "my-org"
repo: "my-app"Examples
Morning PR Triage
"List all open PRs in my-org/api-service sorted by most recently updated, then for each one show me the CI status and a one-line summary of changes."
Copilot calls list_pull_requests, iterates results, calls get_check_runs and
get_files on each, and returns a concise triage report.
Create a PR from Current Branch
# Stage and commit your changes first
git add -A && git commit -m "feat: add caching layer"
# Then ask Copilot:
# "Create a PR for my current branch targeting main. Generate the description
# from my commit messages and include a testing checklist."Copilot reads your git log, drafts a structured PR body, and uses gh pr create
to open it — all without you writing a single line of markdown.
Cross-Repo PR Search
"Find all open PRs across my-org that mention 'database migration' in the title"
Tool: github-mcp-server-search_pull_requests
query: "database migration in:title is:open org:my-org"Tips
- Batch parallel reads: Copilot can call
get_diff,get_check_runs, andget_review_commentsin parallel for the same PR — much faster than sequentialghcalls. - Use search over list:
search_pull_requestssupports GitHub's full search syntax including labels, milestones, review status, and date ranges. - Combine with fleet mode: Launch fleet agents to review multiple PRs simultaneously, each agent handling one PR and producing a summary.
- CI-aware reviews: Always check
get_check_runsbefore diving into a diff review. If CI is red, focus on the failure first. - Paginate large results: Use
pageandperPageparameters to handle repositories with hundreds of open PRs without overwhelming your context window.
Automated Review-Loop (copilot-pr-autopilot)
Automate the full Copilot Code Review cycle: request → monitor → triage → fix → resolve → re-trigger.
Inspired by the copilot-pr-autopilot pattern from github/awesome-copilot PR #1944.
Loop Overview
1. Request Copilot Code Review on the PR
2. Poll until review is complete (status: "completed" or "action_required")
3. Triage open review threads:
- Actionable → fix in code
- Outdated / resolved by other changes → reply + resolve
4. Commit fixes with a targeted message
5. Re-trigger Copilot Code Review
6. Repeat until no actionable threads remainWhen to Use This Loop
- You want to resolve all Copilot review comments without manual thread triage
- You are working as an external contributor (single-iteration mode recommended)
- You need to clear a review queue before merge
Implementation Pattern
Use gh api graphql for thread-level operations that the REST API does not expose:
# List unresolved review threads on a PR
gh api graphql -f query='
query($owner: String!, $repo: String!, $pr: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $pr) {
reviewThreads(first: 50) {
nodes { id isResolved isOutdated comments(first: 1) { nodes { body } } }
}
}
}
}
' -f owner=MY-ORG -f repo=MY-REPO -F pr=142# Resolve a specific thread after fixing
gh api graphql -f query='
mutation($threadId: ID!) {
resolveReviewThread(input: {threadId: $threadId}) { thread { id isResolved } }
}
' -f threadId=THREAD_IDTriage Strategy
| Thread state | Action |
| Actionable, code not fixed | Fix in source, then resolve |
| Outdated (code changed since comment) | Reply "Addressed by [commit]", then resolve |
| Duplicate of a resolved thread | Resolve without reply |
| Requires discussion | Leave open, note for human reviewer |
Single-Iteration Mode (External Contributor Friendly)
For repositories where you lack Triage/Write permissions, run one iteration only:
- Fix all actionable threads in a single commit
- Reply to each thread explaining the fix
- Leave resolution to the PR author or maintainer
Safety Guards
- Require Triage permission before calling
resolveReviewThread— checkviewerCanResolveThreadin the GraphQL query - Never auto-resolve threads marked as security-blocking — check the thread body for "BLOCK" or severity markers
- Cap iterations at 5 to prevent runaway loops on PRs with continuously regenerated review comments
- Do not delete stale comments automatically — reply and resolve instead; git blame and PR history should remain intact
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.

