# Babysit Old Pull Request

Judges whether an old GitHub PR still belongs, then drives it to merge-ready.

- Repository: https://github.com/EveryInc/compound-engineering-plugin (25818 stars)
- Category: Git and review
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add EveryInc/compound-engineering-plugin --skill ce-babysit-pr -g -a claude-code -y`
Codex: `npx skills add EveryInc/compound-engineering-plugin --skill ce-babysit-pr -g -a codex -y`
Cursor: `npx skills add EveryInc/compound-engineering-plugin --skill ce-babysit-pr -g -a cursor -y`
Gemini CLI: `npx skills add EveryInc/compound-engineering-plugin --skill ce-babysit-pr -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add EveryInc/compound-engineering-plugin`

## Description

Babysits an open GitHub PR until merge-ready, first judging whether an old PR still belongs. Use when asked to watch a PR over time or update an old one, not for one-shot comment resolution or one CI failure. GitHub (incl. Enterprise) only.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Babysit a PR

Keep an open PR moving toward merge by reacting to three streams as each arrives: review comments (handed to `ce-resolve-pr-feedback`), CI failures (handed to `ce-debug`), and branch-currency items the snapshot flags.

**Outcome:** the PR is left at a truthfully reported terminal, looks-ready, blocked, or out-of-budget state under the run's posture. **Done:** Step 3 (stop conditions) reached a true stop and the Step 4 report is written. Settled ≠ merged.

**What each tick looks at and every change it makes come from the bundled `pr-snapshot` output, never by prose, events you notice, or a coordinator's say-so** (readiness also applies the review judgment in `references/settle.md`, which reads live state this output does not model). Read `references/tick.md` before the first snapshot; `references/envelope.md` states the full boundaries.

## Posture (one value per run)

- `target`, only the named PR; stop at looks-ready; never merges; offer stack-wide once if a confirmed managed stack needs work.
- `stack-ready`, once a layer has zero actionable backlog (CI may still run), advance to the next open non-draft upstack layer needing work; lower layers stay probed and the lowest that re-opens pulls the walk back; never merges.
- `stack-land`, as `stack-ready`, and selecting it **is** land authorization: once the bottom-most open layer is settled, `gh stack merge` it + `gh stack sync`.

One PR named → `target` (ask once if a confirmed multi-layer stack exists); asked to carry the whole stack → `stack-ready`; asked to land it → `stack-land`. `mode:pipeline` never asks. Restate posture per transition.

## Non-negotiable boundaries

The rest: https://github.com/EveryInc/compound-engineering-plugin/blob/HEAD/skills/ce-babysit-pr/SKILL.md
