cross-review

Runs a converging multi-AI PR review loop with automated fixes until no new findings appear.

1|Updated Apr 21, 2026
Ready to run
npx skills add https://github.com/devbasex/ai-plugins --skill cross-review-devbasex
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: cross-review
Source: https://github.com/devbasex/ai-plugins/tree/main/plugins/ndf/skills/cross-review
Command: npx skills add https://github.com/devbasex/ai-plugins --skill cross-review-devbasex

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Single-reviewer PR reviews miss defects and a single AI reviewer can hallucinate or stall; this Skill orchestrates two external AI CLIs (chosen from codex, agy, kiro, claude excluding the host) to review a GitHub PR in parallel, then loops automated fixes until no new findings appear. ## Core Features & Use Cases - Converging review loop: Repeatedly runs parallel AI reviews and sub-agent driven fixes (/ndf:fix) until both reviewers approve, with oscillation detection, max-round limits, and resumable state files. - Evidence-based findings: Requires each finding to carry evidence, falsification conditions, and suggested verification commands, with cross-agent critique and execution-based reproduction before blocking merge. - PR rotation and final sweep: Rotates oversized PRs (light or squash mode) and guarantees zero unresolved review threads via a mandatory final sweep verified against GitHub. - Use Case: Before merging a large feature PR, run it to have codex and agy review every round, auto-fix critical/major findings, and finish with an approved PR free of open threads. ## Quick Start Ask the AI to run /ndf:cross-review with your PR number, for example by saying: run cross-review on PR 123 and loop fixes until both AI reviewers approve.

Frequently Asked Questions about cross-review

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

FAQPage Schema
How do I run a multi-AI code review on a GitHub pull request?▼

Invoke /ndf:cross-review with the PR number, and it launches two AI reviewers chosen from the runtimes other than the host (codex, agy, kiro, claude). They post reviews directly via gh api, and the loop repeats fixes until no new findings appear.

How does the cross-review loop decide when a PR review has converged?▼

Convergence requires three layers in order: carried-over unresolved threads must pass through one fix cycle, new findings must drop to zero, and oscillation (over 50% overlap with the previous round) triggers abort instead. Both reviewers approving is paced by the slowest participant.

Can I use cross-review with only one AI reviewer or a specific CLI?▼

Yes, the --only flag restricts the round to a single reviewer for debugging, and --host declares which CLI is running the loop so it is excluded from the reviewer pool. Specifying a runtime outside the pool is rejected at initialization.

What happens when a pull request gets too large during repeated review rounds?▼

After --rotate-after rounds (default 8) without convergence, the PR is rotated: light mode closes the old PR and recreates it on the same branch with regenerated title and body, while squash mode squashes commits onto a new branch.

Why does cross-review fail when reviewing my own pull request?▼

GitHub returns HTTP 422 when posting REQUEST_CHANGES on your own PR, so the skill detects self-authored PRs at init and downgrades the posted event to COMMENT while keeping the original intent for loop decisions.

What are the limitations of the automated fix and sweep process?▼

Fixes run only in general-purpose sub-agents and defer nit-level findings during the loop; the mandatory final sweep resolves all remaining open threads but performs no new design changes. Code-related CI failures abort the loop with final=error rather than auto-fixing indefinitely.