[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77M3X7TZB5XKS9BK0WWCSKM":3,"skill-same:01M77M3X7TZB5XKS9BK0WWCSKM":142},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M77M3X7TZB5XKS9BK0WWCSKM","copilot-pr-autopilot",null,"Copilot left 14 review comments on your PR — half are nits. Hours of fix → reply → resolve → re-request, and each round lands MORE comments. This skill runs loop engineering: auto-triggers Copilot Code Review via GraphQL (no @copilot mention), triages every open thread (Copilot, humans, advanced-security) with a fix \u002F decline \u002F escalate rubric, dispatches parallel fix sub-agents that obey the repo build\u002Ftest\u002Flint conventions, commits per iteration, replies+resolves citing the pushed SHA, then re-triggers until HEAD is reviewed with zero threads awaiting the agent's reply (remaining open threads are explicit hand-offs to the human — escalated declines, design tradeoffs). You merge a clean PR; the bot runs it. Trigger phrases: \"address copilot comments\", \"run a copilot review loop\", \"fix this PR\", \"iterate on copilot feedback\". Repo-agnostic, gh CLI + PowerShell. Full autopilot needs repo Triage\u002FWrite; external PR authors get single-iteration mode plus manual re-trigger (UI 🔄 or substantive-commit push).","Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: copilot-pr-autopilot\ndescription: 'Copilot left 14 review comments on your PR — half are nits. Hours of fix → reply → resolve → re-request, and each round lands MORE comments. This skill runs loop engineering: auto-triggers Copilot Code Review via GraphQL (no @copilot mention), triages every open thread (Copilot, humans, advanced-security) with a fix \u002F decline \u002F escalate rubric, dispatches parallel fix sub-agents that obey the repo build\u002Ftest\u002Flint conventions, commits per iteration, replies+resolves citing the pushed SHA, then re-triggers until HEAD is reviewed with zero threads awaiting the agent''s reply (remaining open threads are explicit hand-offs to the human — escalated declines, design tradeoffs). You merge a clean PR; the bot runs it. Trigger phrases: \"address copilot comments\", \"run a copilot review loop\", \"fix this PR\", \"iterate on copilot feedback\". Repo-agnostic, gh CLI + PowerShell. Full autopilot needs repo Triage\u002FWrite; external PR authors get single-iteration mode plus manual re-trigger (UI 🔄 or substantive-commit push).'\n---\n\n# Copilot PR Autopilot\n\nDrive any GitHub pull request through repeated rounds of Copilot code\nreview until the agent has done its job — every Copilot finding has\na reply from the agent (fix-acknowledgement, decline-with-rationale,\nor explicit escalate-to-user hand-off). Remaining open threads, if\nany, are deliberate hand-offs to the human merge owner — they're\nnot loop failures. Repository-agnostic — works on any repo that has\nCopilot Code Review enabled, run from a machine with `gh` CLI\ninstalled and authenticated (see Prerequisites).\n\n## When to Use This Skill\n\n- The user asks to \"request Copilot review\" or \"run a Copilot review loop\"\n  on a PR.\n- A PR is functionally complete and the user wants a final correctness pass\n  via repeated automated review rounds.\n- A previous Copilot review on the PR has left open threads that need\n  triage, fixing, replying, and resolving.\n\n## When NOT to Use This Skill\n\n- The PR is still under active design — wait until the structure is stable;\n  otherwise findings churn round-over-round.\n- The user wants human reviewer feedback, not Copilot's.\n\n## Prerequisites\n\n- `gh` CLI installed and authenticated against the target repository.\n- PowerShell on PATH — Windows PowerShell 5.1+ (`powershell.exe`) or\n  PowerShell 7+ (`pwsh`). Both are tested.\n- Copilot Code Review is the primary use case (`01-request-review.ps1`\n  uses GraphQL `requestReviewsByLogin` to trigger Copilot). It is\n  **NOT a hard requirement** — if `01-request-review.ps1` fails\n  because Copilot isn't enabled on the repo \u002F account, the agent can\n  still drive existing review threads (human, advanced-security, etc.)\n  to completion by running steps 3–8 once as a single iteration; just\n  skip the trigger + wait. There is no auto-detect for \"Copilot\n  unavailable\" — the agent makes that decision after the trigger\n  fails (the script can't reliably tell \"Copilot disabled\" from\n  \"Copilot enabled but not yet triggered\" from API state alone).\n\n### Permissions: who can run the full loop\n\nThe full multi-round autopilot (steps 1 → 9 → 1) needs **Triage or Write** permission on the target repo, because GitHub's only public API for adding the Copilot bot as a reviewer (`requestReviewsByLogin`) is gated on that permission. Verified against the public REST + GraphQL surface in this PR's commit history — there is no public-API path for bot reviewers without write permission.\n\n| You are… | What works |\n|---|---|\n| **Repo collaborator with Triage \u002F Write** | Full loop: `01` triggers Copilot, `02` waits, `04`–`08` triage \u002F fix \u002F reply, loop back to `01`. Hands-off. |\n| **External PR author (no write permission)** | `01` will throw a clear actionable error. Use `-SingleIteration` mode: address all current findings in one pass, then either click the UI 🔄 next to Copilot, **or** push a substantive commit (the `synchronize` event auto-triggers Copilot on most repos). Then re-run `02` to verify. |\n\nIn single-iteration mode the loop's convergence boolean is `Converged: true` iff `OpenThreadsAwaitingReply == 0` (the agent's side is done). The maintainer-side re-trigger then drives any additional rounds.\n\nEvery script dot-sources [scripts\u002F_lib.ps1](scripts\u002F_lib.ps1) which\nruns `Assert-GhReady` on load: if `gh` is missing OR `gh auth status`\nfails, the script halts **before any work** with a single actionable\nerror message naming the install command and `gh auth login`. The\nagent should surface that message to the user verbatim and stop the\nloop — do not retry or work around it.\n\n## Step-by-Step Workflow\n\n> **The loop:** steps 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → 9, then **back to step 1** if `Converged: false`. Repeat the 1→9 round until step 9 returns `Converged: true`; only then run step 10 once and call `task_complete`. **At every 10th round, the parent runs the [round-cap recap gate](references\u002F09-convergence.md#round-cap--recap-gate-circuit-breaker) before looping back** — recap all prior rounds and stop if the loop has drifted out of the PR's original scope.\n\nEach round runs steps 1–9; step 10 is a one-time cleanup after convergence. The parent agent coordinates; every sub-agent step runs in a fresh context with a bounded budget. Cross-cutting protocol (time-boxing, extension, single-iteration fallback): [orchestration.md](references\u002Forchestration.md).\n\n1. **Request review** _(parent)_ — see [01-request-review.md](references\u002F01-request-review.md)\n2. **Wait for review** _(sub-agent, 20-min cap)_ — see [02-wait.md](references\u002F02-wait.md)\n3. **List + categorize open threads** _(sub-agent, 5 min)_ — see [03-list-threads.md](references\u002F03-list-threads.md)\n4. **Triage** _(sub-agent, 5 min per ≤5 threads)_ — see [04-triage.md](references\u002F04-triage.md)\n5. **Fix** _(sub-agents, parallel max 5, 5 min each)_ — see [05-fix.md](references\u002F05-fix.md)\n6. **Build + test per repo conventions** _(sub-agent, 10 min)_ — see [06-build-test.md](references\u002F06-build-test.md)\n7. **Commit + push** _(parent)_ — see [07-commit-push.md](references\u002F07-commit-push.md)\n8. **Reply (always) + resolve (conditional)** _(sub-agent drafts, parent posts)_ — see [08-reply-resolve.md](references\u002F08-reply-resolve.md)\n9. **Convergence verify** _(sub-agent, 3 min)_ — see [09-convergence.md](references\u002F09-convergence.md)\n   - **`Converged: false` → loop back to step 1** for another round (re-trigger, wait, list, triage, fix, push, reply, re-check). Each round addresses Copilot's findings on the previous round's HEAD; the loop terminates as soon as Copilot has nothing new to say AND every open thread has a reply from the agent.\n   - **`Converged: true` → exit the loop**, run step 10 once, call `task_complete` with the proof.\n   - **Every 10th round (10, 20, 30…) → run the [round-cap recap gate](references\u002F09-convergence.md#round-cap--recap-gate-circuit-breaker) before looping back.** Recap ALL prior rounds against the PR's original scope and pick a verdict: **CONTINUE**, **REVERT-AND-SHIP** (drop drifted commits, ship the in-scope ones), or **HAND-OFF** (escalate to the user). This is the circuit breaker that stops a runaway bot-review loop.\n10. **Cleanup outdated** _(parent, post-convergence, once)_ — see [10-cleanup.md](references\u002F10-cleanup.md)\n\nConvergence is computed by [scripts\u002F02-check-review-status.ps1](scripts\u002F02-check-review-status.ps1) as a single `Converged: true` boolean. Do **not** call `task_complete` until it returns true; print the proof (`HeadOid`, `LatestCopilotReview.commitOid`, `submittedAt`) in the completion message.\n\n## Gotchas\n\nThe bundled scripts enforce the hard correctness invariants (trigger landing via `copilot_work_started` event id, `Converged` requiring HEAD-match + zero-awaiting + at-HEAD review, single-iteration fallback semantics, PR-state guard). Trust them — don't re-derive. The notes below cover decisions the scripts can't make for you:\n\n- **Reply to every open thread; resolve only when the loop owns the disposition.** For `fix` and `decline` threads, reply + resolve. For `escalate-to-user` threads, reply with the analysis but leave the thread OPEN (`08-reply-and-resolve.ps1 -NoResolve`) so the human merge owner can act on it. See [08-reply-resolve.md](references\u002F08-reply-resolve.md).\n- **Copilot threads are loop-owned; human \u002F advanced-security \u002F other-bot threads default to `escalate-to-user`.** Auto-resolving a human review thread can hide unaddressed concerns. See [04-triage.md](references\u002F04-triage.md) for the rubric.\n- **One focused commit per round, not one per PR.** Bundling rounds destroys the audit trail of which finding drove which change and breaks `git bisect`. See [07-commit-push.md](references\u002F07-commit-push.md).\n- **Build\u002Ftest\u002Flint with the repo's own commands** (per its `CONTRIBUTING` \u002F `AGENTS` \u002F `README` \u002F `package.json` \u002F `Makefile`) before pushing a fix. Discovery procedure: [06-build-test.md](references\u002F06-build-test.md).\n- **Push back with written rationale** when a Copilot finding would over-engineer the design for a hypothetical edge case. Auto-accepting every suggestion erodes the design — see the `decline` path in [04-triage.md](references\u002F04-triage.md).\n- **Scripting traps** (`gh api graphql -F` type-coercion, `git stash push -m` positional parsing, the three GraphQL traps for the reviewer mutation) are documented in [references\u002Fapi-quirks.md](references\u002Fapi-quirks.md). Read before modifying any script.\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Script throws `prerequisite missing — gh CLI is not on PATH` | Install `gh` (`winget install GitHub.cli` on Windows; `brew install gh` on macOS; package manager on Linux; or download from https:\u002F\u002Fcli.github.com). Then `gh auth login`. Surface the message to the user and STOP the loop — do not retry. |\n| Script throws `prerequisite missing — gh CLI is not authenticated` | Run `gh auth login`. STOP the loop until the user completes auth. |\n| Trigger fails or no `copilot_work_started` event lands | Push a substantive (non-whitespace) commit — auto-assign on `synchronize` is the most reliable trigger. Persistent failure indicates Copilot Code Review may not be enabled on the repo \u002F account (check repo Settings → Code & automation → Copilot, or account-level Copilot Pro\u002FPro+). |\n| No new review after waiting ~10 min | Quiet-period after recent dismissal or trivial-diff suppression. Push a substantive commit and retry. Do not blindly re-run `01-request-review.ps1` — it reports `InFlight` while Copilot is still a requested reviewer. |\n| Outdated-but-unresolved threads in the open list | Expected: unresolved state is the source of truth. Reply + resolve them like any other open thread. `10-cleanup-outdated.ps1` is only a final safety net. |\n| Unsure whether to fix or decline a finding | See [references\u002F04-triage.md](references\u002F04-triage.md). |\n| Need a reply phrasing for \"fixed\", \"declined\", or \"drift\" | See the templates under [templates\u002F](templates\u002F) — [reply-fix.md](templates\u002Freply-fix.md), [reply-decline.md](templates\u002Freply-decline.md), [reply-drift.md](templates\u002Freply-drift.md), [reply-partial.md](templates\u002Freply-partial.md). |\n\n## References\n\n- [references\u002Forchestration.md](references\u002Forchestration.md) —\n  cross-cutting loop control: time-boxing & extension protocol,\n  sub-agent delegation map, single-iteration fallback, and loop-wide\n  notes.\n- Per-step contracts (one `NN-*.md` per step):\n  [references\u002F01-request-review.md](references\u002F01-request-review.md) _(parent)_,\n  [references\u002F02-wait.md](references\u002F02-wait.md),\n  [references\u002F03-list-threads.md](references\u002F03-list-threads.md),\n  [references\u002F04-triage.md](references\u002F04-triage.md) (includes the\n  fix-vs-decline rubric),\n  [references\u002F05-fix.md](references\u002F05-fix.md),\n  [references\u002F06-build-test.md](references\u002F06-build-test.md),\n  [references\u002F07-commit-push.md](references\u002F07-commit-push.md) _(parent)_,\n  [references\u002F08-reply-resolve.md](references\u002F08-reply-resolve.md),\n  [references\u002F09-convergence.md](references\u002F09-convergence.md) (includes\n  the round-cap recap gate),\n  [references\u002F10-cleanup.md](references\u002F10-cleanup.md) _(parent)_.\n- [references\u002Fapi-quirks.md](references\u002Fapi-quirks.md) — verified\n  GitHub API behavior, dead-ends, and the GraphQL traps for the\n  reviewer mutation.\n- Templates (one per reply type):\n  [templates\u002Freply-fix.md](templates\u002Freply-fix.md) — accepted-fix\n  pattern; [templates\u002Freply-decline.md](templates\u002Freply-decline.md) —\n  declined-with-rationale pattern;\n  [templates\u002Freply-drift.md](templates\u002Freply-drift.md) —\n  PR-description \u002F comment \u002F test-plan drift acknowledgement;\n  [templates\u002Freply-partial.md](templates\u002Freply-partial.md) —\n  partial fix with deferred follow-up. Cross-cutting reply guidance\n  and anti-patterns live in\n  [references\u002F08-reply-resolve.md](references\u002F08-reply-resolve.md#reply-guidance).\n- [scripts\u002F_lib.ps1](scripts\u002F_lib.ps1) — shared helpers (`Invoke-Gh`,\n  `Invoke-GhGraphQL`, `Resolve-RepoCoords`); dot-sourced by every\n  script.\n- [scripts\u002F01-request-review.ps1](scripts\u002F01-request-review.ps1) —\n  trigger Copilot review and verify pickup via the\n  `copilot_work_started` event.\n- [scripts\u002F02-check-review-status.ps1](scripts\u002F02-check-review-status.ps1) —\n  single-shot snapshot of the PR's Copilot review state; emits\n  `Converged: true` only when all three conditions hold.\n- [scripts\u002F03-list-open-threads.ps1](scripts\u002F03-list-open-threads.ps1) —\n  every unresolved PR review thread from **all reviewers** (Copilot,\n  humans, github-advanced-security, etc.).\n- [scripts\u002F08-reply-and-resolve.ps1](scripts\u002F08-reply-and-resolve.ps1) —\n  post a reply and resolve in one call.\n- [scripts\u002F10-cleanup-outdated.ps1](scripts\u002F10-cleanup-outdated.ps1) —\n  safety net for outdated Copilot threads.\n","# Copilot PR Autopilot\n\nDrive any GitHub pull request through repeated rounds of Copilot code\nreview until the agent has done its job — every Copilot finding has\na reply from the agent (fix-acknowledgement, decline-with-rationale,\nor explicit escalate-to-user hand-off). Remaining open threads, if\nany, are deliberate hand-offs to the human merge owner — they're\nnot loop failures. Repository-agnostic — works on any repo that has\nCopilot Code Review enabled, run from a machine with `gh` CLI\ninstalled and authenticated (see Prerequisites).\n\n## When to Use This Skill\n\n- The user asks to \"request Copilot review\" or \"run a Copilot review loop\"\n  on a PR.\n- A PR is functionally complete and the user wants a final correctness pass\n  via repeated automated review rounds.\n- A previous Copilot review on the PR has left open threads that need\n  triage, fixing, replying, and resolving.\n\n## When NOT to Use This Skill\n\n- The PR is still under active design — wait until the structure is stable;\n  otherwise findings churn round-over-round.\n- The user wants human reviewer feedback, not Copilot's.\n\n## Prerequisites\n\n- `gh` CLI installed and authenticated against the target repository.\n- PowerShell on PATH — Windows PowerShell 5.1+ (`powershell.exe`) or\n  PowerShell 7+ (`pwsh`). Both are tested.\n- Copilot Code Review is the primary use case (`01-request-review.ps1`\n  uses GraphQL `requestReviewsByLogin` to trigger Copilot). It is\n  **NOT a hard requirement** — if `01-request-review.ps1` fails\n  because Copilot isn't enabled on the repo \u002F account, the agent can\n  still drive existing review threads (human, advanced-security, etc.)\n  to completion by running steps 3–8 once as a single iteration; just\n  skip the trigger + wait. There is no auto-detect for \"Copilot\n  unavailable\" — the agent makes that decision after the trigger\n  fails (the script can't reliably tell \"Copilot disabled\" from\n  \"Copilot enabled but not yet triggered\" from API state alone).\n\n### Permissions: who can run the full loop\n\nThe full multi-round autopilot (steps 1 → 9 → 1) needs **Triage or Write** permission on the target repo, because GitHub's only public API for adding the Copilot bot as a reviewer (`requestReviewsByLogin`) is gated on that permission. Verified against the public REST + GraphQL surface in this PR's commit history — there is no public-API path for bot reviewers without write permission.\n\n| You are… | What works |\n|---|---|\n| **Repo collaborator with Triage \u002F Write** | Full loop: `01` triggers Copilot, `02` waits, `04`–`08` triage \u002F fix \u002F reply, loop back to `01`. Hands-off. |\n| **External PR author (no write permission)** | `01` will throw a clear actionable error. Use `-SingleIteration` mode: address all current findings in one pass, then either click the UI 🔄 next to Copilot, **or** push a substantive commit (the `synchronize` event auto-triggers Copilot on most repos). Then re-run `02` to verify. |\n\nIn single-iteration mode the loop's convergence boolean is `Converged: true` iff `OpenThreadsAwaitingReply == 0` (the agent's side is done). The maintainer-side re-trigger then drives any additional rounds.\n\nEvery script dot-sources [scripts\u002F_lib.ps1](scripts\u002F_lib.ps1) which\nruns `Assert-GhReady` on load: if `gh` is missing OR `gh auth status`\nfails, the script halts **before any work** with a single actionable\nerror message naming the install command and `gh auth login`. The\nagent should surface that message to the user verbatim and stop the\nloop — do not retry or work around it.\n\n## Step-by-Step Workflow\n\n> **The loop:** steps 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → 9, then **back to step 1** if `Converged: false`. Repeat the 1→9 round until step 9 returns `Converged: true`; only then run step 10 once and call `task_complete`. **At every 10th round, the parent runs the [round-cap recap gate](references\u002F09-convergence.md#round-cap--recap-gate-circuit-breaker) before looping back** — recap all prior rounds and stop if the loop has drifted out of the PR's original scope.\n\nEach round runs steps 1–9; step 10 is a one-time cleanup after convergence. The parent agent coordinates; every sub-agent step runs in a fresh context with a bounded budget. Cross-cutting protocol (time-boxing, extension, single-iteration fallback): [orchestration.md](references\u002Forchestration.md).\n\n1. **Request review** _(parent)_ — see [01-request-review.md](references\u002F01-request-review.md)\n2. **Wait for review** _(sub-agent, 20-min cap)_ — see [02-wait.md](references\u002F02-wait.md)\n3. **List + categorize open threads** _(sub-agent, 5 min)_ — see [03-list-threads.md](references\u002F03-list-threads.md)\n4. **Triage** _(sub-agent, 5 min per ≤5 threads)_ — see [04-triage.md](references\u002F04-triage.md)\n5. **Fix** _(sub-agents, parallel max 5, 5 min each)_ — see [05-fix.md](references\u002F05-fix.md)\n6. **Build + test per repo conventions** _(sub-agent, 10 min)_ — see [06-build-test.md](references\u002F06-build-test.md)\n7. **Commit + push** _(parent)_ — see [07-commit-push.md](references\u002F07-commit-push.md)\n8. **Reply (always) + resolve (conditional)** _(sub-agent drafts, parent posts)_ — see [08-reply-resolve.md](references\u002F08-reply-resolve.md)\n9. **Convergence verify** _(sub-agent, 3 min)_ — see [09-convergence.md](references\u002F09-convergence.md)\n   - **`Converged: false` → loop back to step 1** for another round (re-trigger, wait, list, triage, fix, push, reply, re-check). Each round addresses Copilot's findings on the previous round's HEAD; the loop terminates as soon as Copilot has nothing new to say AND every open thread has a reply from the agent.\n   - **`Converged: true` → exit the loop**, run step 10 once, call `task_complete` with the proof.\n   - **Every 10th round (10, 20, 30…) → run the [round-cap recap gate](references\u002F09-convergence.md#round-cap--recap-gate-circuit-breaker) before looping back.** Recap ALL prior rounds against the PR's original scope and pick a verdict: **CONTINUE**, **REVERT-AND-SHIP** (drop drifted commits, ship the in-scope ones), or **HAND-OFF** (escalate to the user). This is the circuit breaker that stops a runaway bot-review loop.\n10. **Cleanup outdated** _(parent, post-convergence, once)_ — see [10-cleanup.md](references\u002F10-cleanup.md)\n\nConvergence is computed by [scripts\u002F02-check-review-status.ps1](scripts\u002F02-check-review-status.ps1) as a single `Converged: true` boolean. Do **not** call `task_complete` until it returns true; print the proof (`HeadOid`, `LatestCopilotReview.commitOid`, `submittedAt`) in the completion message.\n\n## Gotchas\n\nThe bundled scripts enforce the hard correctness invariants (trigger landing via `copilot_work_started` event id, `Converged` requiring HEAD-match + zero-awaiting + at-HEAD review, single-iteration fallback semantics, PR-state guard). Trust them — don't re-derive. The notes below cover decisions the scripts can't make for you:\n\n- **Reply to every open thread; resolve only when the loop owns the disposition.** For `fix` and `decline` threads, reply + resolve. For `escalate-to-user` threads, reply with the analysis but leave the thread OPEN (`08-reply-and-resolve.ps1 -NoResolve`) so the human merge owner can act on it. See [08-reply-resolve.md](references\u002F08-reply-resolve.md).\n- **Copilot threads are loop-owned; human \u002F advanced-security \u002F other-bot threads default to `escalate-to-user`.** Auto-resolving a human review thread can hide unaddressed concerns. See [04-triage.md](references\u002F04-triage.md) for the rubric.\n- **One focused commit per round, not one per PR.** Bundling rounds destroys the audit trail of which finding drove which change and breaks `git bisect`. See [07-commit-push.md](references\u002F07-commit-push.md).\n- **Build\u002Ftest\u002Flint with the repo's own commands** (per its `CONTRIBUTING` \u002F `AGENTS` \u002F `README` \u002F `package.json` \u002F `Makefile`) before pushing a fix. Discovery procedure: [06-build-test.md](references\u002F06-build-test.md).\n- **Push back with written rationale** when a Copilot finding would over-engineer the design for a hypothetical edge case. Auto-accepting every suggestion erodes the design — see the `decline` path in [04-triage.md](references\u002F04-triage.md).\n- **Scripting traps** (`gh api graphql -F` type-coercion, `git stash push -m` positional parsing, the three GraphQL traps for the reviewer mutation) are documented in [references\u002Fapi-quirks.md](references\u002Fapi-quirks.md). Read before modifying any script.\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Script throws `prerequisite missing — gh CLI is not on PATH` | Install `gh` (`winget install GitHub.cli` on Windows; `brew install gh` on macOS; package manager on Linux; or download from https:\u002F\u002Fcli.github.com). Then `gh auth login`. Surface the message to the user and STOP the loop — do not retry. |\n| Script throws `prerequisite missing — gh CLI is not authenticated` | Run `gh auth login`. STOP the loop until the user completes auth. |\n| Trigger fails or no `copilot_work_started` event lands | Push a substantive (non-whitespace) commit — auto-assign on `synchronize` is the most reliable trigger. Persistent failure indicates Copilot Code Review may not be enabled on the repo \u002F account (check repo Settings → Code & automation → Copilot, or account-level Copilot Pro\u002FPro+). |\n| No new review after waiting ~10 min | Quiet-period after recent dismissal or trivial-diff suppression. Push a substantive commit and retry. Do not blindly re-run `01-request-review.ps1` — it reports `InFlight` while Copilot is still a requested reviewer. |\n| Outdated-but-unresolved threads in the open list | Expected: unresolved state is the source of truth. Reply + resolve them like any other open thread. `10-cleanup-outdated.ps1` is only a final safety net. |\n| Unsure whether to fix or decline a finding | See [references\u002F04-triage.md](references\u002F04-triage.md). |\n| Need a reply phrasing for \"fixed\", \"declined\", or \"drift\" | See the templates under [templates\u002F](templates\u002F) — [reply-fix.md](templates\u002Freply-fix.md), [reply-decline.md](templates\u002Freply-decline.md), [reply-drift.md](templates\u002Freply-drift.md), [reply-partial.md](templates\u002Freply-partial.md). |\n\n## References\n\n- [references\u002Forchestration.md](references\u002Forchestration.md) —\n  cross-cutting loop control: time-boxing & extension protocol,\n  sub-agent delegation map, single-iteration fallback, and loop-wide\n  notes.\n- Per-step contracts (one `NN-*.md` per step):\n  [references\u002F01-request-review.md](references\u002F01-request-review.md) _(parent)_,\n  [references\u002F02-wait.md](references\u002F02-wait.md),\n  [references\u002F03-list-threads.md](references\u002F03-list-threads.md),\n  [references\u002F04-triage.md](references\u002F04-triage.md) (includes the\n  fix-vs-decline rubric),\n  [references\u002F05-fix.md](references\u002F05-fix.md),\n  [references\u002F06-build-test.md](references\u002F06-build-test.md),\n  [references\u002F07-commit-push.md](references\u002F07-commit-push.md) _(parent)_,\n  [references\u002F08-reply-resolve.md](references\u002F08-reply-resolve.md),\n  [references\u002F09-convergence.md](references\u002F09-convergence.md) (includes\n  the round-cap recap gate),\n  [references\u002F10-cleanup.md](references\u002F10-cleanup.md) _(parent)_.\n- [references\u002Fapi-quirks.md](references\u002Fapi-quirks.md) — verified\n  GitHub API behavior, dead-ends, and the GraphQL traps for the\n  reviewer mutation.\n- Templates (one per reply type):\n  [templates\u002Freply-fix.md](templates\u002Freply-fix.md) — accepted-fix\n  pattern; [templates\u002Freply-decline.md](templates\u002Freply-decline.md) —\n  declined-with-rationale pattern;\n  [templates\u002Freply-drift.md](templates\u002Freply-drift.md) —\n  PR-description \u002F comment \u002F test-plan drift acknowledgement;\n  [templates\u002Freply-partial.md](templates\u002Freply-partial.md) —\n  partial fix with deferred follow-up. Cross-cutting reply guidance\n  and anti-patterns live in\n  [references\u002F08-reply-resolve.md](references\u002F08-reply-resolve.md#reply-guidance).\n- [scripts\u002F_lib.ps1](scripts\u002F_lib.ps1) — shared helpers (`Invoke-Gh`,\n  `Invoke-GhGraphQL`, `Resolve-RepoCoords`); dot-sourced by every\n  script.\n- [scripts\u002F01-request-review.ps1](scripts\u002F01-request-review.ps1) —\n  trigger Copilot review and verify pickup via the\n  `copilot_work_started` event.\n- [scripts\u002F02-check-review-status.ps1](scripts\u002F02-check-review-status.ps1) —\n  single-shot snapshot of the PR's Copilot review state; emits\n  `Converged: true` only when all three conditions hold.\n- [scripts\u002F03-list-open-threads.ps1](scripts\u002F03-list-open-threads.ps1) —\n  every unresolved PR review thread from **all reviewers** (Copilot,\n  humans, github-advanced-security, etc.).\n- [scripts\u002F08-reply-and-resolve.ps1](scripts\u002F08-reply-and-resolve.ps1) —\n  post a reply and resolve in one call.\n- [scripts\u002F10-cleanup-outdated.ps1](scripts\u002F10-cleanup-outdated.ps1) —\n  safety net for outdated Copilot threads.\n",{"name":5,"description":7},"main","58843b159d7a4050d6b785a98b908cce505c0b92",".agents\u002Fskills\u002Fcopilot-pr-autopilot",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill copilot-pr-autopilot",{"tool":38,"command":39},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill copilot-pr-autopilot",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill copilot-pr-autopilot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84,88,92,96,102,106,110,114,118,122,126,130,134,138],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002F01-request-review.md","REFERENCE","参考文档",1412,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F01-request-review.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002F02-wait.md",1745,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F02-wait.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002F03-list-threads.md",1764,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F03-list-threads.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002F04-triage.md",8180,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F04-triage.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002F05-fix.md",2426,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F05-fix.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002F06-build-test.md",2143,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F06-build-test.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002F07-commit-push.md",712,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F07-commit-push.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002F08-reply-resolve.md",3872,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F08-reply-resolve.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002F09-convergence.md",10715,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F09-convergence.md",{"path":85,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002F10-cleanup.md",707,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002F10-cleanup.md",{"path":89,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fapi-quirks.md",8622,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002Fapi-quirks.md",{"path":93,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Forchestration.md",6263,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Freferences\u002Forchestration.md",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002F_lib.ps1","SCRIPT","脚本",15901,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Fscripts\u002F_lib.ps1",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002F01-request-review.ps1",13565,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Fscripts\u002F01-request-review.ps1",{"path":107,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002F02-check-review-status.ps1",17836,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Fscripts\u002F02-check-review-status.ps1",{"path":111,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002F03-list-open-threads.ps1",4096,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Fscripts\u002F03-list-open-threads.ps1",{"path":115,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":116,"sourceHtmlUrl":117},"scripts\u002F08-reply-and-resolve.ps1",3334,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Fscripts\u002F08-reply-and-resolve.ps1",{"path":119,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":120,"sourceHtmlUrl":121},"scripts\u002F09-review-round.ps1",5608,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Fscripts\u002F09-review-round.ps1",{"path":123,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":124,"sourceHtmlUrl":125},"scripts\u002F10-cleanup-outdated.ps1",18097,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Fscripts\u002F10-cleanup-outdated.ps1",{"path":127,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":128,"sourceHtmlUrl":129},"templates\u002Freply-decline.md",871,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Ftemplates\u002Freply-decline.md",{"path":131,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":132,"sourceHtmlUrl":133},"templates\u002Freply-drift.md",317,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Ftemplates\u002Freply-drift.md",{"path":135,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":136,"sourceHtmlUrl":137},"templates\u002Freply-fix.md",839,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Ftemplates\u002Freply-fix.md",{"path":139,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":140,"sourceHtmlUrl":141},"templates\u002Freply-partial.md",376,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcopilot-pr-autopilot\u002Ftemplates\u002Freply-partial.md",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":19},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":19},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":19},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":19},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":19},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]