claude/skills/iterate-review/SKILL.md
Review, clean up, and finalize changes after implementation. Run this after implementing a plan from /iterate to review code, fix issues, run cleanup, and open/update a PR.
npx skillsauth add tbroadley/dotfiles iterate-reviewInstall 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.
Autonomous review loop that runs after implementation. Continue looping until the review says "done" or you hit 5 iterations.
Before starting the review loop:
git log --oneline main..HEAD or git merge-base main HEAD)git diff origin/<base>...HEADRun lightweight validation. Fix any issues before proceeding.
ruff check), typechecker (e.g., basedpyright), and formatter (e.g., ruff format --check). Fix any issues.pytest -m "not slow" or pytest if no slow markers). Fix any failures.If validation fails, fix and retry — don't move on to the review step with broken code.
Spawn a Task subagent (subagent_type: "general-purpose") to review the changes. Give the review subagent:
git diff origin/<base>...HEADThe review subagent should:
Tell the review subagent:
Based on the review subagent's response:
Before finalizing, run the /cleanup skill to remove anti-patterns and enforce CLAUDE.md conventions on the changed code:
/cleanup)CLAUDE.md and ~/.claude/CLAUDE.md to check changed code against all style rules and conventionsAfter cleanup is complete:
/commit-push) to open/update the PR, wait for CI, and handle PR commentsMaintain a running summary across iterations. After each iteration, append:
--- Iteration N ---
Fixed: <what was done>
Review: <verdict> — <summary>
Findings: <list of findings, if any>
After cleanup, append:
--- Cleanup ---
Changes: <what was cleaned up>
Pass this full context to every subagent so they understand the history and avoid re-introducing old issues.
tools
Add words to the Wispr Flow dictionary. Use when the user wants to add a word, phrase, or snippet to Wispr Flow for voice dictation.
documentation
Upload images to a GitHub PR description or comment using a shared gist as image hosting. Use when the user wants to add plots, screenshots, or other images to a PR.
testing
Manage tasks, projects, and productivity in Todoist. View tasks, add new items, check completed work, and organize projects.
data-ai
Use when working with stacked diffs (branch B based on branch A, which is based on main).