drain-a-pr-queue
Installation
SKILL.md
Drain a PR queue
A fleet writes PRs faster than a queue drains. When the queue is the goal — get every open PR merged or closed with evidence — the bottleneck is almost never the merges. It is the review gate.
This skill is the recovery playbook for the failure that wedges everything: the LLM review council stops posting formal reviews, so every PR sits unapproved no matter how green its checks are.
When to use
- Triggers: 'merge all open PRs', 'zero open PRs', 'review council not approving', 'vibecodereview failing', 'chair posted no review', 'PR queue backlog', 'unstack PRs', 'approve PRs', 'land a stack', 'secondary rate limit', 'release PR conflicts', 'restack branches'.
- Diagnosing council starvation (metered lens keys capped or out of credit, expired OAuth seats), re-pointing lenses at live seats via the council_models override, and syncing repo secrets to rotating OAuth credentials.
- The rerun trap (a re-run uses the workflow pinned at trigger time; only a fresh synchronize picks up the fix) and the empty-commit kick that needs no checkout.
- A merge loop contract (clean state, latest run per check green, one APPROVED review, delete the head branch so stacked children re-target) and disposal of stacked, oversize and superseded PRs without losing work.
- Landing stacks across new repos: recorded branch tips so
rebase --ontosurvives squash merges, GitHub's secondary content-creation limit, restackingfile:dependencies onto published versions, and the ship-sync branch for a second release.