iterate-pr

Iterate on GitHub pull requests by fixing CI failures until checks pass.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Iterate PR skill automatically detects CI failures on a pull request, applies targeted, minimal fixes, and pushes updates until all checks pass, reducing cycle time and manual review effort.

Core Features & Use Cases

  • Systematic CI-fail iteration: identify failures from CI logs, propose focused changes, and re-run checks.
  • Guided feedback handling: collect bot and reviewer comments, group by issue, and address them efficiently.
  • Deterministic, small changes: apply only requested fixes, verify locally when feasible, and push incremental commits.
  • Use Case: When a PR fails multiple checks or receives iterative review feedback, run this skill to drive the PR toward green CI with traceable steps.

Quick Start

Ensure gh is authenticated and you are on the PR branch. Activate the skill to begin automatic CI-watching, targeted fixes, and push/pull of updates until all checks pass.

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 CI failures on a GitHub pull request?

To automatically fix CI failures on a GitHub pull request, use an automated iteration skill that identifies failures from CI logs, applies targeted minimal fixes, and pushes incremental commits until all checks pass.

What is the best way to iterate on PR review feedback and failing checks automatically?

Iterating on PR review feedback automatically involves collecting bot and reviewer comments, grouping them by issue, applying focused changes, and re-running checks within the GitHub project until CI is green.

Do I need gh authenticated to automate CI fixes on my PR branch?

Yes, you need the gh CLI authenticated and must be on the PR branch to automate CI fixes. The skill uses gh to watch CI logs, apply deterministic changes, and push updates until checks pass.

Can I use automated PR iteration for handling test failures and lint issues?

Yes, you can use automated PR iteration for handling test failures and lint issues. The skill guides cycles of test and lint failures by proposing focused changes and verifying locally before pushing incremental commits.

How does a CI iteration skill ensure changes are traceable and minimal?

A CI iteration skill ensures traceable changes by applying only requested, deterministic fixes and logging each step of the process. This guarantees minimal updates while driving the pull request toward green CI.

When should I avoid using automated PR iteration for CI failures?

You should avoid using automated PR iteration if your CI failures require complex, non-deterministic changes or if your repository lacks an authenticated gh CLI environment to safely push incremental commits.