From orchestration-studio
Triage automated bot reviews (Gemini Code Assist, Codex, etc.) on GitHub PRs before merging: wait out the review cycle, count unanswered bot observations, fix the legitimate ones with commits, justify rejections in-thread, and gate merges on zero unanswered comments. Use when handling PR reviews, deciding whether a PR is ready to merge, or coordinating merges across many PRs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/orchestration-studio:pr-triageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The rule that keeps a high-velocity multi-agent repo clean: **a PR merges only
The rule that keeps a high-velocity multi-agent repo clean: a PR merges only when every bot observation has been answered — either fixed with a commit, or rejected with a reasoned reply in the same thread. Silence is not an answer.
sleep 330
gh pr view <N> -R <owner/repo> --json reviews,mergeable,mergeStateStatus \
-q '"reviews="+(.reviews|length|tostring)+" ["+(.mergeable)+"/"+(.mergeStateStatus)+"]"'
gh api "repos/<owner/repo>/pulls/<N>/comments?per_page=100" --jq '
[.[] | select(.user.login=="<your-login>") | .in_reply_to_id] as $replied |
[.[] | select((.user.login|test("bot$|gemini|codex";"i")) and (.in_reply_to_id==null))]
| map(select(.id as $i | ($replied|index($i))|not)) | length'
Triage each observation:
Legit (P2): fixed in <sha> — <one-line summary of the change>.gh api repos/<o/r>/pulls/<N>/comments/<comment-id>/replies -f body="..."Gate the merge: unanswered == 0 AND mergeable=MERGEABLE/CLEAN → merge.
Anything else → keep triaging or rebase.
unanswered=0 is ambiguous — it also reads "bots haven't commented
YET". A merge-readiness watcher that exits on the first all-zero poll
races the bot cycle (real incident: a watcher declared 3 PRs clean 90s
after opening; the bot's comment landed minutes later). Make zero mean
triaged, not early:
reviews > 0 for the PR (or the full wait window elapsed — the
CI-only-PR exception below), ANDBots tag severity (P1/P2, critical/high/medium). Calibration from production:
mergeable for ALL open PRs after every merge — merges flip others
to CONFLICTING. Rebase those before continuing.When the PR's author-worker is alive, triage is its responsibility — send it: "Bots left N observations on #X — triage them (fix legit with commits / justify rejections in-thread). Report when unanswered=0. Do NOT merge." The director only verifies the count went to zero and merges.
npx claudepluginhub rp4ri/orchestration-studioProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.