{"data":{"slug":"discovered-4eb49739483bd90c58dc4fb8e80b6e199fa1ad91afa5ce91","title":"Babysit PR","summary":"Take a pull request through its checks and reviews until it is ready to merge, fixing real findings and ensuring all review threads are resolved.","url":"https:\/\/skillshunter.net\/skills\/discovered-4eb49739483bd90c58dc4fb8e80b6e199fa1ad91afa5ce91","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-4eb49739483bd90c58dc4fb8e80b6e199fa1ad91afa5ce91","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-4eb49739483bd90c58dc4fb8e80b6e199fa1ad91afa5ce91.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-4eb49739483bd90c58dc4fb8e80b6e199fa1ad91afa5ce91\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Requires Git and authenticated GitHub CLI with push access. The skill does not merge the PR, only prepares it for merging by resolving checks, reviews, and threads.","instructions":"---\nname: babysit-pr\ndescription: Take a pull request through its checks and reviews until it is ready to merge, fixing the real findings. Use when asked to babysit, watch, or monitor a PR.\nlicense: MIT\n---\n\n# Babysit PR\n\nTake one PR to **ready**, on its latest head:\n\n- checks pass, or the repository has none;\n- the automated reviews that run on their own have finished;\n- every review thread is answered and resolved;\n- the head contains the default branch, and GitHub reports it mergeable.\n\nMerging stays a separate request.\n\n## A pass\n\n1. **Read** the PR's head SHA, checks, mergeability, reviews, comments, and review threads. Threads and their resolved state come from GraphQL (`reviewThreads`), not `gh pr view`. A bot reviewer may finish with a comment or a reaction instead of a review: read all three.\n2. **Verify** each failure and finding against the code as it is now, including one raised on an older head. Rerun a failing check's own piece alone to tell a defect from a flake.\n3. **Fix** a finding that is real and within what the PR is for, with the smallest change that removes it; a fix that deletes or narrows code beats one that adds a guard. Decline the rest, as a follow-up: a rare path outside the PR's purpose, a test that pins nothing, extra compatibility, a small cost.\n4. **Push** the fixes as one update, having rerun what they touch. When the default branch has moved, merge it and rerun the repository's full verification first.\n5. **Reply** on each thread with the fix or the reason you declined, then resolve it.\n\n## Waiting\n\nAfter a pass, wait for the PR's next change with your harness's PR watcher and make another pass when it wakes you: in T3 Code, `watch_pull_request`, then end your turn. With no watcher, `gh pr checks <n> --watch` waits for the checks alone: once they finish, report any review still running and stop, rather than polling for it. A wake that needs no action needs no message.\n\n**One pass.** When your brief says an orchestrator watches the PR, make one pass and hand back with checks or a review still running. The waiting is the orchestrator's.\n\n## Stop\n\nReport instead of waiting when someone else closed or merged the PR, a human review is all that remains, infrastructure is down, or the same blocker survives two remedies. Name what is outstanding: a blocked PR is not ready.\n\n## Report\n\nThe PR URL and head SHA, each check with its result, the findings fixed and those declined with their reasons, any thread still open, and whether the PR is ready.\n","use_cases":["Ensure a pull request passes all checks and reviews before merging","Automatically fix real findings in a pull request","Resolve all review threads and ensure the PR is mergeable"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/deanvanniekerk\/skills\/blob\/9c482123a80e512be9234aad4b1a66f62d81a1b4\/skills\/babysit-pr\/SKILL.md","source_commit":"9c482123a80e512be9234aad4b1a66f62d81a1b4","license":null,"version":null,"listing_approved_at":"2026-12-02","created_at":"2026-11-30T09:02:17.000000Z","updated_at":"2026-12-02T09:15:40.000000Z","seo_title":"Babysit PR - Automate Pull Request Readiness","seo_description":"Automate the process of preparing a pull request for merging by resolving checks, reviews, and threads until the PR is ready.","seo_keywords":["pull request automation","github pr readiness","code review tool","github cli tool","pr check resolver"]}}