Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Babysit a PR

Watches an open pull request, fixes failing CI and mechanical review comments, and drives it to a mergeable state.

Dev & CodingIntermediate33941AI 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 loop skill: gh pr checks --watch while 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 gh CLI.

Example uses

  1. Right after opening a PR: /babysit 1234 — root-causes the CI failure, fixes the code, pushes, and watches until checks go green.
  2. A PR that went DIRTY — resolves conflicts via the fix-merge-conflicts flow, asking before any force-push on a shared branch.
  3. 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Install and authenticate the GitHub CLI: gh auth login (hard prerequisite).
  2. Clone the repo: git clone https://github.com/michael-denyer/pstack-claude
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy this skill: cp -r pstack-claude/plugins/pstack/skills/babysit ~/.claude/skills/
  5. 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/
  6. Restart Claude Code, open a repo with a live PR, and run /babysit <pr-number> or ask it to "keep this PR green".