skills/code-review/SKILL.md
Dispatch-shaped code review: fan the diff out to fresh-context reviewers across diverse providers and model families, synthesize, fix blockers, re-review until clean. Use when: "review this", "code review", "is this ready to ship", "second-model review". Trigger: /code-review, /review.
npx skillsauth add phrazzld/agent-skills code-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.
You are the marshal. Read the diff, dispatch diverse fresh-context reviewers, synthesize, fix blockers, loop until clean. The authoring agent never ships on its own review — that is the one hard rule.
git diff <base>...HEAD (default base: the repo's
default branch). Classify what changed: API, UI, security surface, data
model, infra, docs.rg -n --glob '*.md' '^(title|tags|applies_when):|<module>|<failure-mode>' docs/solutions.
For each applicable match, the synthesis includes
followed|violated <learning title> <file:line> <why>; no file:line means
the verdict is not anchored.harnesses/shared/references/quality-system.md to decide whether the diff
needs a tiny, substantive, high-stakes, or Mode B review topology. Scale to
the failure cost, not to habit./roster) for cross-model judgment — a
different model family has decorrelated failure modes. If the harness can run a
large-scale background orchestration where reviewers adversarially
cross-check each other's findings before reporting, a substantive diff
is a natural fit — that scale costs tokens, so routine diffs don't get
it. Reviewers get the diff, the acceptance oracle, and a risk lens —
never the author's reasoning trail. When the delivery logged
deviations, hand reviewers the deviation sites — where the plan bent is
where plausible-but-wrong concentrates — but never the author's
justifications for them.
Add harnesses/shared/references/works-critique.md when the diff touches
public API, CLI, UI, performance, compatibility, migration, or operator
workflow. Add harnesses/shared/references/delete-first.md when the diff
adds abstraction, automation, dependencies, modes, or optimization; pair it
with the synced Ponytail skill
(skills/.external/dietrich-ponytail/SKILL.md) when the main risk is bloat,
boilerplate, or speculative engineering.
Add the synced Thermo-Nuclear skill
(skills/.external/cursor-thermo-nuclear-code-quality-review/SKILL.md)
whenever the diff changes meaningful implementation structure, grows large
files, adds wrappers, or risks spaghetti branching; this is the default
harsh maintainability lens, not a last resort.
Add harnesses/shared/references/verification-system-first.md when the
diff's proof story is missing, weak, eval/benchmark-shaped, or depends on
QA/manual judgment.Plausible-but-wrong is the failure mode of model-written code:
If the diff adds or changes an executable path (CLI, script, migration, job), someone must run it once or cite the gate that does — otherwise it's an unverified runtime path and blocks Ship. If the diff touches a visual or user-facing surface, at least one reviewer exercises it live. If the diff claims eval, benchmark, QA, or agent-behavior improvement, reviewers must inspect the driver and grader, not just the report prose.
Dedupe across reviewers; rank blocking (correctness, security, unverified
runtime path) > important (architecture, test strength) > advisory
(everything else). Blocking findings get fixed and the fix re-reviewed —
full pass, not a spot-check. Max 3 fix-review iterations, then escalate to
the operator with the open findings. Ship / Don't-ship is the lead's call on
the reviewers' evidence; advisory findings never block.
When the receipt pile is large, use julius-caveman compression for the
synthesis only. Findings must stay precise; PR comments and code suggestions
stay normal English unless the operator explicitly asks otherwise.
testing
Capture one compounding repo-technical learning while a solved problem is still fresh. Use when: after a bug fix, diagnosis, delivery, review, or incident reveals a reusable pattern worth adding to `docs/solutions/`. Trigger: /compound, /capture-learning, /learning.
testing
Route Misty Step factory application capabilities. Use when choosing, auditing, integrating, or operating Canary, Powder, Landmark, Aesthetic, or Bitterblossom: production observability, incidents, health checks, error logging, backlog/work-card state, release intelligence, UI/UX system adoption, or supervised/unsupervised agent dispatch. Trigger: /factory-apps, /factory-stack.
testing
Prove a skill beats no-skill with a falsifiable A/B eval, or retire it. Design, generate, run, and maintain a skill-specific eval: name the one claim the skill must earn, run it skill-on vs raw same-model, grade blind with objective checks first, return a keep/adapt/cut verdict. Use when: "eval this skill", "does this skill help", "prove the skill beats no skill", "write an eval for", "benchmark a skill", "is this skill worth it", "skill A/B", "skill regression test", "generate skill evals". Trigger: /skill-eval, /eval-skill, /prove-skill.
tools
> Template. Copy to `<target-repo>/.agents/skills/<repo>-<domain>/SKILL.md` > and fill every bracketed placeholder from the live target repo. Delete this > line and every other `> ` guidance line before committing. See > `../../references/repo-local-skill-generation.md` for the full process. --- name: <repo>-<domain> description: | [One paragraph: what this skill verifies/runs/operates for <repo>, stated in terms of the repo's real shape (service/CLI/library/etc.), not generic process. En