/compound-engineering:ce-babysit-pr [PR number|URL|blank=current branch] [watch|checkpoint] [duration] [posture:target|stack-ready|stack-land]from compound-engineering
Watches an open GitHub PR until merge-ready by reacting to review comments, CI results, and branch currency. Supports three postures: target (single PR), stack-ready, and stack-land with stack merging.
Ships in compound-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Keep an open PR moving toward merge by reacting to three streams as each arrives: review comments (delegated to ce-resolve-pr-feedback), CI (delegated to ce-debug), snapshot-flagged branch currency.
Outcome: the PR is left at an honest terminal, looks-ready, blocked, or budget state under the run's posture. Done: a Step 3 true stop reached, Step 4 report written. Settled ≠ merged.
Every tick's attention set and every mutation are driven by the bundled pr-snapshot output — never by prose, events you notice, or a coordinator's say-so (readiness also applies references/settle.md's review judgment, which reads live state this output does not model). Read references/tick.md before the first snapshot; references/envelope.md holds full boundaries.
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); own the stack → stack-ready; land → stack-land. mode:pipeline never asks. Restate posture per transition.
stack-land.branch_currency item the snapshot emitted — BEHIND, DIRTY, a branch-protection requirement, or an explicit always-current policy — after an atomic claim, per references/branch-currency.md (BEHIND = host update-branch with expected_head_sha, never a local merge). Never infer an item from prose, base movement, a sibling PR merging, CLEAN/MERGEABLE, BLOCKED while your own push's checks rerun, or anyone saying "update the branch"; a push that restarts green CI without a claimed item is a defect.manager_status == "confirmed" on a fresh probe; manual chains and probe-error stay target-local). One writer lane: one mutated target at a time, one watcher.target/stack-ready, needs-human residuals, blocked-external handback.gh repo view must succeed, else say GitHub-only, stop.references/setup.md); none → report, stop.gh pr checkout <ref>; no push access or dirty checkout → stop, say so.references/watch-loop.md): Keep monitoring in the current session until a stop condition is met. Use checkpoint mode only when the user requests it or the harness cannot keep the session active while waiting for the detector’s output. The default self-sustaining in-session watch uses pr-snapshot watch and runs one tick per BABYSIT_WAKE; never collapse the loop into a script. In checkpoint mode, run one tick and report paused monitoring with the resume invocation from references/setup.md. Pipeline (mode:pipeline): bounded synchronous ticks, structured return (references/pipeline.md).Snapshot first, then in this order:
MERGED/CLOSED → stop (a stack-land merge this run landed is a transition).references/stack.md).ce-resolve-pr-feedback mode:pipeline once with the PR ref; persist typed decisions through the shared atomic mark and dispatch every other passed comment; pass trajectory when a trigger is crossed; never declare non-convergence yourself.gh run rerun <run-id> --failed -R <host>/<owner>/<repo>; real failure → ce-debug mode:pipeline once; mark each check acted on; unfixed checks stay red residuals.references/branch-currency.md); no item → nothing. unrequested_base_merge is a defect to report, never undo.references/stack.md).True stops (references/settle.md): Terminal; Looks ready — mergeability_certain, MERGEABLE, CLEAN, no base_ref_blocker, checks terminal, zero backlog, open_needs_human == 0, branch_currency_blocker == null, settle elapsed, review-still-expected guard clear or its bounded stale protocol says stop; blocked-external-drained; Budget (active budget or 3-day backstop). Refresh a drifted PR description via ce-commit-push-pr mode:pipeline before reporting ready. Interactive standing residuals (needs-human, blocked-failing, stack-blocked) block ready while independent work continues; stopping there is the primary failure mode. mode:pipeline returns the canonical decision set when autonomous work ends. stack-land lands the settled prefix before advancing. After an interactive tick with no true stop, re-arm and wait on the one watcher; silence carries no PR-state information.
One fixed status line first (✅ Looks merge-ready — <evidence>. Your call to merge. / 🟡 Cautiously looks ready … / 🎉 🚫 ⛔ ⏱️ ⏸️), then a recap the reader could merge from without scrolling back: feedback themes and outcomes, CI fixes, pushes, run length, parked items, judgment calls made for the user. Never "safe to merge" (references/report.md).
references/branch-currency.md (opens in a new tab)references/envelope.md (opens in a new tab)references/pipeline.md (opens in a new tab)references/report.md (opens in a new tab)references/settle.md (opens in a new tab)references/setup.md (opens in a new tab)references/stack-commands.md (opens in a new tab)references/stack.md (opens in a new tab)references/tick.md (opens in a new tab)references/watch-loop.md (opens in a new tab)scripts/pr-snapshot (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
35 skills in this plugin
/ce-bakeoffDevelop independent competing solutions to a defined brief, compare them, and synthesize a winning approach. Use when choosing well requires developing alternatives beyond their current form. Use ce-pov to judge developed material and ce-ideate to discover opportunities./ce-brainstormExplore vague or ambitious ideas into a right-sized requirements-only unified plan. Use when the user wants to brainstorm, scope what to build, or needs collaborative product framing before planning. Also use when they must scope work in territory they do not know, or ask for a blindspot pass. Not for executing already-specified work — implementation, debugging, or code review with no product scope left to decide. Not for a verdict on whether to adopt or switch to a named external technology, library, or platform; that is ce-pov./ce-code-reviewStructured code review for bugs, regressions, tests, and standards. Use before PRs or when asked to review code. Use when the user asks to apply this review's findings locally. Not for resolving feedback already left on a PR; that is ce-resolve-pr-feedback./ce-commitCreate a git commit with a clear, value-communicating message. Use when the user asks to commit/save staged or unstaged changes with a repo-appropriate message./ce-commit-push-prCommit, push, and open a PR. Use when asked to ship/open a PR, or for PR-description-only flows like writing, rewriting, or describing a PR body./ce-compoundDocument a solved problem as a durable repo learning. Use when verified work produced non-obvious reasoning absent from its final code, tests, or existing docs; avoid routine fixes whose artifacts already explain the lesson.npx claudepluginhub fornida-dev/fornida-claude-plugins --plugin compound-engineeringOther plugins' skills for the same job