iterate-pr

Automate PR iteration until CI passes using GitHub CLI and Python scripts.

905|47|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/getsentry/skills --skill iterate-pr-getsentry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterate-pr
Source: https://github.com/getsentry/skills/tree/main/skills/iterate-pr
Command: npx skills add https://github.com/getsentry/skills --skill iterate-pr-getsentry

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the PR feedback loop by coordinating CI checks, reviewer comments, and PR status to drive iterative fixes until all checks pass.

Core Features & Use Cases

  • Automates PR checks gathering and feedback processing to drive an automated fix cycle.
  • Monitors PR progress, fetches failure details, and guides next steps to restore green CI.
  • Use Case: When a PR fails CI after a change, run this to auto-fetch failures, apply fixes, push new commits, and re-check until CI passes.

Quick Start

Run the iterate-pr skill on a PR with failing CI to start automated feedback, fix, and re-check cycles.

Frequently Asked Questions about iterate-pr

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

FAQPage Schema
How do I automatically fix a GitHub PR when CI fails?

To automatically fix a GitHub PR when CI fails, this skill coordinates an iterative loop that fetches check failures, applies fixes, and pushes new commits until all checks pass. It relies on GitHub CLI and Python scripts to monitor PR progress and restore green CI.

Can I automate PR feedback loops to handle code review comments and CI failures?

Yes, you can automate PR feedback loops to handle code review comments and CI failures. The skill continuously fetches reviewer feedback and PR check statuses, coordinating iterative fixes across branches until all CI checks are green.

Do I need GitHub CLI to run automated PR iteration workflows?

Yes, you need GitHub CLI to run automated PR iteration workflows. The skill also requires the uv CLI and bundled Python scripts to gather checks, fetch feedback, monitor progress, and generate structured results during the CI fix cycle.

What is the best way to auto-iterate PR commits until CI passes?

The best way to auto-iterate PR commits until CI passes is using a coordinated feedback loop that fetches failure details, applies fixes, and pushes new commits. This skill automates that exact cycle, monitoring PR progress until all checks are green.

Why does my automated PR workflow not stop after CI passes?

An automated PR workflow might not stop after CI passes if the iteration loop lacks proper progress monitoring. This skill resolves that by continuously fetching PR checks and feedback, ensuring the fix cycle only terminates once all CI checks are green.

Does iterate-pr work with existing GitHub workflows and PR branches?

Yes, iterate-pr works with existing GitHub workflows and PR branches. It automates the feedback loop across branches by fetching PR checks, processing reviewer comments, and coordinating repeated pushes until all CI checks pass.