# babysit-pr

Monitors a pull request until ready to merge by handling CI checks, addressing review items, and pushing code fixes.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 540 installs
- Author: timschoch
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/timschoch/skilly/tree/HEAD/bundles/workflow/skills/babysit-pr/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/babysit-pr

## What it does

This skill runs an automated loop on a pull request. It checks status snapshots, classifies test failures, commits fixes, and pushes changes back to the head branch. Passing tests do not end the loop. The process runs until the pull request is merged, closed, or marked as needing developer input.

The workflow executes local shell scripts. First, `scripts/pr-state.sh` snapshots check statuses and filters out draft reviews. If checks fail, `scripts/classify-failure.sh` inspects logs. When a failure looks flaky, the skill runs `gh run rerun` instead of modifying build scripts. A strict budget limits CI fix pushes and reruns to 3 attempts before handing control back.

Bot review comments get fixed and resolved automatically. Responses to human reviewers require explicit user confirmation before posting anything to GitHub. Merging never happens without the `--merge` flag. Automated branch deletion is disabled to prevent accidental losses.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add timschoch/skilly --skill babysit-pr -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/babysit-pr/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/babysit-pr/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add timschoch/skilly --skill babysit-pr -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/babysit-pr/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add timschoch/skilly --skill babysit-pr -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/babysit-pr/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install timschoch/skilly babysit-pr
```

2. **Manually: put the files in place**
- File: `.github/skills/babysit-pr/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add timschoch/skilly --skill babysit-pr -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/timschoch/skilly --path bundles/workflow/skills/babysit-pr
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/babysit-pr/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add timschoch/skilly --skill babysit-pr -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/timschoch/skilly/tree/HEAD/bundles/workflow/skills/babysit-pr/SKILL.md

## When to use it
- monitor pull request status until checks finish
- rerun flaky CI runs without touching project configs
- resolve bot review comments and push necessary fixes
- merge branches safely with exact head commit matching

## Example prompts
- Watch PR 42 and squash merge when ready: babysit-pr 42 --merge=squash
- Fix failing checks and review threads on PR 105: babysit-pr 105
- Monitor pull request 87 until checks pass: babysit-pr 87

## Similar
- [triage](https://affpapa.org/en/nevibecode/skills/triage.md) — skill · 990453 installs
- [code-review](https://affpapa.org/en/nevibecode/skills/code-review.md) — skill · 789521 installs
- [implement](https://affpapa.org/en/nevibecode/skills/implement.md) — skill · 774700 installs
- [git-guardrails-claude-code](https://affpapa.org/en/nevibecode/skills/git-guardrails-claude-code.md) — skill · 499069 installs
- [setup-pre-commit](https://affpapa.org/en/nevibecode/skills/setup-pre-commit.md) — skill · 489289 installs
- [scaffold-exercises](https://affpapa.org/en/nevibecode/skills/scaffold-exercises.md) — skill · 480196 installs

## Other versions with the same name
- [babysit-pr · amelnagdy](https://affpapa.org/en/nevibecode/skills/amelnagdy-babysit-pr.md) — 533 installs

From the same set: [timschoch/skilly](https://affpapa.org/en/nevibecode/by/timschoch/skilly.md) — 16 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
