ankyr-ci-pr-review-loop

Automates iterative PR review and fix cycles using reviewer and fixer subagents until findings reach zero.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/GuyErreich/AI_Agents --skill ankyr-ci-pr-review-loop-guyerreich
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ankyr-ci-pr-review-loop
Source: https://github.com/GuyErreich/AI_Agents/tree/main/plugins/ankyr-review/skills/ankyr-ci-pr-review-loop
Command: npx skills add https://github.com/GuyErreich/AI_Agents --skill ankyr-ci-pr-review-loop-guyerreich

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Manually reviewing pull requests, applying fixes, and re-reviewing is repetitive and error-prone. This Skill runs an autonomous review-fix loop on an open PR, alternating a fresh reviewer subagent and a fixer subagent until findings reach zero, while enforcing round and cost budgets. ## Core Features & Use Cases - Autonomous review-fix loop: Alternates reviewer and pr-resolver fixer subagents with full, delta, and confirm focus progression until consecutive clean passes are met. - Budget and round caps: Tracks estimated tokens and USD per round, blocks launches projected to cross caps, and supports budget-only unlimited-round mode. - Policy-based triage: Auto-fixes unambiguous findings, defers low-severity or diminishing-returns items, and escalates only genuine design or policy ambiguity. - Durable closed-findings ledger: Persists fixed, accepted, and deferred findings per PR so later runs do not rediscover or reverse prior fixes. - Use Case: Open a PR branch, invoke the loop, and let it review, fix lint and logic defects, re-verify the fix surface, and produce a summary canvas with findings, commits, and cost totals. ## Quick Start Run the PR review loop on the current branch's open pull request with a budget of $1.50 and a maximum of 3 rounds.

Frequently Asked Questions about ankyr-ci-pr-review-loop

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

FAQPage Schema
How do I run an automated PR review loop in Cursor?▼

Invoke the loop on a branch with an open pull request and it alternates reviewer and fixer subagents until findings reach zero. You can set overrides like max rounds, budget in dollars, severity floor, and reviewer or fixer models at invocation.

How does the review loop decide what to auto-fix versus escalate?▼

Findings with a concrete fix shape are auto-fixed at any severity, including High and Critical. Escalation happens only for genuine design or policy ambiguity, contested fixes, recurrence after a fix, infrastructure failures, or projected budget overruns.

Can I limit the cost of an automated PR review loop?▼

Yes, the loop tracks estimated tokens and USD per round and stops before any launch projected to cross the caps. Defaults are 1,000,000 tokens and $2.00 in auto pricing mode, overridable with phrases like budget $1.50 or max 2 rounds.

Does the review loop re-report findings that were already fixed?▼

No, fixed, accepted, and deferred findings are stored by signature in a durable per-PR ledger and seeded into new runs. Re-reports are filtered before triage, and opposite-shape findings on previously fixed paths escalate instead of auto-reverting.

When does the PR review loop stop?▼

It stops after the required number of consecutive clean full or confirm reviews, when projected spend would cross caps, at the round cap, on a design escalation, or when the validate suite fails. A single clean pass or a clean narrow delta review is not enough.