/git-github-workflow:copilot-pr-autopilotfrom git-github-workflow
Automates a multi-round GitHub Copilot Code Review loop on pull requests: requests review via GraphQL, waits, triages fix/decline/escalate threads, dispatches bounded fixes, builds/tests/lints, commits per iteration, and re-triggers until HEAD is clean.
Ships in git-github-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Drive a pull request through repeated GitHub Copilot review rounds until every loop-owned thread has a fix acknowledgement, decline rationale, or explicit hand-off, with one focused commit per round and proof that HEAD was reviewed.
gh CLI must be installed and authenticated. Every script dot-sources scripts/_lib.ps1, which runs Assert-GhReady and halts before work if gh is missing or gh auth status fails.powershell.exe) or PowerShell 7+ (pwsh).requestReviewsByLogin is permission-gated.scripts/01-request-review.ps1 fails because GitHub Copilot Code Review is unavailable, run a single iteration over existing human, advanced-security, or other bot threads by skipping trigger and wait.| Actor | What works |
|---|---|
| Repo collaborator with Triage / Write | Full loop: 01 triggers Copilot, 02 waits, 04–08 triage, fix, reply, then loop. |
| External PR author without write permission | 01 errors. Use -SingleIteration, address current findings once, then ask the maintainer to trigger review in the UI or push a substantive commit to fire synchronize. |
In single-iteration mode, Converged: true means OpenThreadsAwaitingReply == 0; maintainer-side re-trigger drives later rounds.
scripts/01-request-review.ps1, following references/01-request-review.md.references/02-wait.md.references/03-list-threads.md and scripts/03-list-open-threads.ps1.references/04-triage.md: fix, decline, or escalate-to-user.references/05-fix.md.CONTRIBUTING, AGENTS, README, package.json, or Makefile, following references/06-build-test.md.references/07-commit-push.md.references/08-reply-resolve.md and scripts/08-reply-and-resolve.ps1; use -NoResolve for escalate-to-user hand-offs.references/09-convergence.md and scripts/02-check-review-status.ps1.Converged: false, loop back to step 1. If Converged: true, run cleanup once with references/10-cleanup.md and scripts/10-cleanup-outdated.ps1.At every 10th round, run the round-cap recap gate in references/09-convergence.md#round-cap--recap-gate-circuit-breaker. Recap all prior rounds against the PR's original scope and choose CONTINUE, REVERT-AND-SHIP, or HAND-OFF.
| Thread type | Default disposition |
|---|---|
| GitHub Copilot thread | Loop-owned: fix or decline, then reply and resolve when disposition is complete. |
| Human reviewer thread | Default to escalate-to-user; reply with analysis and leave open unless the user explicitly owns resolution. |
github-advanced-security thread | Default to escalate-to-user unless a safe fix is clearly in scope. |
| Design tradeoff | Decline with rationale or hand off; do not over-engineer to satisfy speculative feedback. |
| Outdated unresolved thread | Still reply and resolve if loop-owned; unresolved state is source of truth. |
Convergence requires HEAD-match, zero-awaiting, and at-HEAD review. Print proof fields such as HeadOid, LatestCopilotReview.commitOid, and submittedAt in the completion message. Do not call task_complete before Converged: true.
fix and decline dispositions; leave escalate-to-user open with 08-reply-and-resolve.ps1 -NoResolve.git bisect.copilot_work_started event id, Converged, HEAD match, zero-awaiting, at-HEAD review, single-iteration fallback, and PR-state guard are enforced there.references/api-quirks.md before modifying scripts: it documents gh api graphql -F type coercion, git stash push -m positional parsing, and the three GraphQL reviewer mutation traps.| Issue | Resolution |
|---|---|
prerequisite missing — gh CLI is not on PATH | Install gh from https://cli.github.com or with winget install GitHub.cli on Windows and brew install gh on macOS; then run gh auth login. Surface the script message and stop. |
prerequisite missing — gh CLI is not authenticated | Run gh auth login; stop until complete. |
Trigger fails or no copilot_work_started event lands | Push a substantive non-whitespace commit; persistent failure may mean Copilot Code Review is disabled in repo settings or account-level Copilot Pro/Pro+. |
| No new review after about 10 minutes | Quiet period or trivial-diff suppression. Push a substantive commit and retry; do not blindly rerun 01-request-review.ps1 while it reports InFlight. |
| Outdated unresolved threads appear | Expected; unresolved state is source of truth. Reply and resolve loop-owned items, then let 10-cleanup-outdated.ps1 run only as final safety net. |
| Unsure fix vs decline | Use references/04-triage.md. |
| Need reply phrasing | Use templates/reply-fix.md, templates/reply-decline.md, templates/reply-drift.md, or templates/reply-partial.md. |
references/orchestration.md: time-boxing, extension protocol, sub-agent map, single-iteration fallback, and loop-wide notes.references/01-request-review.md through references/10-cleanup.md: per-step contracts for request, wait, list, triage, fix, build-test, commit-push, reply-resolve, convergence, and cleanup.references/api-quirks.md: GitHub API behavior and GraphQL traps.templates/reply-fix.md, templates/reply-decline.md, templates/reply-drift.md, templates/reply-partial.md: reply templates.scripts/_lib.ps1: Invoke-Gh, Invoke-GhGraphQL, Resolve-RepoCoords, and Assert-GhReady.scripts/01-request-review.ps1: trigger Copilot review and verify pickup.scripts/02-check-review-status.ps1: snapshot review state; emits Converged: true only when all conditions hold.scripts/03-list-open-threads.ps1: unresolved PR review threads from all reviewers.scripts/08-reply-and-resolve.ps1: post a reply and resolve in one call.scripts/10-cleanup-outdated.ps1: final outdated Copilot thread safety net.### Copilot PR autopilot result
**Status:** converged | single-iteration complete | hand-off | blocked
**PR:** <owner/repo#number>
**Rounds:** <count>
**HeadOid:** `<sha>`
**LatestCopilotReview.commitOid:** `<sha or none>`
**submittedAt:** `<timestamp or none>`
| Round | Threads triaged | Fixed | Declined | Escalated | Commit | Validation |
| --- | ---: | ---: | ---: | ---: | --- | --- |
| <n> | <count> | <count> | <count> | <count> | `<sha>` | <build/test/lint result> |
**OpenThreadsAwaitingReply:** <count>
**Converged:** true | false
**Remaining open hand-offs:** <human/design/security threads or none>
gh and authentication prerequisites were checked by Assert-GhReady.HeadOid, LatestCopilotReview.commitOid, submittedAt, and Converged: true proof.references/01-request-review.md (opens in a new tab)references/02-wait.md (opens in a new tab)references/03-list-threads.md (opens in a new tab)references/04-triage.md (opens in a new tab)references/05-fix.md (opens in a new tab)references/06-build-test.md (opens in a new tab)references/07-commit-push.md (opens in a new tab)references/08-reply-resolve.md (opens in a new tab)references/09-convergence.md (opens in a new tab)references/10-cleanup.md (opens in a new tab)references/api-quirks.md (opens in a new tab)references/orchestration.md (opens in a new tab)scripts/01-request-review.ps1 (opens in a new tab)scripts/02-check-review-status.ps1 (opens in a new tab)scripts/03-list-open-threads.ps1 (opens in a new tab)scripts/08-reply-and-resolve.ps1 (opens in a new tab)scripts/09-review-round.ps1 (opens in a new tab)scripts/10-cleanup-outdated.ps1 (opens in a new tab)scripts/_lib.ps1 (opens in a new tab)templates/reply-decline.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin git-github-workflow13 skills in this plugin
/commit-message-storytellerAnalyze git diffs, staged changes, or plain change descriptions and generate narrative Conventional Commits messages that explain why the change matters. Use when asked to "write a commit message", "generate a commit", "describe my changes", "what should I commit this as", "commit this", "summarize my diff", or "help me commit"./conventional-branchCreate, normalize, validate, and check out Git branches following the Conventional Branch specification with feature/, bugfix/, hotfix/, release/, and chore/ prefixes. Use when creating a new branch, naming a branch, or checking branch-name compliance./Other plugins' skills for the same job