/agentic:agentic-babysit-pr [<slug> | <PR number/url>]from agentic
Get a work item's PR merge-ready and watch it until it merges: push, open or reuse the PR, fix CI and comments in a loop. Use to open a PR, get it green, handle feedback, or watch it to merge.
Ships in agentic. 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.
Get the PR to merge-ready, keep it there until it merges, then clean up when standalone (under a playbook, agentic-use-workflow references/playbook.md runs cleanup). Merge only through agentic.ts merge.
Call the Skill tool with "agentic-use-workflow" (no Skill tool → open its SKILL.md and follow it) unless already loaded.
If the harness has a native PR or polling loop (e.g. Cursor's built-in babysit skill, Claude Code's /loop), defer the watching to it: pass the work-item paths, the workspace path, Loop step 2's triage rules, the merge-ready report, the Stop rules and the merge → agentic-cleanup hand-off, and keep only the work item's log and pr.md up to date.
Use the platform's tooling: gh, or a Bitbucket / GitLab CLI or MCP, whichever is available. Same for the ticket tracker.
workspace.path → stop and report what is dirty or failing.reviews/ files) → warn, suggest agentic-review first, continue on the user's yes.git fetch origin, rebase onto workspace.base, re-check ADR numbers (below), push --force-with-lease. No user yes needed: the branch is the work item's own. Rebase conflicts → Loop step 2 conflict rule.workspace.base. Description: why (spec), what changed (plan tasks or tickets), review summary and remaining minors, how to verify, ticket links, and, only when state.json.hub is set, the hub line Closes #{hub} (Part of #{hub} when the PR does not finish the work item).pr.md and log an artifact event, data: {name: "pr", path: "pr.md", pr: {url, round: 0}}.Done when the branch is rebased and pushed, the PR is open (with its hub line when state.json.hub is set), and its artifact event is logged.
After every rebase, ls the ADR folder on the rebased tree. A number this branch added that the base also took → renumber the branch's file, its links and index row to the next free number, commit, then push.
Repeat until the PR is merged or closed. Rounds that push fixes are capped by limits.babysit.rounds; watching isn't.
choice, key pr.{round}.{thread}, then fix or reply per the answer.choice, key pr.{round}.conflict.reviews/{n}-fix.md (next free iteration n), one finding per CI failure or actionable comment, reviewer ci or pr-comment, evidence = log excerpt or comment link (Fix list in agentic-review's finding contract: references/finding.md in the agentic-review skill).--force-with-lease, reply to each fixed comment with its commit link and resolve the thread, log the round in pr.md and as an artifact event, data: {name: "pr", path: "pr.md", pr: {url, round}}.Every commit pushed after the PR opened went through step 3's review; nothing is pushed unreviewed.
CI green and no unresolved actionable thread → merge-ready: report once, log it as a note event, keep watching. The report: PR link, pending approvals, tickets, artifacts, remaining minors, open escalations, plus any lines the caller passed (e.g. the root cause from agentic-debug).
Then run bun {agentic-use-workflow}/scripts/agentic.ts merge from the PR's checkout; refused → stop, report the failed condition, ask.
babysit-pr completed. Merged → list what the owner still does by hand (e.g. production migrations while deploys are blocked). Under a playbook → return to the playbook loop. Standalone → Call the Skill tool with "agentic-cleanup" for the slug (it asks before cleaning a PR closed without merge).bun {agentic-use-workflow}/scripts/agentic.ts resume, run from the main checkout, as its first line.agentic-cleanup {slug} for once it is merged.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub johannwilfridcalixte/agent-skills --plugin agenticOther plugins' skills for the same job
40 skills in this plugin
/agentic-change-featureChange an existing feature's behaviour, from request to merged PR; `light` for a small change./agentic-clean-architectureUse when writing or modifying backend code that has business logic — services, domain models, use cases, APIs with validation/calculations/state transitions. Default for any non-trivial backend work./agentic-cleanupClean up after a merged PR. Removes the work item's worktree and branches, updates the default branch, archives the work-item folder. Use when a PR has merged, or with --all to sweep stale worktrees and branches.