pr-iterate

Automate GitHub pull request iteration with bot reviews, CI waits, and thread resolution.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/thomasttvo/claude-skills --skill pr-iterate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-iterate
Source: https://github.com/thomasttvo/claude-skills/tree/main/skills/pr-iterate
Command: npx skills add https://github.com/thomasttvo/claude-skills --skill pr-iterate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual polling and coordination work required to get a pull request to a clean, reviewed, and CI-passing state by orchestrating CI checks, automated reviewers, self-review, and thread resolution.

Core Features & Use Cases

  • Deterministic status checks: Consolidates CI, Bugbot, CodeRabbit, self-review, and thread state into a single authoritative status.
  • Automated trigger and wait loop: Posts bot review triggers and spawns a background waiter that polls until reviewers and CI complete or fail.
  • Self-review and resolution: Runs a self-review agent for the current HEAD and resolves AI-only unresolved threads across all pages.
  • Use Case: After pushing a PR, use this Skill to repeatedly trigger reviewers, wait for results, apply fixes, resolve AI threads, and re-check until the PR is fully ready.

Quick Start

Run the pr-iterate status command for owner/repo and the PR number to evaluate CI, Bugbot, CodeRabbit, and self-review status.

Frequently Asked Questions about pr-iterate

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

FAQPage Schema
How do I automate pull request iteration until CI checks pass on GitHub?

Automate pull request iteration by triggering bot reviews, block-waiting for CI and automated reviewers, performing self-review, and resolving AI-only threads. This Skill orchestrates the entire loop until your PR reaches a clean, reviewed, and CI-passing state.

What is the best way to coordinate CodeRabbit and Bugbot reviews with CI status?

Coordinate CodeRabbit, Bugbot, and CI status by consolidating them into a single authoritative status check. The Skill posts bot review triggers and spawns a background waiter that polls until all automated reviewers and CI complete or fail.

Do I need the gh CLI to automate PR review and thread resolution?

Yes, you need gh CLI authentication and the pr-iterate CLI on your PATH to automate PR review and thread resolution. A pushed remote PR is also required to run status, trigger, wait, resolve, and self-review operations.

How do I resolve AI-only unresolved threads across all pages of a pull request?

Resolve AI-only unresolved threads by running the resolve operation after self-review. The Skill runs a self-review agent for the current HEAD and resolves all AI-only unresolved threads across all pages of the pull request.

Can I check the status of CI, Bugbot, CodeRabbit, and self-review before merging?

Yes, you can check the status of CI, Bugbot, CodeRabbit, and self-review by running the status command with the owner, repo, and PR number. This evaluates all review and CI components into a single deterministic status.

What are the limitations of automating PR iteration for code review?

Automating PR iteration requires a pushed remote PR and proper CLI setup on your local environment. It is limited to supporting status, trigger, wait, resolve, and self-review-done operations for GitHub pull requests.