/leonardomso-skills:round-reviewfrom leonardomso-skills
Review a branch in rounds until one comes back clean. Each round checks the intended changes, tries to break the code, looks for regressions, and audits code quality, then fixes what it confirms.
Ships in leonardomso-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Review a branch in rounds. Each round looks at the whole branch through four lenses, one question each:
| Lens | Question |
|---|---|
| Intent | Did the branch do everything it set out to do? |
| Break | Can the new code be broken? |
| Regression | Did anything that worked before stop working? |
| Quality | Is the code well built, by the thermo-nuclear bar? |
Confirmed problems get fixed, and the next round reviews the whole branch again, fixes included. The run ends when a round is clean, meaning it changed no code, or when it reaches the round limit (5, unless the user names another).
Plan → Review → Triage → Fix → Decide (back to Review, or on to Report)
A finding's severity decides what happens to it:
| Severity | Usually from | Means | Handling |
|---|---|---|---|
missed intent | Intent | An intended change isn't fully done | Fix test-first |
bug | Break | The new code fails under input or a sequence a real caller could produce, or a test the branch adds fails | Fix test-first |
regression | Regression | Something that worked on the base fails now | Fix test-first |
structural | Quality | A thermo-nuclear presumptive blocker | Ask the user; apply if approved |
nit | Quality | A smaller quality issue | Report only |
Triage sets the final severity by what the problem is, whichever lens raised it. A problem with a failing reproduction is a missed intent, bug, or regression, and it is fixed without asking, even when the Quality lens raised it.
Test-first means: turn the finding's reproduction into a test, watch it fail (red), fix the code, and watch it pass (green). Name the test after the behaviour it pins ("negative discount is clamped to 0%"), not the ledger ID, and record its name in the ledger's Evidence column.
Track every finding in one ledger for the whole run:
| ID | Round | Severity | Where | Finding | Status | Evidence |
|---|---|---|---|---|---|---|
| R1-3 | 1 | bug | cart.ts:88 | Negative quantity accepted | fixed | cart.test.ts "rejects negative quantity" |
Status is one of confirmed, ruled out, fixed, declined.
Work out three things:
I-1, I-2, …) and a proof: a reproduction that failed before the branch, or a behaviour you can observe.Then show the user the plan: the target, the intent list with each proof, the baseline failures, and the round limit. Mention that each round runs four agents. Start once the user confirms or corrects it; if the user asked for a run without stops, show the plan and start.
Done when the user has confirmed the plan, or, in a run without stops, has seen it.
Start the four lenses in parallel, each as a fresh subagent briefed from LENSES.md. Give each one:
fixed rows, so it attacks the fixes too,ruled out ledger row with its reason, and every nit on record, so it raises them again only with new evidence,../thermo-nuclear-code-quality-review/SKILL.md, resolved from this skill's base directory,Done when all four lenses have reported.
Check each finding yourself. Run its reproduction, or for a structural finding, read the code it points at. Try to reproduce each hunch too; one that reproduces becomes a finding, and the rest are dropped. Merge findings that share a root cause, and set each one's severity from the table.
A finding is in scope when a real caller, user, or upstream system could trigger it. Mark it ruled out, with the reason, when:
Symbol where a number is expected, a null-prototype object, a throwing getter), unless the code accepts untrusted objects,This bar is what lets rounds converge: past it, an adversary can always find something.
Add the rest to the ledger as confirmed.
Done when every finding is confirmed or ruled out.
Handle each confirmed finding the way its severity says. Collect the structural findings into one question for the user, each with its proposed restructure. Mark the ones they decline as declined. Then run the full suite again.
Keep fixes uncommitted unless the user asked for commits.
Done when every confirmed missed intent, bug, and regression has a passing test, every structural finding is applied or declined, and the suite does at least as well as the baseline.
Tell the user how the round went in one line, e.g. "Round 2: 3 confirmed (2 bugs, 1 regression), all fixed; 1 ruled out. Starting round 3."
The round is clean if it changed no code: triage confirmed no missed intent, bug, or regression, and the user approved no structural change.
Report in chat:
declined structural findings, the nits, and the pre-existing issues triage found.Remove the baseline worktree.
Done when every ledger row has a final status (fixed, ruled out, declined, or a nit listed for later) and the baseline worktree is gone.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub leonardomso/skills --plugin leonardomso-skills3 skills in this plugin
/coverage-matrixCoverage matrix — map a feature's scenarios to the tests that prove them. Use when asked what a feature's tests cover or miss, to plan the tests a feature needs, or what a diff (branch or PR) leaves untested./thermo-nuclear-code-quality-reviewRun an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.