iterate-pr

Fetch PR CI checks, extract failure details, and guide fixes until checks pass.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/peerasak-u/pi-config --skill iterate-pr-peerasak-u
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterate-pr
Source: https://github.com/peerasak-u/pi-config/tree/main/skills/iterate-pr
Command: npx skills add https://github.com/peerasak-u/pi-config --skill iterate-pr-peerasak-u

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the PR CI feedback loop, enabling you to push fixes and re-run checks until all CI verifications pass, reducing manual back-and-forth.

Core Features & Use Cases

  • Automates CI check status retrieval and failure snippet extraction to identify root causes more quickly.
  • Categorizes PR feedback by priority (high/medium/low) including review bots, and suggests actionable next steps.
  • Guides a repeatable workflow: identify the PR, fetch feedback, apply fixes, commit and push, then re-check CI until green.
  • Supports interactive handling of low-priority items and replies to PR threads to acknowledge actions.

Quick Start

Run the PR iteration loop on a failing branch to automatically fetch checks, apply fixes, commit, and push until CI passes.

Frequently Asked Questions about iterate-pr

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

FAQPage Schema
How do I automatically iterate on a pull request until CI checks pass?

To automatically fix failing CI checks, this Skill orchestrates a PR feedback loop that fetches check statuses, extracts failure snippets, guides fixes, commits, and pushes until all checks pass. It categorizes feedback by priority to identify root causes quickly.

What's the best way to extract and categorize failing GitHub CI feedback for auto-fixes?

The best way to extract and categorize failing GitHub CI feedback is to use an automated workflow that fetches check statuses and categorizes feedback by priority (high, medium, low), including review bots. This captures failure details and suggests actionable next steps.

Do I need GitHub CLI authentication to automate PR CI feedback loops?

Yes, you need GitHub CLI authentication to automate PR CI feedback loops. The workflow also requires Python 3.9+, the uv runtime, and bundled scripts in the scripts/ directory to fetch checks and push fixes.

Can I automate replies to acknowledge low-priority reviewer feedback on a pull request?

Yes, you can automate replies to acknowledge low-priority reviewer feedback on a pull request. The workflow supports interactive handling of low-priority items and replies to PR threads to confirm actions taken.

How does automated CI check iteration handle lint, unit test, and integration failures?

Automated CI check iteration handles lint, unit test, and integration failures by fetching check statuses across typical CI pipelines, capturing failure details, and guiding fixes. It commits and pushes updates, re-running checks until green.