babysit-pr
Skill0 starsChanged 10 days agoMITView on GitHub
Monitor a pull request through review and CI. Use when the user asks to monitor, watch, or babysit a PR.
- Commits and pushes
55 other projects use a version of this, 10 of them edited.
Adopted by
Most recently taken up by
- scottwater/skillsedited, first seen Nov 8, 2026
- JeffreyFerreiras/ai-skillstheir own version, first seen Nov 8, 2026
- niilohlin/skillstheir own version, first seen Nov 8, 2026
- normalled/apijacktheir own version, first seen Nov 8, 2026
- rock3r/headroomtheir own version, first seen Nov 8, 2026
- marcellocurto/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use takeover, html-communication and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
assisjpSkilltakeover
Take over an existing branch, pull request, worktree, or agent handoff while preserving the original goal, contributor credit, and concurrent work. Use when the user asks to take over, finish, rescue, or continue someone else's implementation. Do not use to replace a clear request to start new work.
Also in 4 projects that use this
Solly922Skillhtml-communication
Create self-contained HTML artifacts for plans, architecture maps, comparisons, reports, timelines, diagrams, and technical explainers when visual structure improves understanding. Use for complex or spatial information; do not use for short, linear answers that are clearer in Markdown.
Also in 3 projects that use this
jaydubya818Skillhow
Use for runtime, ownership, layering, code-walkthrough, and placement questions.
Also in 4 projects that use this
Hugging FaceSkillsimplify
Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.
Also in 5 projects that use this
Other versions55 projects use a version of this.
Word for word · 0
None found.
Edited · 10
- t3dotgg/tstack★ 2.5k90% same
- Dhruv2mars/skills★ 327% same
- mneves75/skills★ 339% same
- connorch/skills★ 269% same
- falcondev-oss/skills★ 227% same
- scottwater/skills★ 290% same
- johnnygreco/skills★ 183% same
- lrstanley/skills★ 148% same
- Melv1C/skills★ 140% same
- shubrt/skills★ 079% same
Wrote their own version · 45
- BuilderIO/agent-native★ 7.6ksame name
- camunda/camunda★ 4.4ksame name
- UniClipboard/UniClipboard★ 2ksame name
- rome-os/rome★ 894same name
- trailofbits/coop★ 808same name
- Mr-Quin/danmaku-anywhere★ 550same name
- tariknz/irdashies★ 270same name
- owid/etl★ 163same name
- amElnagdy/review-skills★ 135same name
- jellydn/my-ai-tools★ 127same name
35 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- beast-uiSkill
- cleanupSkill
- councilSkill
- doc-viewSkill
- featuremapSkill
- file-prSkill
- frontend-designSkill
- full-sendSkill
- full-stopSkill
- impeccableSkill
- leaving-pr-commentsSkill
- modernizeSkill
- no-commentsSkill
- patrolSkill
- sol-loopSkill
- statechartSkill
- technical-writingSkill
- tldrSkill
- untangleSkill
- verify-prSkill
- whySkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 6 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 54 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Never write your own watcher, polling loop, or sleep loop.
- Very specific: line 29
Only the thread that owns the PR watches it: If you are a delegated child task (a reviewer, a Sol round, any delegate_task child), never …
- Distinctive: line 33
A wake is news, not a merge decision: Check the merge gate yourself.
- Very specific: line 45
Wait with scripts/pr-wait from this skill's directory (use its absolute path).
- Distinctive: line 66
Start it again after you push, after you handle an exit 1, and after a resume.
- Distinctive: line 83
Only act on checks and comments newer than the latest push.
- Distinctive: line 88
If the repo has rules for its review bots, read them before you reply to a bot finding.
- Very specific: line 91
If a review bot leaves feedback you believe is not worth addressing, reply with a written reason and resolve the comment.
- Distinctive: line 97
Keep the PR at the size the user's goal needs.
- Very specific: line 106
Keep an eye on changes to the base branch and rebase when needed.
- Distinctive: line 111
If an overlapping PR makes this one obsolete, stop monitoring, report it to the user, and ask before closing the PR unless closure was …
- Very specific: line 114
If nothing has changed, stay quiet rather than posting filler comments.
“Common” is measured: kept by at least 6 in 10 of the 54 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Babysit PR
Many repos have AI review bots. They're helpful, even if they are not always right.
Waiting
Never write your own watcher, polling loop, or sleep loop. Use one watcher
per PR: watch_pull_request in T3 Code, pr-wait everywhere else. Never run
both on the same PR. Every watcher on a GitHub account shares one rate limit.
pr-wait reads GitHub only. On another forge, use watch_pull_request in T3
Code if it accepts the PR. Find the forge from the PR URL, the remote URL, the
CI files and the signed-in CLIs. Otherwise, check the PR with its CLI or API
after each push, and tell the user that nothing wakes you when the PR changes.
In T3 Code: watch_pull_request
Handle the existing checks and comments first. Then call
watch_pull_request and end your turn. T3 Code wakes you with a message when
a check fails, the required checks pass, someone comments or reviews, or the
branch conflicts.
- Only the thread that owns the PR watches it. If you are a delegated
child task (a reviewer, a Sol round, any
delegate_taskchild), never callwatch_pull_request. The parent owns the PR. Do not watch PRs you are not working on. - A wake is news, not a merge decision. Check the merge gate yourself.
- Unwatch when you hand off. A watched thread stays in Working and out of
the user's inbox. When you stop (ready, blocked, or asking the user a question),
call
unwatch_pull_requestfirst. A merge or close ends the watch on its own. - "Stopped watching, could not read it" usually means GitHub's rate limit
is used up. Run
gh api rate_limit --jq .resources.graphqlbefore you watch again. Ifremainingis near 0, wait forresetwith one background command, then watch again. Never watch again in a tight loop.
Everywhere else: pr-wait
Wait with scripts/pr-wait from this skill's directory (use its absolute
path). On Windows, run it with python.
pr-wait <pr> [--repo owner/name] [--until ready|green|any-change]It prints one line per real event. It exits 0 when the --until condition is
met or the PR merges, 1 when it needs you (a required check failed, conflicts,
unresolved threads, PR closed), and 2 on bad input.
ready(default): required checks green, every requested reviewer (a person, a team, or a bot) has reviewed, and no unresolved threads. Use this to babysit. To wait for a review bot, request it as a reviewer or make its check required.green: required checks only.any-change: exit on the first event.
In Claude Code, run it with the Monitor tool (timeout_ms: 3600000), so each
line wakes you. Without a monitor, run it as one long command. It ends on its
own.
Start it again after you push, after you handle an exit 1, and after a resume. It remembers what it already reported, so nothing that arrived in between is lost. If it says another pid already watches the PR, do not start a second one. Kill the old one only if its events do not reach you.
With either watcher: when an event needs no action, end your turn without a message. Never post or say "still waiting".
GitHub rate limits
gh pr create, gh pr view, and gh pr checks use GraphQL. When GraphQL is
used up, the REST limit is separate and usually still has room. Use
gh api repos/<owner>/<repo>/pulls/<n> to read a PR, and
gh api repos/<owner>/<repo>/commits/<sha>/check-runs for checks.
Reviews
Only act on checks and comments newer than the latest push. Verify every bot finding against the source before changing code. Fix real findings and CI failures, distinguish repository failures from infrastructure flakes, and reply with a written reason when dismissing false positives.
If the repo has rules for its review bots, read them before you reply to a bot finding.
If a review bot leaves feedback you believe is not worth addressing, reply with
a written reason and resolve the comment. Use the leaving-pr-comments skill
for every comment posted on the user's behalf.
Screenshots and videos help as well, when you have a way to upload them.
Keep the PR at the size the user's goal needs. Review loops tend to grow a PR one cheap-looking fix at a time. Fix real bugs in the intended case. Decline the rest with a written reason, and list them as follow-ups: unneeded tests, guards for edge cases that do not matter, extra integration or compatibility, and small performance costs. Prefer the fix that deletes or narrows code.
Base branch and merging
Keep an eye on changes to the base branch and rebase when needed. pr-wait
reports when new base commits touch this PR's files, and when the PR becomes
BEHIND or DIRTY.
watch_pull_request reports conflicts only, so check for BEHIND yourself
before you call the PR ready.
If an overlapping PR makes this one obsolete, stop monitoring, report it to the
user, and ask before closing the PR unless closure was explicitly authorized.
If nothing has changed, stay quiet rather than posting filler comments. Stop
when pr-wait exits 0, or in T3 Code when the merge gate passes on the latest
head. With no watcher, stop after you check the current state, and report it.
Merge only when the user explicitly requested it;
otherwise report that the PR is ready. Right before a merge, run git fetch and
check the PR again. Never merge when it is BEHIND or DIRTY, or when base commits
that landed after the last green run touch this PR's files. Rebase, push, and
wait for green again.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

