babysit-pr

Automates GitHub pull request lifecycle from creation through post-merge deployment validation.

1|Updated May 6, 2026
One-click install
npx skills add https://github.com/surfingalien/FinSurfing --skill babysit-pr-surfingalien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: babysit-pr
Source: https://github.com/surfingalien/FinSurfing/tree/main/.claude/skills/babysit-pr
Command: npx skills add https://github.com/surfingalien/FinSurfing --skill babysit-pr-surfingalien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Managing a pull request end-to-end requires constant manual polling of CI status, review comments, and deployment signals, which fragments developer attention and delays merges. ## Core Features & Use Cases - Automated PR Watching: Polls GitHub PR state every 60 seconds via the GitHub CLI, emitting JSON snapshots with recommended actions for CI failures, new reviews, and merge readiness. - CI Failure Triage: Classifies failures as branch-related or flaky using documented heuristics, inspects failed logs, and reruns transient failures within a bounded retry budget. - Review Score Tracking: Extracts explicit reviewer scores (e.g., 4/5) from comments and treats sub-maximal scores as unfinished work before merge. - Post-Merge Deployment Monitoring: Watches GitHub deployment records and deployment-like workflow runs tied to the merge commit, alerting on failures or prompting production validation. - Use Case: After pushing a feature branch, run the watcher to automatically detect a flaky CI failure, retry it once, address a reviewer's inline comment, and confirm the Vercel deployment succeeded after merge. ## Quick Start Ask the AI to create a pull request for the current branch and babysit it through CI, review feedback, and post-merge deployment validation.

Frequently Asked Questions about babysit-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically monitor a GitHub pull request until it merges?

Run the gh_pr_watch.py script with --pr auto --watch to poll PR state every 60 seconds. It emits JSON snapshots with recommended actions like diagnosing CI failures, processing review comments, or stopping when the PR is ready to merge.

How to retry flaky GitHub Actions failures from the command line?

Inspect failed logs first with gh run view <run-id> --log-failed to confirm the failure is transient, then use the watcher's --retry-failed-now flag or gh run rerun <run-id> --failed. The watcher enforces a retry budget of 3 per head SHA to avoid wasting CI quota.

Does the PR watcher work with any GitHub repository?

Yes, it works with any repository where the GitHub CLI is authenticated via gh auth status. It auto-detects the PR from the current branch or accepts a PR number or URL, and resolves repo-specific PR templates before falling back to a bundled default.

Why does the PR watcher recommend stopping before merge?

The watcher stops when the retry budget is exhausted, the PR is closed, or a blocker requires human input such as ambiguous feedback or permissions issues. It also treats explicit reviewer scores below the maximum as unfinished work even when CI is green.

Can I monitor deployments after a pull request merges?

Yes, gh_deploy_watch.py tracks GitHub deployment records and deployment-like workflow runs tied to the merge commit. It alerts on failures, waits during a grace period for signals, and prompts production validation when deployments succeed.