From resilient-flows
Structured remediation loop for code review findings. After a reviewer agent returns HIGH+ severity findings, dispatch a targeted fix agent, then re-review. Bounded to 2 cycles to prevent infinite loops. Use when code review or verification surfaces issues that need fixing before completion.
How this skill is triggered — by the user, by Claude, or both
Slash command
/resilient-flows:remediation-loopThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When a code review or verification step surfaces findings with severity >= HIGH, run a bounded fix-then-re-review cycle instead of leaving the findings unresolved or asking the user to fix manually.
When a code review or verification step surfaces findings with severity >= HIGH, run a bounded fix-then-re-review cycle instead of leaving the findings unresolved or asking the user to fix manually.
Classify each finding:
If ALL findings are judgment calls, present them to the user. Do not enter remediation.
Dispatch a fix agent (or fix directly) scoped to ONLY the actionable findings:
Agent: Fix the following review findings. Do not refactor beyond what is needed.
Findings:
1. [file:line] — description from reviewer
2. [file:line] — description from reviewer
Constraints:
- Fix only what is listed. No drive-by improvements.
- Run existing tests after fixing to verify no regressions.
- Report what you changed and test results.
After the fix, dispatch a fresh reviewer (or re-run verification) scoped to the same areas:
Agent (read-only): Review ONLY the files touched by the fix.
Confirm whether each original finding is resolved.
Report any new issues introduced by the fix.
| Re-review result | Action |
|---|---|
| All findings resolved, no new issues | Exit loop — mark complete |
| New issues found (cycle 1) | Run one more fix + re-review cycle (Step 2-3) |
| New issues found (cycle 2) | Stop. Present remaining issues to user. Do not loop further. |
| Original findings NOT resolved | Stop. Present to user with evidence of what was tried. |
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub thamam/a2x-marketplace --plugin resilient-flows