PR Babysitter
Objective
Babysit a PR persistently until one of these terminal outcomes occurs:
The PR is merged or closed.
A situation requires user help (for example CI infrastructure issues, repeated flaky failures after retry budget is exhausted, permission problems, or ambiguity that cannot be resolved safely).
Optional handoff milestone: the PR is currently green + mergeable + review-clean. Treat this as a progress state, not a watcher stop, so late-arriving review comments are still surfaced promptly while the PR remains open.
Do not stop merely because a single snapshot returns idle while checks are still pending.
Inputs
Accept any of the following:
No PR argument: infer the PR from the current branch (--pr auto)
PR number
PR URL
Core Workflow
related skills
semantically similar in the cross-vendor index
don't have the plugin yet? install it then click "run inline in claude" again.
+clear intent with defined terminal states and an intermediate milestone (green + mergeable + review-clean) to track progress without stopping prematurely.
+flexible input handling (auto-infer from branch, accept number or url) removes friction from invocation.
+explicit rejection of false idle detection (single snapshot returning idle while checks pending) shows awareness of async polling pitfalls.
weaknesses
~core workflow section is empty; no step-by-step procedure for polling, parsing responses, decision logic, or remediation actions.
~vague on critical edge cases: no mention of retry budgets, backoff strategy, rate limits, timeout windows, permission errors, or what constitutes 'review-clean'.
~trigger phrases missing entirely; no example commands or vendor-specific API calls documented.