AIniverse Get the App

PR Babysitter

Automation by loops! by elorm

Every 15 minutes, inspect open PRs with a watch label: nudge reviewers, fix CI, rebase if behind main.

Prompt

Step 1 — List watched PRs
List open PRs with the watch label. Skip merged, draft, or conflict-only PRs that need human product input.

Check: `gh pr list --label "codex-watch" --json number,title,mergeable,statusCheckRollup`

Step 2 — Triage each PR
For each PR: if CI failed, fix once; if behind main, rebase; if stale review, leave a short status comment.

Step 3 — Escalate blockers
Stop on merge conflicts needing product decisions or the same failure twice. Report blockers clearly.

Step 4 — Repeat until done
Repeat the steps above until: All watched PRs are green, rebased, or escalated with a clear blocker note

Stop after 20 iterations and report what is blocking.
Platforms
CHATGPT

Use this prompt in AIniverse

Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.

Open in App

More Automation prompts

Security Audit Weekly

Weekly npm audit scan, triage vulnerabilities by severity, and propose or apply safe patches.

Knip Until Clean

Find and remove dead exports, unused files, and orphan dependencies — loop until knip reports clean.

Ship PR Until Green

Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.

Ralph Story Executor

Fresh-context loop: pick one incomplete story from prd.json, implement it, run backpressure checks, commit, and updat...