pr-polish
Installation
SKILL.md
PR Polish
Goal. Drive a PR to merge-ready by alternating /pr-review and /pr-address until all of the following hold:
- The most recent
/pr-reviewproduces zero new findings (no new inline comments, no new top-level reviews with a non-empty body). - Every inline review thread reachable via GraphQL reports
isResolved: true. - Every non-bot, non-author top-level review has been acknowledged (replied-to) OR resolved via a thread it spawned.
- Every non-bot, non-author issue comment has been acknowledged (replied-to).
- Every CI check is
conclusion: "success"or"skipped"/"neutral"— none"failure"or still pending. - Two consecutive post-CI polls (≥60s apart) stay clean — no new threads, no new non-empty reviews, no new issue comments. Bots (coderabbitai, sentry, autogpt-reviewer) frequently post late after CI settles; a single green snapshot is not sufficient.
Do not stop at a fixed number of rounds. If round N introduces new comments, round N+1 is required. Cap at _MAX_ROUNDS = 10 as a safety valve, but expect 2–5 in practice.
TodoWrite
Before starting, write two todos so the user can see the loop progression:
Round {current}: /pr-review + /pr-address on PR #{N}— current iteration.Final polish polling: 2 consecutive clean polls, CI green, 0 unresolved— runs after the last non-empty review round.