pr-iteration

Iteratively fix lint, typecheck, test, and build failures until CI passes.

1|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/pantheon-org/opencode-plugins --skill pr-iteration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-iteration
Source: https://github.com/pantheon-org/opencode-plugins/tree/main/.opencode/skills/pr-iteration
Command: npx skills add https://github.com/pantheon-org/opencode-plugins --skill pr-iteration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing PRs and MRs often stalls due to failing checks and cascading issues. This Skill guides the agent through an iterative refinement process to ensure all automated checks pass before declaring work complete.

Core Features & Use Cases

  • Iterative checks resolution: lint, typecheck, tests, and builds are addressed in sequence until green.
  • Phase-based workflow: Pre-Flight Checks, PR Creation & Validation, Iterative Fix Loop, and Final Verification to streamline collaboration.
  • Use Case: When a PR breaks CI across multiple packages, the skill coordinates fixes across packages, re-runs checks, and commits incremental updates until all checks pass.

Quick Start

Run the PR iteration workflow against your target branch to begin stabilization. Example: bun run pr-iteration <branch>

Frequently Asked Questions about pr-iteration

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

FAQPage Schema
How do I fix failing CI checks on a pull request?

Fix failing CI checks on a pull request by iteratively running lint, typecheck, test, and build commands to address errors. A phase-based workflow coordinates fixes across multiple packages, re-running checks and committing incremental updates until all CI checks pass.

What is an iterative PR refinement workflow for CI stabilization?

An iterative PR refinement workflow for CI stabilization is a phase-based process that addresses lint, typecheck, test, and build failures in sequence. It guides the agent through Pre-Flight Checks, PR Validation, an Iterative Fix Loop, and Final Verification to ensure all automated checks pass.

Can I use this to resolve lint and typecheck failures across multiple packages?

Yes, you can use this to resolve lint and typecheck failures across multiple packages. When a PR breaks CI, the skill coordinates fixes across packages, re-runs standard tooling commands via bun, npm, or yarn, and commits incremental updates until all checks are green.

What's the best way to automate pull request stabilization before merging?

The best way to automate pull request stabilization before merging is applying an iterative fix loop that runs standard tooling commands for lint, typecheck, tests, and builds. This enforces a phase-based workflow to streamline collaboration and ensure all automated checks pass before declaring work complete.

Do I need bun to run the PR iteration workflow?

You do not strictly need bun to run the PR iteration workflow. The skill relies on standard tooling including bun, npm, or yarn to run lint, typecheck, test, and build commands, allowing you to execute the stabilization process against your target branch using your preferred package manager.