triage-pr
Installation
SKILL.md
triage-pr
Take a pull request from draft + failing CI to merge-ready, in two phases, choosing the phase from the PR's draft state:
- Phase A — while the PR is a draft: inspect failing checks, pull GitHub Actions logs, and fix failures in PR scope only. Loop until CI is green or report blockers. Phase A runs unattended — no human gate except hard blockers.
- Phase B — after the PR is ready-for-review: AI review is gated on
draft == false, so once the PR is flipped to ready — bypromoteOnGreenor a human — wait for configured reviewers (Claude Code Review, Bugbot, CodeRabbit) to post feedback, verify-then-propose dispositions for every finding, then — whenhumanEnvelopeis on (the default) — halt for one batch approval before applying accepts, declines, or Linear follow-ups. With--auto-apply/humanEnvelope: false, restore the legacy auto path (fix high-impact now, file the rest as follow-ups for a Linear-only gate). After apply, re-watch CI and re-envelope if new bot findings appear.