Babysit Pr
This skill should be used when the user asks to "babysit a PR", "watch this PR", "monitor PR checks", "keep CI green on PR", "shepherd a PR to merge", or explicitly invokes "babysit-pr".
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install claude-codex-settings-babysit-prManual setup by platform
Claude Code
~/.claude/skills/claude-codex-settings-babysit-pr/SKILL.md
Instructions
Babysit PR
Monitor an open pull request across CI runs, automated bot reviews, merge conflicts, and human feedback until checks pass and unresolved threads are settled.
If a PR number or URL is given, use it. Otherwise detect the PR for the current branch.
Workflow
-
Snapshot the current state first
- T3 Code: Call
pull_request_read(include: ["checks", "threads"]) to inspectheadSha, draft/open/merged state, check statuses, andunresolvedThreads. - CLI clients: Run
gh pr view <pr> --json number,url,state,isDraft,headRefOid,baseRefName,headRefName,mergeStateStatus,statusCheckRollup,reviewDecisionplus GraphQLreviewThreads(when threads exist). - Do not repeat work or post status noise when checks, reviews, and head commit have not changed since your previous update.
- T3 Code: Call
-
Choose the monitoring mechanism by client
- T3 Code (primary thread only): Finish local code updates and push first, then call
watch_pull_request(passuntil: "checks"when handing the PR to the user, oruntil: "merged"only when monitoring through merge) and end your turn cleanly. Never poll withsleeporgh pr checks --watch. Always callunwatch_pull_requestbefore handing back on completion or external blocker stops. Delegated subagents must never callwatch_pull_request, inspect status and checks directly instead. - CLI sessions (Claude Code, Codex, Antigravity, Cursor): Check CI runs, failed logs, mergeability, and active review threads in one pass (
gh pr checks <pr>,gh run view <run_id> --log-failed) and re-check after new pushes rather than infinite polling loops.
- T3 Code (primary thread only): Finish local code updates and push first, then call
-
Handle failures, conflicts, and review findings
- CI failure: Read the failed job log first (
ci_logstaking PRnumber?and check namecheck?in T3 Code, orgh run view <run_id> --log-failedin CLI). Fix real code or test failures cleanly, verify locally, commit via commit-staged, and push. Rerun only confirmed transient infrastructure flakes (ci_rerunwithcheck?orgh run rerun <run_id> --failed). - Review comments: Verify every finding against the actual source files (follow resolve-pr-comments). Fix valid issues across sibling sites and push, and dismiss verified false positives with a factual explanation naming the guarding code.
- Merge conflicts: Fetch
origin/<base>and rungit merge origin/<base>on the PR branch without overwriting concurrent work, re-run affected tests, and push. Userebaseonly when explicitly requested on an unshared branch and repository hooks allow history rewrites.
- CI failure: Read the failed job log first (
-
Stop criteria
- Stop once the PR is merged or closed, when all required checks pass on the latest commit (
headSha/headRefOid) with zero unresolved review threads, or when an external blocker needs human input (approval, product decision, missing permission). - Never merge a PR automatically unless the user explicitly asked for merge or auto-merge.
- Stop once the PR is merged or closed, when all required checks pass on the latest commit (
Security
Reviews (0)
Related skills
Browse all →More from claude-codex-settings
View source →More Build skills
Browse category →Frequently asked questions about babysit-pr
What does the babysit-pr skill do?
This skill should be used when the user asks to "babysit a PR", "watch this PR", "monitor PR checks", "keep CI green on PR", "shepherd a PR to merge", or explicitly invokes "babysit-pr". It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the babysit-pr skill?
Run `npx @skills-hub-ai/cli install claude-codex-settings-babysit-pr` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claude-codex-settings-babysit-pr/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does babysit-pr work with?
babysit-pr runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the babysit-pr skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use babysit-pr after installing it?
In Claude Code, type `/claude-codex-settings-babysit-pr` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the babysit-pr skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.