review-loop

Automate iterative review-fix loops on code diffs with configurable rounds.

12|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/RyderFreeman4Logos/cli-sub-agent --skill review-loop-ryderfreeman4logos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-loop
Source: https://github.com/RyderFreeman4Logos/cli-sub-agent/tree/main/patterns/review-loop/skills/review-loop
Command: npx skills add https://github.com/RyderFreeman4Logos/cli-sub-agent --skill review-loop-ryderfreeman4logos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates an iterative review-fix loop that continuously runs csa review --diff until diffs are resolved or the maximum rounds are reached.

Core Features & Use Cases

  • Bounded iterations with automatic re-review.
  • Multi-finding optimization across files using parallel-fix strategies.
  • Enforced SA mode propagation for safe autonomous operation.
  • Configurable MAX_ROUNDS (default: 2).

Quick Start

Run the skill with SA mode enabled to initiate an iterative review-fix loop until diffs are resolved.

Frequently Asked Questions about review-loop

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

FAQPage Schema
How do I automate an iterative code review and diff fix loop?

You can automate an iterative code review and diff fix loop by running a skill that continuously executes csa review --diff until changes are resolved or a maximum round limit is reached. It applies bounded iterations with automatic re-review for simple to moderate changes.

What is the maximum number of review rounds for automated diff fixes?

The maximum number of review rounds for automated diff fixes is configurable via a MAX_ROUNDS setting, which defaults to 2. The loop will automatically stop and exit once this limit is reached, even if unresolved findings remain.

Can I resolve multiple code review findings across different files in parallel?

Yes, you can resolve multiple code review findings across different files using parallel-fix strategies. The process optimizes multi-finding resolution by applying fixes simultaneously across the affected files during each iteration.

Do I need SA mode enabled to run automated code review workflows?

Yes, you need SA mode enabled to run automated code review workflows. The system enforces mandatory SA mode propagation to ensure safe autonomous operation during the iterative review and fix cycles.

What happens to unresolved diffs when the maximum review rounds are reached?

When the maximum review rounds are reached, the automated review-fix loop terminates and stops processing unresolved diffs. The bounded iteration mechanism ensures the process halts after the configured MAX_ROUNDS limit, preventing infinite loops.