Babysit pr
Babysit a GitHub pull request by working through review comments, PR comments, and CI failures one at a time. Use when the user asks to watch, babysit, address, or keep working on a PR until feedback is handled and checks pass. Includes deciding whether each comment is worth fixing, making scoped code changes, committing, pushing, waiting for CI, re-checking new feedback, and never merging the PR.From its SKILL.md
npx -y skills add pedrobarretto/skills --skill babysit-prAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 21 days oldThe repository was created 21 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.1 KB, 786 tokens by cl100k_base, as published. Nobody here has run it
Babysit PR
Use this skill to carry a GitHub pull request through review feedback and CI until it is ready for a human to merge. Never merge the PR.
Requires the gh CLI, authenticated (gh auth status).
Setup
- Read the PR URL from the user request.
- Identify the local repository and branch. If the repository is not already open locally, clone or locate it before editing.
- Run
git status --shortbefore making changes. - Read repo instructions first:
AGENTS.md,CLAUDE.md,README.md, package scripts, task docs, and any project-specific PR guidance. - Fetch the current PR state:
- unresolved review threads
- PR comments
- requested changes or approvals
- check runs and CI failures
Comment Triage
Process exactly one unresolved actionable comment at a time. For each comment, decide whether it is worth fixing before editing.
Fix comments that identify:
- bugs or behavior regressions
- security, auth, permission, data visibility, or privacy risks
- broken CI, type errors, lint errors, or test failures
- missing tests for risky logic
- incorrect API, service, or data boundaries
- real maintainability, correctness, or accessibility issues
Do not blindly fix comments that are:
- stylistic preferences without a repo convention
- already addressed by the current branch
- based on an incorrect assumption
- out of scope for the PR
- likely to make the architecture worse
Comments from review bots deserve the same scrutiny as human ones. Validate the claim against the actual code before acting, and say so when you disagree.
Ask the user only when a comment requires a product decision, risky scope expansion, credential access, or a tradeoff that cannot be resolved from the repository and PR context.
Fix Loop
For each accepted comment:
- Inspect the surrounding code and existing patterns.
- Make the smallest correct change that fits the repository architecture.
- Add or update focused tests when behavior, permissions, calculations, API contracts, or cross-layer logic changes.
- Run the narrowest useful verification first, then broader checks when needed.
- Re-check the diff before moving to the next comment.
- Continue until every actionable comment from the current PR state is handled.
When a comment is not worth fixing, keep a concise rationale for the final report or PR reply if the user asks for one.
Commit And Push
After all actionable feedback from the current pass is handled:
- Run the repository's expected validation commands.
- Inspect
git status --shortandgit diff. - Stage only intended files.
- Commit with a concise message describing the review fixes.
- Push the current branch.
Do not stage unrelated user changes. Do not revert unrelated work. Do not merge the PR.
Recheck Loop
After pushing:
- Wait for CI/checks to complete.
- Re-fetch review threads, PR comments, approvals, requested changes, and check runs.
- If CI fails, treat the failure as the next item in the fix loop.
- If new actionable comments appear, process them one at a time.
- Repeat until checks pass and there are no actionable unresolved comments.
Never edit CI configuration or workflow files just to make a failing check pass. If a merge-blocking failure looks unrelated to this PR, check whether the branch is behind its base — another PR may have already fixed it — and merge the base branch in. If the failure still cannot be fixed within the PR's scope, report it instead of working around it.
Stop only when the PR is ready for human merge or there is a concrete blocker requiring user input. Report the final PR state clearly, including checks, remaining comments, commits pushed, and any unresolved blockers.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.