babysit
/babysit
Watch an open PR — fix failing CI, handle the straightforward review comments, and drive it to a mergeable state. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to shepherd it without re-prompting.
- Author
- maximechbt ↗
- Repository
- skills ↗
- Licence
- MIT
- Last repository change
- 29.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Watch an open PR — fix failing CI, handle the straightforward review comments, and drive it to a mergeable state. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to shepherd it without re-prompting.
Original author description
Watch an open PR — fix failing CI, handle the straightforward review comments, and drive it to a mergeable state. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to shepherd it without re-prompting.
How it works
- When to use
- Steps
- Hard rules
- Cross-refs
- Provenance
SKILL.md preview
--- name: babysit description: Watch an open PR — fix failing CI, handle the straightforward review comments, and drive it to a mergeable state. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to shepherd it without re-prompting. --- # Babysit a PR On Codex, read the [platform mapping](../modemax/references/codex-tools.md), including its per-skill notes, before following this skill. On GitHub Copilot, read the [platform mapping](../modemax/references/copilot-tools.md), including its per-skill notes, before following this skill. On Muse, read the [platform mapping](../modemax/references/muse-tools.md), including its per-skill notes, before following this skill. Claude Code analog of Cursor's built-in `/babysit`. The implementation is a loop over `gh` CLI plus the Claude Code `loop` skill for pacing. Inside modemax, the **Babysit** playbook ([`../modemax/playbooks/babysit.md`](../modemax/playbooks/babysit.md)) supersedes this skill: it owns mode declaration, the merge frontier, stack safety, and the `watch-pr` watcher. This skill stays the standalone `/babysit` entry point for a single PR outside a modemax run. ## When to use - There's an open PR and the user explicitly wants it kept green, and you are not already inside a modemax run (the playbook owns that case). - The user invokes `/babysit` directly. - A subagent that opens a PR does NOT babysit — return to the parent and let the parent decide. ## Steps 1. **Fetch PR state.** ```bash gh pr view <number> --json number,title,state,mergeable,reviewDecision,statusCheckRollup,mergeStateStatus,comments,reviews ``` 2. **Triage in priority order.** - Merge conflicts (`mergeStateStatus == DIRTY`): run the **fix-merge-conflicts** skill. Force-push only if the branch is yours and not shared. - Failing checks (`statusCheckRollup` entries with `conclusion: FAILURE`): run the **fix-ci** skill. Root-cause the failure; fix the underlying code or test; commit; push. - Review comments: run the **get-pr-comments** skill for the summary, then act only on feedback you actually agree with. When a comment has a single mechanical answer — a rename, a guard clause, a formatting nit — make the edit and quote the comment in the commit message. When it hinges on a judgement call, or you can't tell what's being asked, don't guess: leave it and reply with what you would have done. - Review-bot comments (Bugbot and similar automation): classify fix/dismiss/ask before acting, per [`bugbot-triage.md`](../modemax/references/bugbot-triage.md). Ask by default on security, data, and high-severity findings. 3. **Loop.** Use the Claude Code `loop` skill to pace re-checks. Pick the interval from what you're watching: - Active CI run: poll `gh pr checks --watch` (it blocks until checks finish, so no separate loop interval needed). - Awaiting reviewer: 20–30 min heartbeat. - Idle but want to catch new comments: hourly. 4. **When to stop.** - Build is green, every comment resolved, branch merges cleanly → call it ready. - You've run three rounds of fix → push → recheck and it still isn't fully green → stop, summarise what's still broken, and hand control back. - The next fix would force a design choice → pause and put it to the user with `AskUserQuestion`. 5. **Report.** Summarize fixes applied, comments addressed, comments deferred (with reason), current PR status. Cite each commit by SHA. ## Hard rules - Don't rewrite history on a branch others may have pulled. If a rebase or force-push looks necessary, clear it with the user first. - Don't tweak a test's expected values just to get a pass. Only change an assertion when the behaviour genuinely changed and the assertion was pinned to the old behaviour. - Never skip hooks (`--no-verify`). - Never bypass a failing check by marking it as not required. - `gh pr ready` only when all checks are green and no unresolved review comments remain. ## Cross-refs - Opening a PR does not start a babysit; inside modemax the Babysit playbook owns the request and starts only when asked. - Use `interrogate` before opening if the diff is contested; once open, babysit takes over. - Use `unslop` on any prose you write here (PR comments, commit messages, status reports). ## Provenance This is a Claude Code analog of Cursor's `/babysit`, not a port — Cursor's implementation is closed source. The skill is independently authored, with its own prose and structure; the workflow is informed by Cursor's public `/babysit` behavior. The only overlap with other PR tools is the `gh` CLI commands it runs, which are functional invocations rather than copied text.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · maximechbt/skills | 100 | MIT |
| kirodotdev/kirocrew | 100 | Apache-2.0 |
| mintuz/claude-plugins | 100 | MIT |
| lucasnsaraujo/repo-kit | 100 | MIT |
| arjitj2/open-pstack | 100 | MIT |
| chmonitor/chmonitor | 100 | GPL-3.0 |
| thedotmack/claude-mem | 100 | Apache-2.0 |
| ivy00johns/skill-madness | 100 | MIT |
| tommy-ca/pstack | 100 | MIT |
Database snapshot: 13.11.2026 · package version 1088b430658d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100babysit-pr
Shepherd an already-open pull request to a mergeable state — poll CI, triage review comments, verify each one against the source, push fixes, and keep the branch current. Use when the user asks to "babysit", "monitor", "watch", "shepherd", or "drive" a PR, asks you to "fix the… - 100babysit-pr
Watches a PR you authored through CI and review, fixes failing checks, and answers each review thread with the fix commit or a reason. Use when asked to watch or babysit a PR, fix its CI, or summarize or answer its comments. Not for writing review comments, use `review-comments`. - 100babysit-pr
Babysit a GitHub or Gitea pull request through CI and review until ready or handoff. Use when asked to monitor or watch a PR, wait on or fix failing CI, or follow up review comments (盯 PR、盯 CI、跟进审查). - 100babysit-pr
Keep an open pull request moving to merge-ready as the root agent's one watcher, fixing real CI failures and verified review findings within authority and reporting when it is ready or blocked. Use when the user asks to babysit, watch, monitor or get a PR green. - 100pr-babysit
Use when the user asks to monitor, watch, babysit, or keep an eye on a pull request through CI, review, and merge, or to get a PR green or mergeable. - 100babysit-mr
Monitor a GitLab merge request through review and CI. Use when the user asks to monitor, watch, or babysit an MR (or a PR on GitLab).