Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

babysit

БесплатноЗапускает вложенные скриптыНе проверен

Drive an open e2e-inc/e2e PR through conflicts, review bots, and CI until it is green with every thread handled and its description matching the final change…

e2e-incот e2e-inc★ 14 545 звёзд на GitHub

Об этом скилле

Babysit a PR

The human reviews a PR only after an agent has cleared everything a machine can clear. You own that gap. The end state is the Ready for Human Review label on a head that is green, conflict-free, and has no unhandled review thread. You never merge and never approve.

Status

node .dev/skills/babysit/scripts/pr-status.ts [pr]            # one snapshot
node .dev/skills/babysit/scripts/pr-status.ts [pr] --watch    # poll until it is not WAITING (60s interval, 30 min cap)

No argument means the current branch's PR. The JSON has verdict (READY, WAITING, ACTION, CLOSED), blockers, failing and pending checks, unresolved threads that still need you (with the ids to reply and resolve), escalated threads you already handed to the human, comments nobody acknowledged yet, minus your own, review summaries since the push (reviews), and changesRequested: reviewers whose latest verdict is a change request. Each comment blocks until you acknowledge it with a 👍 from the gh user, status reports included, whenever it was posted: gh api --method POST repos/{owner}/{repo}/issues/comments/<id>/reactions -f content=+1. A change request blocks until its author approves or re-reviews, or a human dismisses it: push the requested change, reply, and re-request the review (gh pr edit <pr> --add-reviewer <login>). Right after a push it stays WAITING until checks report. Trust it over a check list you read by eye.

The mobile jobs take longer than the default cap on a cold cache; pass --timeout 3600 when they are pending.

Waiting: in Claude Code, run --watch through the Monitor tool or self-paced /loop; elsewhere run --watch in the foreground. Never write your own sleep loop.

Loop

  1. Sync first. Review bots and other agents may push their own commits: GIT_EDITOR=true git pull --rebase.
  2. Snapshot. On ACTION, take blockers in this order and batch every fix into one push, so checks restart once:
    1. Conflict. git fetch origin && GIT_EDITOR=true git rebase origin/<base>, rerun the checks the conflict touched, git push --force-with-lease. In a stack, rebase each layer onto its parent, bottom-up.
    2. Threads. Triage each one with references/review-triage.md. Read the code it points at before deciding. Real: fix it in this PR. Noise: reply with the disproof. Owner's call (security invariants, public contract, wire schemas, release config, or out of scope): reply, leave it unresolved, and list it in the handoff.
    3. Failing checks. Read the log first (gh run view <run-id> --log-failed).
      • A failure in code this diff touches is a fix.
      • A failure in code the diff never touches usually means a stale base. git fetch origin && git merge-base --is-ancestor origin/<base> HEAD exits 1 when the base moved past the branch: rebase instead of retrying.
      • Infrastructure (runner lost, registry timeout, simulator or emulator boot) gets one gh run rerun <run-id> --failed. The same failure twice is not flake: read it and fix it.
      • A benchmark job (web, web agent, ios ..., android ...) posts an e2e-github summary comment with the failing tests. Read the failure page and the report artifact; it is a runner or engine regression or a stale test, rarely flake. An agentic job that spent model calls on a step with a committed recording means the recording went stale: re-record per "Committed recordings" in AGENTS.md.
      • check failing on fallow, docs:check-errors, or check:peer-ranges names the exact file; fix the cause, never silence the rule.
    4. Comments in comments: status reports (the e2e-github summaries, docs deploys) just get the 👍 once you have read them; reviews get triaged like threads, one reply covering them, then the 👍.
    5. Review summaries in reviews: GitHub has no reaction to acknowledge them, so they never block. Read every one anyway; a finding in a summary body with no thread of its own gets triaged like a thread, answered in one attributed PR comment.
    6. Maintainer decision (maintainer-decision): the PR carries needs:maintainer-decision, so a maintainer has not accepted its issue or direction. No change to the PR clears it. Keep looping until it is the only blocker and no check is pending, then stop and hand off; never add Ready for Human Review.
  3. Fixes that change behavior get re-verified with the verify skill before the push, not after.
  4. Push, then run writing-pr, "After every push to an open PR". When the push changed behavior, API, scope, or a number in the body, rewrite the steps under ## How it works, capture again or remove any output, benchmark, or recording it made stale, and
Полный SKILL.md на GitHub

Установить babysit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/review-triage.mdscripts/pr-status.test.tsscripts/pr-status.tsscripts/tsconfig.json

FAQ

Что делает скилл babysit?

Drive an open e2e-inc/e2e PR through conflicts, review bots, and CI until it is green with every thread handled and its description matching the final change, then label it Ready for Human Review. Use after opening a PR, or when asked to babysit, watch, monitor, check on, or get a PR green.

Как установить скилл babysit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл babysit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить babysit с