iterate-pr

Monitor open pull requests and apply fixes for review comments, CI failures, and merge conflicts.

259|24|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/ReviewStage/stage-cli --skill iterate-pr-reviewstage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterate-pr
Source: https://github.com/ReviewStage/stage-cli/tree/main/.agents/skills/iterate-pr
Command: npx skills add https://github.com/ReviewStage/stage-cli --skill iterate-pr-reviewstage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the continuous monitoring of open pull requests and applies fixes for review comments, CI failures, and merge conflicts, reducing manual follow-up and speeding up delivery.

Core Features & Use Cases

  • Autonomous PR loop: when invoked with /iterate-pr, it runs a recurring loop that checks PR state, merge conflicts, unresolved review threads, and CI status, and orchestrates fixes via sub-skills.
  • Sub-skill orchestration: it coordinates the fixed sequence by calling /fixing-pr-comments, /fixing-ci, and /rebase-origin-main as needed.
  • Loop management: starts immediately, then schedules recurring iterations (default every 10 minutes) until the PR is closed or merged, or all end conditions are satisfied.
  • Use case: open PRs with multiple comments and flaky CI can be auto-triaged and stabilized without manual intervention.

Quick Start

Invoke /iterate-pr to start the autonomous PR iteration loop that continuously checks the PR and applies fixes.

Frequently Asked Questions about iterate-pr

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

FAQPage Schema
How do I automate fixing pull request review comments and CI failures?

To automate fixing pull request review comments and CI failures, you can use an autonomous PR iteration loop that monitors open pull requests and applies fixes for unresolved threads and failing checks. It orchestrates sub-skills to handle triage and stabilization automatically, running recurring checks until the PR is merged.

What is autonomous pull request iteration?

Autonomous pull request iteration is a continuous monitoring process that checks an open PR for merge conflicts, unresolved review threads, and CI status, then orchestrates fixes via sub-skills. It schedules recurring iterations at a default 10-minute interval until the PR is closed or merged.

How do I resolve merge conflicts in a pull request automatically?

To resolve merge conflicts in a pull request automatically, an autonomous PR iteration loop coordinates with a rebase sub-skill to sync with the origin main branch. This happens continuously during the recurring PR monitoring cycle without manual intervention.

Do I need GitHub access and gh tooling to automate PR monitoring?

Yes, you need GitHub access and the gh command-line tooling to automate PR monitoring. The autonomous iteration loop relies on these dependencies to check PR state, manage review threads, and trigger CI fixes across typical GitHub workflows.

Can I auto-triage open pull requests with multiple comments and flaky CI?

Yes, you can auto-triage open pull requests with multiple comments and flaky CI. The autonomous PR loop continuously checks the PR state and orchestrates targeted fixes for review comments and CI failures, stabilizing the PR without manual follow-up.

When should I avoid using an autonomous PR fixing loop?

You should avoid using an autonomous PR fixing loop for pull requests requiring manual architectural decisions or human-reviewed logic changes, as it is designed for automated triage of review comments, CI failures, and merge conflicts rather than complex code refactoring.