Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Babysit PR

Keeps polling a pull request's CI checks, comments, and unresolved review threads until it's genuinely ready to merge.

Dev & CodingIntermediate90,1397,846AI score 7/10Last updated: Aug 9, 2026

What it does

Turns Claude into a persistent PR watcher. Instead of a single status check, it loops: inspect, wait, read new feedback, fix, push, re-inspect.

  • Pulls coarse status via gh pr view --json (draft, mergeable, mergeStateStatus, reviewDecision, statusCheckRollup)
  • Polls pending checks at a practical 30–60 second cadence
  • Uses a paginated GitHub GraphQL query to list every isResolved=false review thread with file, line, author and comment excerpt
  • Fixes real issues in focused commits, runs tests/builds, pushes, then returns to the inspect step
  • Only calls resolveReviewThread after verifying the code or generated artifact actually addresses the comment
  • Ends with a fresh sweep and evidence-based report: commit SHA, check results, remaining thread count, tests run, dirty local files

Who it's for

  • Developers on repos with chatty review bots (CodeRabbit, Copilot, linters)
  • Anyone tired of refreshing a PR page while slow CI grinds
  • Maintainers shepherding several PRs to green at once

Examples

  1. "Babysit PR #412 until it's mergeable" — waits for checks, fixes the failing lint, pushes, re-verifies.
  2. "Triage the bot comments: fix the real ones, confirm the rest are outdated" — dumps threads as TSV and cross-checks against current HEAD.
  3. "Show me every unresolved review thread" — runs the GraphQL pagination loop and prints path, line, author, and comment snippet.

· · · Install guide · · ·

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 plugin/skills/babysit folder from the GitHub repo thedotmack/claude-mem into my ~/.claude/skills/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/thedotmack/claude-mem.git /tmp/claude-mem && mkdir -p ~/.claude/skills && cp -r /tmp/claude-mem/plugin/skills/babysit ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Verify prerequisites: run gh --version and jq --version. Install with brew install gh jq on macOS or your distro's package manager.
  2. Authenticate the GitHub CLI with gh auth login; you need read/write access to the repository holding the PR.
  3. Clone the skill repo: git clone https://github.com/thedotmack/claude-mem.git /tmp/claude-mem
  4. Copy the skill folder into place: mkdir -p ~/.claude/skills && cp -r /tmp/claude-mem/plugin/skills/babysit ~/.claude/skills/
  5. Restart Claude Code, cd into the repository that owns the PR, and ask: "Babysit PR #<number> until it's ready to merge."
  6. To change the polling interval, say so explicitly, e.g. "check every 2 minutes" — and stop the watcher when you're done to avoid unnecessary token usage.
View source on GitHubLicense: Apache-2.0