review-loop

Iterates work through a critic subagent scoring cycle until a quality gate is met.

Updated Sep 3, 2026
One-click install
npx skills add https://github.com/xzedm/clipplic-landing --skill review-loop-xzedm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: review-loop
Source: https://github.com/xzedm/clipplic-landing/tree/main/.agents/skills/review-loop
Command: npx skills add https://github.com/xzedm/clipplic-landing --skill review-loop-xzedm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? First drafts of code, specs, and documents often ship with avoidable flaws because a single-pass generation lacks adversarial critique. This Skill runs an iterative worker-reviewer cycle that scores work 1-10 and revises it until a configurable quality gate is met. ## Core Features & Use Cases - Worker-Reviewer Cycle: Spawns a separate critic subagent with fresh context to score work 1-10 and deliver specific, actionable feedback, avoiding self-review anchoring bias. - Configurable Quality Gates: Supports user overrides for minimum and maximum loops, quality gate thresholds, and reviewer model capability, with sensible defaults (min 2, max 4, gate 8/10). - Two Operation Modes: Runs a full do-and-review cycle on new tasks, or reviews existing work such as a module the user just wrote. - Use Case: Ask the agent to implement a caching layer with review-loop and quality gate 8; it implements, receives critique about missing eviction and TTL, revises, and converges at 8/10 in two loops. ## Quick Start Ask the agent to implement your feature using review-loop with a quality gate of 8 and let it iterate until the reviewer approves.

Frequently Asked Questions about review-loop

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

FAQPage Schema
How do I run an iterative AI code review loop?▼

Ask the agent to do the task using review-loop, optionally setting a quality gate and loop limits. The agent completes the work, spawns a separate critic subagent that scores it 1-10 with feedback, revises, and repeats until the gate is met or max loops are reached.

How to get an AI agent to critique its own code?▼

Use a reviewer subagent with fresh context that receives only the work product, not the worker's reasoning. This avoids anchoring bias and produces honest 1-10 scores with specific, actionable feedback on issues like missing validation or error handling.

Can I use review-loop on code I already wrote?▼

Yes, Mode B reviews existing work. Point the agent at the file or module, and it reads the code, spawns the reviewer subagent, fixes flagged issues, and re-reviews until the quality gate is met.

What model should the reviewer subagent use?▼

The reviewer must be equal to or more capable than the worker. Use a balanced model for standard tasks and an advanced reasoning model for complex work like security or distributed systems, since a weaker reviewer cannot catch subtle logic errors.

When should I not use an iterative review loop?▼

Skip it for simple fixes, one-liner changes, exploratory spike work, and tasks where tests are the real quality gate. It also requires clear acceptance criteria; define those first or the loop may not converge.

What happens if the review loop score stops improving?▼

If the score stalls for two consecutive loops with the same feedback, the worker model is likely too weak to act on the critique. Escalate to a more capable model, lower the gate temporarily, or split the task into smaller pieces.