Babysit a PR
Watches an open pull request, fixes failing CI and mechanical review comments, and drives it to a mergeable state.
Dev & CodingIntermediate★ 339⑂ 41AI score 8/10Last updated: Sep 9, 2026
What it does
- Pulls full PR state with
gh pr view --json ...(checks, review decision, merge state, comments). - Triages in a fixed priority order: merge conflicts (DIRTY) → failing checks → human review comments → review-bot findings (Bugbot and similar, with fix/dismiss/ask classification).
- Paces re-checks via the
loopskill:gh pr checks --watchwhile CI runs, a 20–30 min heartbeat while awaiting reviewers, hourly when idle. - Knows when to stop: green and resolved → ready; three fix→push→recheck rounds still red → hand back with a summary; a design decision required → escalate with
AskUserQuestion. - Enforces hard rules: no history rewrite on shared branches, no bending test assertions to force a pass, no
--no-verify, no un-requiring failing checks.
Who it's for
- Developers and tech leads who live in GitHub PRs and CI.
- Anyone who wants an agent to shepherd a PR without constant re-prompting.
- Teams already using an authenticated
ghCLI.
Example uses
- Right after opening a PR:
/babysit 1234— root-causes the CI failure, fixes the code, pushes, and watches until checks go green. - A PR that went
DIRTY— resolves conflicts via the fix-merge-conflicts flow, asking before any force-push on a shared branch. - Reviewer leaves a rename plus a guard-clause nit — applies both, quotes the comments in the commit message, and defers judgement-call feedback with a stated reason.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/michael-denyer/pstack-claude/HEAD/plugins/pstack/skills/babysit/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the plugins/pstack/skills/babysit folder from the GitHub repo michael-denyer/pstack-claude into my ~/.claude/skills/michael-denyer-babysit/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/michael-denyer/pstack-claude /tmp/pstack-claude && mkdir -p ~/.claude/skills && cp -r /tmp/pstack-claude/plugins/pstack/skills/babysit ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Install and authenticate the GitHub CLI:
gh auth login(hard prerequisite). - Clone the repo:
git clone https://github.com/michael-denyer/pstack-claude - Create the skills directory:
mkdir -p ~/.claude/skills - Copy this skill:
cp -r pstack-claude/plugins/pstack/skills/babysit ~/.claude/skills/ - Because it cross-references sibling skills (
poteto-mode,fix-ci,fix-merge-conflicts,get-pr-comments,loop), copying the whole set is safer:cp -r pstack-claude/plugins/pstack/skills/* ~/.claude/skills/ - Restart Claude Code, open a repo with a live PR, and run
/babysit <pr-number>or ask it to "keep this PR green".
View source on GitHub ↗License: MIT