From ct
Iteratively reviews code for critical issues with code-reviewer, auto-fixes via fixer agent, verifies tests pass, repeats up to 5 cycles until clean.
npx claudepluginhub pvillega/claude-templates --plugin ctThis skill uses the workspace's default tool permissions.
Autonomous review-fix cycle that iterates until all critical issues are resolved.
Automates codex CLI code review remediation: classifies P0-P4 findings, fixes P0/P1 iteratively up to 3 cycles, defers P2-P4 to backlog, handles monorepos. Triggered by 'codex review'.
Loops candid-review to iteratively apply fixes and re-review code until issues resolved, with auto, review-each, or interactive modes and config support.
Orchestrates implement-analyze-fix loops: implements code, AI-reviews changes, fixes issues, repeats until clean or max iterations. For iterative development with quality checks.
Share bugs, ideas, or general feedback.
Autonomous review-fix cycle that iterates until all critical issues are resolved.
The value of this skill is that it separates finding problems from fixing them. The code-reviewer agent operates read-only with a disconfirmation mindset — it actively looks for flaws. The fixer agent then applies minimal, targeted changes. This separation prevents the common failure mode where a fixer rationalises away problems it finds in code it's about to change.
One of:
Determine which files to review, in priority order:
git diff --name-only (unstaged) + git diff --name-only --staged (staged)git diff --name-only HEAD~3Run the project's test suite before making any changes.
Auto-detect the test command by inspecting the project for build/config files. If the detected command fails on first run, ask the user for the correct test command. Once confirmed, write the command to the CLAUDE.md file for the project.
Record the result — this is needed later to distinguish pre-existing failures from regressions introduced by fixes.
Set iteration = 1 and scope = <initial files>.
LOOP while iteration <= 5:
Five iterations is the cap because experience shows that if critical findings persist beyond 3-4 cycles, the remaining issues typically need human judgement rather than automated fixing. The cap prevents wasted cycles.
REVIEW (iteration N) — Announce: Review iteration N/5
code-reviewer agent with scope as its inputTRIAGE — Extract only Critical findings from the report
FIX (iteration N) — Announce: Fix iteration N/5 — addressing N critical issue(s)
fixer agent, passing it:
NARROW SCOPE — Set scope to the files listed in the fixer's "Files Modified" output
INCREMENT — iteration += 1
END LOOP
Announce: Fix loop complete
# Fix Loop Report
## Iterations: N/5
## Resolved (Critical)
- [file:line] [issue] — fixed in iteration N
## Remaining (Critical)
- [file:line] [issue] — reason not fixed
## Noted (Warning / Suggestion)
- [file:line] [issue] — from iteration N (not actioned)
## Test Status
[Compare against baseline from Step 2. Report regressions vs pre-existing failures.]
Ask the user: Commit these changes?
If yes, use /commit or create a conventional commit directly.