iterate-pr

by Unknown v1.0.0

This skill automates the process of iterating on a Pull Request (PR) until all Continuous Integration (CI) checks pass and all review feedback has been addressed. It streamlines the feedback-fix-push-wait cycle, allowing developers to focus on code quality rather than repetitive tasks. The skill leverages the GitHub CLI (`gh`) to interact with the repository and provide comprehensive feedback, and to automate the process of identifying failures, addressing them, and pushing updates.

It guides the user through checking CI status, gathering review feedback (both human and bot), investigating failures using logs, validating the feedback, addressing issues, committing changes, waiting for CI, and repeating the process as needed. The skill incorporates best practices for handling CI failures, review comments, and flaky tests, ensuring efficient and reliable PR iteration. It uses `gh` commands to view PR details, check CI status, fetch review comments, view run logs, and watch for CI completion.

What It Does

Automates the process of iterating on a Pull Request (PR) to address CI failures and review feedback until all checks pass.

When To Use

Use this skill when fixing CI failures, addressing review feedback, or continuously pushing fixes until all checks are green. Ideal for automating the feedback-fix-push-wait cycle and ensuring PRs meet quality gates.

Installation

Copy SKILL.md to your skills directory

View Universal documentation

Have a Skill to Share?

Join the community and help AI agents learn new capabilities. Submit your skill and reach thousands of developers.