babysit-pr
Skill by acolomba
Drives an open pull request to a clean state by passing the project's Python review skills and getting the SonarQube PR quality gate green. Aimed at developers who want review and fixes done by subagents before a human looks at the PR.
Install babysit-pr
Built from the published package, never by AI.
git clone --depth 1 https://github.com/acolomba/blackvuesync /tmp/blackvuesync && mkdir -p ~/.claude/skills && cp -r /tmp/blackvuesync/.agents/skills/babysit-pr ~/.claude/skills/babysit-prRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/acolomba/blackvuesync /tmp/blackvuesync && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/blackvuesync/.agents/skills/babysit-pr ~/.gemini/antigravity-cli/skills/babysit-prAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
babysit-pr is an agent skill for a pull request that is already open. It works in two phases. First, a local review loop runs the project's Python review skills under skills/ on changed files, then runs a broader review and fixes Critical and Important findings. Second, once CI has analyzed the pushed head, it reads the SonarQube PR quality gate and addresses violations, duplication and coverage gaps. The heavy review and fixing run in spawned subagents, which keeps their work out of the main conversation.
The skill is invoked manually, with an optional PR number that defaults to the current branch's PR. Each review and Sonar round is capped. If it cannot converge, it stops and reports instead of looping. It pushes commits straight to the open PR. It is intended for developers working on the acolomba_blackvuesync project who want a PR that clears automated checks before human review.
Written from the project's SKILL.md and checked against it.
What it can do
- Resolve the PRFinds the open PR for the current branch, or uses a PR number passed as an argument.
- Python review loopRuns the Python style and unit testing review skills on changed files in batched subagents.
- Broader reviewReviews the full diff for bugs, error handling, test gaps and misleading comments.
- Triage and fixesFixes Critical and Important findings at the root, one cause at a time, with atomic commits.
- SonarQube gate checkWaits for SonarCloud analysis and reads the PR quality gate status.
- Violation fixesFixes Sonar violations in code rather than marking issues as won't-fix or false-positive.
- Duplication and coverageReduces duplication where a helper reads better and raises new-code coverage with real tests.
What you need
- gh CLI for reading PR state and checks
- SonarQube MCP server access to SonarCloud
- Claude Code or gpt-5.6-terra for subagents
- Project scripts/check.sh and pre-commit hooks
- sonarcloud.yml CI workflow
Try asking
- Babysit my open PR for this branch
- Run babysit-pr on PR 42
- Drive PR 57 to a clean state and get the Sonar gate green
Good to know
- Does not create a PR, only works on an existing open one
- Pushes commits to the open PR without asking first
- Stops after about four review fix rounds and about three Sonar rounds
- Never bypasses pre-commit hooks
Security check
B- Allowed to use Bash, Edit, Write without limitsIn
SKILL.md
Checked automatically: .agents/skills/babysit-pr/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadEditWriteGrepGlobAgentSkillmcp__sonarqube__*
Alternatives to babysit-pr
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
babysit-pr: common questions
Does babysit-pr create a pull request?
No. The source says it hardens an existing PR and stops with a message if there is no open PR for the branch.
Does babysit-pr run automatically?
No. The skill is set to manual invocation only, so it runs when a user calls it.
Can it mark Sonar issues as won't-fix to pass the gate?
No. The source says it must fix the code and must not change issue status to won't-fix or false-positive to move the gate.
How do I install babysit-pr?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is babysit-pr free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is babysit-pr safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (allowed to use bash, edit, write without limits). Review the code before you install. How grades work.
What are alternatives to babysit-pr?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
