Command Palette

Search for a command to run...

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

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от 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.md says not to force push once a review has started, so main gets 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, ACTION or CLOSED
  • blockers: conflict, failing:<checks>, threads:<n>, comments:<n>, changes-requested:<n>
  • checks: failing (with log links), pending (including "checks settling after push" and "mergeability"), humanGated
  • notes: what only the human can move: the draft state, and the checklist and Check independent approval checks
  • threads: unresolved threads that still need you, with the ids to reply and resolve
  • awaitingReviewer: unresolved threads where your reply is the newest. They don't block.
  • comments: issue comments you haven't marked read, minus your own
  • reviews: review summaries posted on the current head commit
  • changesRequested: 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

  1. Sync first. A reviewer suggestion or a merge from main may have landed: git pull --no-rebase.
  2. 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:
    1. Conflict: git fetch upstream && git merge upstream/main, then rerun the checks the conflict touched.
    2. 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.
    3. 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 HEAD exits 1 when main moved past the branch: merge it instead of guessing.
      • Infrastructure (runner lost, registry timeout): read-only acces
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

references/review-triage.mdscripts/pr-status.test.tsscripts/pr-status.ts

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 запускает скрипты?

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

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

Сравнить babysit с