Agent skill

Babysitting PR

by spencerpauly in spencerpauly/awesome-cursor-skills

Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically.

CC0-1.0Auto-check passedDevelopment

Install Babysitting PR

skills CLI
$ npx skills add spencerpauly/awesome-cursor-skills --skill babysitting-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install spencerpauly/awesome-cursor-skills babysitting-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/babysitting-pr .claude/skills/babysitting-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
babysitting-pr
GitHub stars
844
Token cost
~930 tokens
SKILL.md length
416 words
Files
1
Skills in repo
60
Repo updated
First seen
Licence
CC0-1.0

At a glance

Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically.

  • Works in 7 steps: Get the PR status — fetch the current… → Check CI status — look at the… → Fix CI failures — for each failing… → …
  • A PR is open and you want the agent to keep it merge-ready
  • SKILL.md covers Steps, Loop Behavior and Notes
  • Calls git, gh and npm

What it does

Babysitting PR is an agent skill from spencerpauly/awesome-cursor-skills. Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically. Use when a PR is open and you want the agent to keep it merge-ready.

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Failing and flaky tests, Git workflow and Pull requests. The repository describes itself as: A curated list of awesome skills for Cursor. The licence is CC0-1.0.

When your agent uses it

  • A PR is open and you want the agent to keep it merge-ready
  • Tasks that involve Failing and flaky tests
  • Tasks that involve Git workflow

Example prompts

  • “/babysitting-pr”

Requirements

  • Node.js

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Get the PR status — fetch the current state of the PR
  2. Check CI status — look at the statusCheckRollup field. For each failing check
  3. Fix CI failures — for each failing check, get the logs
  4. Handle review comments — fetch PR review comments
  5. Resolve merge conflicts — if the PR has conflicts
  6. Re-check status — after pushing fixes, wait for CI to run and check again
  7. Report — summarize what was done

What it can do on your machine

Read from SKILL.md and the folder at commit 99cd265. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh
    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, gh, npm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Babysitting PR loads about 930 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 416 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~930

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from spencerpauly/awesome-cursor-skills at commit 99cd265, republished under its CC0-1.0 licence (© spencerpauly). 416 words, ~930 tokens.

Download SKILL.mdSave it as .claude/skills/babysitting-pr/SKILL.md (or your agent's skills folder).
name
babysitting-pr
description
Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically. Use when a PR is open and you want the agent to keep it merge-ready.

Babysitting a PR

Use this skill when the user has an open pull request and wants the agent to monitor it, fix CI failures, resolve review comments, and keep it merge-ready.

Steps

  1. Get the PR status — fetch the current state of the PR:

    bash
    gh pr view --json number,title,state,mergeable,reviewDecision,statusCheckRollup,comments,reviews

    Also check for merge conflicts:

    bash
    gh pr view --json mergeStateStatus
  2. Check CI status — look at the statusCheckRollup field. For each failing check:

    bash
    gh pr checks

    This lists all CI checks and their status (pass/fail/pending).

  3. Fix CI failures — for each failing check, get the logs:

    bash
    gh run view <run-id> --log-failed

    Analyze the failure and fix it:

    • Lint failures: run the linter locally (npm run lint -- --fix), fix remaining issues manually, commit.
    • Type errors: run npx tsc --noEmit, read the errors, fix the types, commit.
    • Test failures: run the failing test suite locally, read the assertion errors, fix the code or update the test expectations, commit.
    • Build failures: run npm run build, read the error output, fix imports/configs/missing deps, commit.

    After fixing, push the changes:

    bash
    git add -A && git commit -m "fix: resolve CI failures" && git push
  4. Handle review comments — fetch PR review comments:

    bash
    gh api repos/{owner}/{repo}/pulls/{pr}/comments

    For each unresolved comment:

    • Read the comment and the code it references.
    • If the fix is clear (typo, naming, missing null check, style issue), apply it.
    • If the comment requires a design decision or clarification, skip it and report to the user.

    Commit fixes for resolved comments:

    bash
    git add -A && git commit -m "fix: address review feedback" && git push
  5. Resolve merge conflicts — if the PR has conflicts:

    bash
    git fetch origin main
    git merge origin/main

    Resolve conflicts by reading both sides and choosing the correct resolution. For ambiguous conflicts, ask the user. After resolving:

    bash
    git add -A && git commit -m "fix: resolve merge conflicts" && git push
  6. Re-check status — after pushing fixes, wait for CI to run and check again:

    bash
    gh pr checks --watch

    If new failures appear, go back to step 3. Limit to 3 rounds to avoid infinite loops.

  7. Report — summarize what was done:

    • Which CI checks were failing and how they were fixed
    • Which review comments were addressed
    • Whether merge conflicts were resolved
    • Current PR status (ready to merge, or what's still blocking)
Show full SKILL.md (110 more words)Show less

Loop Behavior

This skill is designed to run in a loop:

Check PR → Find issues → Fix issues → Push → Re-check → Repeat

Stop when:

  • All checks pass, no unresolved comments, no conflicts → PR is merge-ready
  • 3 fix-push-check cycles have been attempted without full resolution → report what's still failing
  • A fix requires a design decision → ask the user

Notes

  • Never force-push to a shared PR branch.
  • Don't modify test assertions to make tests pass unless the behavior change was intentional.
  • Don't resolve review comments you're unsure about — skip them and let the user know.
  • If CI is queued/pending, wait for it to complete before analyzing failures.
  • Use gh pr ready to mark the PR as ready for review once everything is green.

© spencerpauly, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in resources/babysitting-pr of spencerpauly/awesome-cursor-skills.

Open the folder on GitHubat commit 99cd265

Compare with similar skills

Babysitting PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Babysitting PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Babysitting PR this skillspencerpauly/awesome-cursor-skills844—~930Automated safety check: PassCC0-1.0
SkillhoneTencent/SkillHone169—~3.4kAutomated safety check: PassCustom licence
Mergeremotion-dev/remotion63k—~508Automated safety check: PassCustom licence
Stewardyschimke/compose-ai-tools117—~2kAutomated safety check: PassApache-2.0
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0

Similar skills

  • Skillhone

    Tencent/SkillHone

    Local Issue, pull-request, and Wiki workbench for agent skills.

    169 GitHub stars~3.4k tokensUpdated 20 days ago
    DevelopmentAuto-check passed
  • Merge

    remotion-dev/remotion

    Official

    Wait for a Remotion pull request to become mergeable, handle merge conflicts, distinguish genuine CI failures from flakes, rerun flaky checks through the flake skill, and merge the PR.

    63k GitHub stars~508 tokensUpdated today
    DevelopmentAuto-check passed
  • Steward

    yschimke/compose-ai-tools

    Drive a pull request on this repository to green — which fast checks to run before pushing, how to read a red check, and what to do about a review comment.

    117 GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed

More from spencerpauly/awesome-cursor-skills

All 60 skills in this repo
  • Generating Images

    spencerpauly/awesome-cursor-skills

    Generate or edit images using the OpenAI Image API (gpt-image-2).

    844 GitHub stars~3.7k tokensUpdated 2 mo ago
    Auto-check: notes
  • Best Of N Solving

    spencerpauly/awesome-cursor-skills

    Solve a hard problem by trying multiple approaches in parallel using isolated git worktrees.

    844 GitHub stars~698 tokensUpdated 2 mo ago
    Auto-check passed
  • Grinding Until Pass

    spencerpauly/awesome-cursor-skills

    Keep iterating on code changes until the tests pass, the build succeeds, or linting is clean.

    844 GitHub stars~796 tokensUpdated 2 mo ago
    Auto-check passed
  • Parallel CI Triage

    spencerpauly/awesome-cursor-skills

    When GitHub Actions fails, fetch failing job logs and assign each failing job to a separate subagent that fixes its slice of the problem in parallel.

    844 GitHub stars~793 tokensUpdated 2 mo ago
    Auto-check passed
  • Parallel Exploring

    spencerpauly/awesome-cursor-skills

    Explore a large codebase in parallel by launching multiple explore subagents that each investigate a different area simultaneously.

    844 GitHub stars~787 tokensUpdated 2 mo ago
    Auto-check: notes
  • Profiling Performance

    spencerpauly/awesome-cursor-skills

    Profile a running web application's CPU performance using Cursor's built-in browser profiler.

    844 GitHub stars~686 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Babysitting PR

What does Babysitting PR do?

Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically. Babysitting PR is an agent skill from spencerpauly/awesome-cursor-skills. Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically.

When should I use Babysitting PR?

Babysitting PR fits situations like: A PR is open and you want the agent to keep it merge-ready; tasks that involve Failing and flaky tests; tasks that involve Git workflow.

How do I install Babysitting PR in Claude Code?

Run `npx skills add spencerpauly/awesome-cursor-skills --skill babysitting-pr -a claude-code`. Or copy the skill folder (resources/babysitting-pr in spencerpauly/awesome-cursor-skills) into .claude/skills/babysitting-pr in your project. Claude Code loads it when a task matches its description.

How do I install Babysitting PR in Codex?

Run `npx skills add spencerpauly/awesome-cursor-skills --skill babysitting-pr -a codex`. Or copy the skill folder (resources/babysitting-pr in spencerpauly/awesome-cursor-skills) into .agents/skills/babysitting-pr in your project. Codex loads it when a task matches its description.

Can I use Babysitting PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add spencerpauly/awesome-cursor-skills --skill babysitting-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/babysitting-pr, .gemini/skills/babysitting-pr, .github/skills/babysitting-pr and .opencode/skills/babysitting-pr in your project.

What does Babysitting PR need to run?

Going by SKILL.md and its folder, Babysitting PR needs the command-line tools its instructions call (git, gh, npm and npx). Our summary lists: Node.js.

Does Babysitting PR access the network?

SKILL.md contains no URLs. Its commands use git, gh, npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Babysitting PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Babysitting PR use?

Babysitting PR is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Babysitting PR use?

About 930 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Babysitting PR?

Skills that share tags, products or a category with Babysitting PR: Skillhone (Tencent/SkillHone, 169 stars), Merge (remotion-dev/remotion, 63k stars), Steward (yschimke/compose-ai-tools, 117 stars) and Finishing a Development Branch (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Babysitting PR?

spencerpauly (a GitHub user) maintains it in spencerpauly/awesome-cursor-skills, which has 844 GitHub stars. The repository holds 60 skills in this directory. The repository was last updated on August 2, 2026.

Source: spencerpauly/awesome-cursor-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.