iterate-pr

Automate fixing CI failures and replying to GitHub pull request review threads.

3|7|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/dimagi/dimagi-claude-workflows --skill iterate-pr-dimagi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterate-pr
Source: https://github.com/dimagi/dimagi-claude-workflows/tree/main/plugins/dev_utils/skills/iterate-pr
Command: npx skills add https://github.com/dimagi/dimagi-claude-workflows --skill iterate-pr-dimagi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Developers often face stalled pull requests due to failing CI checks and scattered review comments that are tedious to collect, triage, and respond to manually. This Skill streamlines the end-to-end process of gathering CI failures and review feedback, fixing the root causes, verifying changes locally, committing and pushing fixes, and replying to review threads so PRs can move forward.

Core Features & Use Cases

  • Automated collection of CI check status and extraction of relevant failure log snippets to focus debugging effort.
  • Categorized review feedback using the LOGAF scale, including special handling for review bots and an interactive option to select low-priority items to address.
  • Local verification guidance and guarded commit/push workflow with a dry-run mode, plus batched replies to inline review threads to close the loop after fixes.
  • Use case: a developer on a feature branch runs the workflow to diagnose failing tests, implement minimal targeted fixes, re-run failing checks locally, push a fix, and post standardized replies to review threads.

Quick Start

Run the iterate-pr workflow from your repository root with an authenticated GitHub CLI to gather checks and feedback, verify fixes locally, and prepare commits and replies (use --dry-run to preview without changes).

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 CI failures and addressing pull request review feedback?

Automate fixing CI failures and addressing review feedback by running the iterate-pr workflow from your repository root, which uses bundled Python scripts to fetch failing checks, categorize comments, and batch-reply to threads.

What is the best way to collect and triage failing GitHub pull request checks?

The best way to collect failing GitHub pull request checks is using an automated workflow that extracts relevant failure log snippets via an authenticated GitHub CLI, allowing you to focus your debugging effort directly on the root causes.

How do I reply to inline pull request review threads after pushing a fix?

You can reply to inline pull request review threads after pushing a fix by using a batched reply script that posts standardized responses to close the loop, ensuring all review feedback is systematically addressed.

Can I preview pull request fixes and replies before committing them to GitHub?

Yes, you can preview pull request fixes and replies before committing them by running the workflow with a --dry-run flag, which provides a guarded commit and push preview without applying actual changes to your repository.

Do I need an authenticated GitHub CLI to automate pull request workflows?

Yes, you need an authenticated GitHub CLI to automate pull request workflows because the scripts rely on it to fetch CI check statuses, extract logs, and post batched replies to review threads from your repository root.