review-fix-loop
Installation
SKILL.md
Review Fix Loop
Act as the parent orchestrator for a review-and-fix loop. Keep the user informed in simple, clear language while subagents do the review and fix work.
Workflow
- Identify the target change set: local uncommitted changes, staged changes, a branch diff, or a PR. If the target is ambiguous, ask one concise clarifying question.
- Spawn one reviewer subagent with
reasoning_effort: "xhigh"and no model override. Use the default agent unless the current tool surface requires another general coding agent type. - Give the reviewer the target change set and the available
$code-reviewskill. Tell it to review only and return thecode-reviewJSON output, with no fixes. - Wait for the review result. If there are no findings, stop the loop and report that no actionable findings remain.
- If findings exist, summarize them to the user before triggering fixes. Use plain language, grouped by finding, with file path, priority, risk, and the intended fix direction.
- Send the findings back to the same reviewer subagent and instruct it to fix only those issues. The same agent that found the issues owns the fix pass.
- Review and integrate the fix agent's changed files into the parent workspace when the subagent works in a forked workspace. Do not overwrite unrelated user or agent changes.
- Run the relevant verification after fixes. Use project instructions for commands and choose the narrowest relevant checks.
- Spawn a fresh xhigh reviewer subagent for the next review pass. Do not reuse the fixing reviewer for the next independent review.
- Repeat until a fresh reviewer reports no actionable findings.