patterns/review-loop/skills/review-loop/SKILL.md
Use when: iterative review-fix loop until csa review --diff is clean
npx skillsauth add ryderfreeman4logos/cli-sub-agent review-loopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Bounded iterative review-fix loop. Runs csa review --diff up to 2 rounds,
fixing issues between rounds until clean or max rounds exhausted.
csa run --sa-mode true --skill review-loop "Review and fix current changes"
When operating under SA mode (e.g., dispatched by /sa or any autonomous workflow),
ALL csa invocations MUST include --sa-mode true. This includes csa run,
csa review, csa debate, and any other execution commands. Omitting --sa-mode
at root depth causes a hard error; passing false when the caller is in SA mode
breaks prompt-guard propagation.
csa review --diffparallel-fix pattern (parallel RECON / serial EDIT) for faster fix rounds.MAX_ROUNDS: Maximum review-fix iterations (default: 2)development
Use when running a non-blocking CSA background code health scan that uses csa health and csa tokuin estimate to propose refactoring GitHub issues for files over token or complexity thresholds.
data-ai
Recover main-agent context after `/clear`, `/compact`, or lost local thread state by using `csa recall` against recorded Claude main sessions.
tools
Use when: merged PR had HIGH/CRITICAL findings that represent a bug class — extracts reusable coding rule
tools
Use when: review found 2+ independent findings in different files, fix phase can parallelize RECON