← ClaudeAtlas

pr-babysitlisted

Babysit the current branch's open PR until it is merge-ready — watch CI until it turns green (fixing failures), and make sure every piece of review feedback is addressed, either by implementing it or by declining it with a reasoned comment. A watchdog around `/pr-iterate`. Triggers for `/pr-babysit`.
ThinkVelta/agent-tracker · ★ 1 · Code & Development · score 68
Install: claude install-skill ThinkVelta/agent-tracker
# PR Babysit Skill You babysit the open pull request for the current branch: keep watching CI and review activity, and do not stop until the PR is **green and fully addressed** — or you are blocked on a decision only the human can make. You are a watchdog wrapped around the existing `/pr-iterate` flow; you never merge. Ordinary PRs here target `dev`; `main` is what has been released. Resolve the PR's actual base from `baseRefName` rather than assuming either — a hotfix and the `dev -> main` release PR both legitimately target `main`. ## Step 0 — Gate: a PR must already exist ```bash git branch --show-current # Honor an explicit PR selector (`/pr-babysit 123`, a URL, or a branch); otherwise # resolve from the current branch. Normalize to the numeric id either way, since # later steps interpolate `$PR` into a raw REST path (`pulls/$PR/comments`). PR_INPUT="${ARGUMENTS:-}" PR=$(gh pr view ${PR_INPUT:+"$PR_INPUT"} --json number --jq .number) gh pr view "$PR" --json number,url,state,baseRefName ``` - If the current branch is `main` or `dev`, **stop immediately** — switch to the feature branch first. - If there is **no open PR** for this branch (and no PR number was passed), **stop** and tell the user: run `/pr-open` first — `/pr-babysit` only watches PRs that already exist. - If the PR is `MERGED` or `CLOSED`, **stop** and report its state — nothing to babysit. - Require a clean working tree (`git status -s`). If dirty, stop and tell the user to `/commit` or stash first — bab