iterate-pr

Installation
SKILL.md

Iterate PR

Recurring loop that checks a PR each iteration and fixes what's broken. Combines /fixing-pr-comments, /fixing-ci, and /rebase-origin-main.

WHEN INVOKED — Do These Two Steps Immediately

STEP 1: Run the iteration checklist once right now (before setting up the loop).

Execute all condition checks, run the appropriate sub-skills, and report results. Do not skip this — the first pass must happen immediately in the current session.

STEP 2: After reporting results, always kick off the loop using /loop at the requested interval (default 10m):

/loop <INTERVAL> For PR #<NUM> (<OWNER>/<REPO>): run the iterate-pr iteration sequence — check PR state, check for merge conflicts, check for unresolved comments, check for failing CI. Fix what's broken. Cancel the loop when the PR is closed or merged, OR when ALL of the following are simultaneously true: no merge conflicts with origin/main, zero unresolved review threads, no failing CI checks, no pending CI checks, and no commit was pushed this iteration.

Replace <INTERVAL> with the interval passed to /iterate-pr (default 10m), and <NUM>, <OWNER>, <REPO> with the actual values resolved in Step 1. Do not leave placeholders.

The loop is mandatory. Never ask the user whether to set it up — always set it up.

Related skills

More from reviewstage/stage-cli

Installs
1
GitHub Stars
166
First Seen
7 days ago