Command Palette

Search for a command to run...

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

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…

fcakyonот fcakyon★ 1 223 звезды на GitHub

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

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

  1. Snapshot the current state first

    • T3 Code: Call pull_request_read (include: ["checks", "threads"]) to inspect headSha, draft/open/merged state, check statuses, and unresolvedThreads.
    • CLI clients: Run gh pr view <pr> --json number,url,state,isDraft,headRefOid,baseRefName,headRefName,mergeStateStatus,statusCheckRollup,reviewDecision plus GraphQL reviewThreads (when threads exist).
    • Do not repeat work or post status noise when checks, reviews, and head commit have not changed since your previous update.
  2. Choose the monitoring mechanism by client

    • T3 Code (primary thread only): Finish local code updates and push first, then call watch_pull_request (pass until: "checks" when handing the PR to the user, or until: "merged" only when monitoring through merge) and end your turn cleanly. Never poll with sleep or gh pr checks --watch. Always call unwatch_pull_request before handing back on completion or external blocker stops. Delegated subagents must never call watch_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.
  3. Handle failures, conflicts, and review findings

    • CI failure: Read the failed job log first (ci_logs taking PR number? and check name check? in T3 Code, or gh run view <run_id> --log-failed in CLI). Fix real code or test failures cleanly, verify locally, commit via commit-staged, and push. Rerun only confirmed transient infrastructure flakes (ci_rerun with check? or gh 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 run git merge origin/<base> on the PR branch without overwriting concurrent work, re-run affected tests, and push. Use rebase only when explicitly requested on an unshared branch and repository hooks allow history rewrites.
  4. 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.
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

Что делает скилл 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".

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить babysit-pr с