babysit
БесплатноЗапускает вложенные скриптыНе проверенDrive an open Expensify/App PR through conflicts, CI and review bots until it is green with every thread handled, then hand it to the human. Drafts every…
от Expensify★ 5 115 звёзд на GitHubОб этом скилле
Babysit a PR
The human should only look at a PR once an agent has cleared everything a machine can clear. That work is yours. You're done when the head is green with no conflicts and no unhandled thread or comment, and the human has your short report.
App adjustments to keep in mind the whole time:
- You never merge, approve, mark ready, request reviewers or add labels. Contributor accounts have read-only access to Expensify/App anyway.
- Nothing is pushed, posted or resolved without the human's approval in this session. They own what goes on the PR (
contributingGuides/AI_ETIQUETTE.md), so replies go out under their account with no bot attribution. - Never rebase or force push.
CONTRIBUTING.mdsays not to force push once a review has started, somaingets merged in instead.
Commands below use upstream for the Expensify/App remote, which is the usual setup when you work from a fork. If you cloned Expensify/App directly, use origin instead.
Status
<skill-dir> is this skill's base directory, shown when the skill loads. The script runs on the Bun that App pins (npx bun inside an App checkout, or any Bun 1.3+).
bun <skill-dir>/scripts/pr-status.ts [pr] # one snapshot
bun <skill-dir>/scripts/pr-status.ts [pr] --watch # poll until it is not WAITING (60s interval, 30 min cap)
bun <skill-dir>/scripts/pr-status.ts [pr] --ack <id>... # mark comments read
bun <skill-dir>/scripts/pr-status.ts [pr] --ack-all # mark every unread comment read
[pr] is a PR number or URL. A URL also sets the repo, otherwise use --repo owner/name for anything other than Expensify/App. No argument means your PR on Expensify/App for the current branch. The JSON has:
verdict:READY,WAITING,ACTIONorCLOSEDblockers:conflict,failing:<checks>,threads:<n>,comments:<n>,changes-requested:<n>checks:failing(with log links),pending(including "checks settling after push" and "mergeability"),humanGatednotes: what only the human can move: the draft state, and thechecklistandCheck independent approvalchecksthreads: unresolved threads that still need you, with the ids to reply and resolveawaitingReviewer: unresolved threads where your reply is the newest. They don't block.comments: issue comments you haven't marked read, minus your ownreviews: review summaries posted on the current head commitchangesRequested: reviewers whose latest verdict is a change request
Comments are marked read in ~/.local/state/pr-status/read-comments.json instead of with a 👍, so reading a bot comment leaves nothing on the PR. The first run on a PR with history lists every old comment: skim them, then --ack-all. Right after a push the verdict stays WAITING until checks report. Go by the verdict, not by your own read of the check list.
Waiting: in Claude Code, run --watch through the Monitor tool or self-paced /loop. Never write your own sleep loop.
Who posts what on App PRs
| Author | What it is | What to do |
|---|---|---|
github-actions[bot] threads |
claude-review findings against .claude/skills/app-coding-standards/rules/ |
Triage each one |
chatgpt-codex-connector[bot] |
Codex: inline threads with findings, plus a summary comment | Triage the threads, mark the summary read |
MelvinBot |
A code review, or an answer to someone's request | Triage the findings |
melvin-bot[bot] |
Process reminders (reviewer checklist, fork translation notice) | Read, mark read |
OSBotify |
Generated translation diffs, deploy notices | Read, mark read |
| Humans (C+, Expensify engineers) | Questions, review, decisions | Draft a reply for the human |
claude-review and Codex skip drafts. While notes says the PR is a draft, expect a second round of findings once the human marks it ready.
Loop
- Sync first. A reviewer suggestion or a merge from
mainmay have landed:git pull --no-rebase. - Take a snapshot. On
ACTION, go through the blockers in this order. Review findings get triaged, not fixed: the human picks what to fix in step 3. Everything that does get fixed goes into one push, so checks restart once:- Conflict:
git fetch upstream && git merge upstream/main, then rerun the checks the conflict touched. - Threads: triage each one with references/review-triage.md. Read the code it points at before deciding. Decide fix, dismiss, or escalate, and prepare the fix you'd make or the reply you'd post. Don't change code yet.
- Failing checks: read the log first:
gh run view <run-id> --repo Expensify/App --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 merge-base --is-ancestor upstream/main HEADexits 1 whenmainmoved past the branch: merge it instead of guessing. - Infrastructure (runner lost, registry timeout): read-only acces
- Conflict:
Установить babysit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл babysit?
Drive an open Expensify/App PR through conflicts, CI and review bots until it is green with every thread handled, then hand it to the human. Drafts every reply for the human to approve, and never merges, approves, marks ready or posts on its own. 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub