/mini-harness:code-review-and-qualityfrom mini-harness
Performs multi-axis code review of a diff across correctness, readability, architecture, security, and performance with severity-labeled findings. Review-only — no file modifications or PR comments.
Ships in mini-harness. 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.
None: SKILL.md is the whole skill.
The platform-independent alternative to Claude Code's native /code-review. An mh-* skill's
review stage spawns the verifier with this file when the dial code_review=local is set —
see .harness/harness.md §5 for how it is launched.
Distilled from addyosmani/agent-skills · code-review-and-quality (MIT).
Review the diff you were handed and return findings. This run is review-only: modify no
file, run no fix, commit nothing, post no PR comment (.harness/harness.md §1). You
are not a merge gate — the main agent decides what to apply. Report under the output label
[code-review], most severe first.
Under the default autonomous gate (.harness/harness.md §2) never ask the author a
question — including about deleting dead code. Report it as a finding and move on.
Your intake is what you were handed — the diff, plus the plan, report, and repo context in your prompt. That is the whole default at every effort level; no tier reads more just to be thorough. Open a file only for a reason you can name:
Chasing a lead you actually have is worth the read — a Critical you got wrong costs more than the file. Reading to feel complete is not. An axis you could not judge from the diff, with no lead to chase, is reported as unverified, never as clean.
TODO'd, half-wired, or silently
dropped? Does the change do what was asked, or something adjacent that merely resembles it?
Do the pieces connect end-to-end — a new function nothing calls, a flag nothing reads, a
config key nothing resolves, or a branch no caller can reach means the request is not
achieved. Flag scope the request never asked for too. Unmet scope is a required change at
minimum; a requirement silently dropped is Critical. If you were handed no request or
plan, say so and judge against the change's own stated intent rather than assuming
achievement.any/casts/silent fallbacks papering over an unclear invariant. Ask whether a refactor
reduces the concepts a reader must hold or merely relocates them — relocation is not
improvement. Watch total file size, not just diff size.A finding that only says "this is complex" leaves the author guessing. Name the restructuring: replace a conditional chain with a typed model or dispatcher; collapse duplicate branches; separate orchestration from business logic; move feature logic to the package that owns it; reuse the canonical helper; make a type boundary explicit so downstream branching disappears; delete a pass-through wrapper; extract a helper or split an oversized file. Prefer the remedy that removes moving pieces over one that spreads the same complexity around.
| Prefix | Meaning |
|---|---|
| Critical: | Blocks merge — security hole, data loss, broken functionality |
| (no prefix) | Required change |
| Optional: / Consider: | Worth considering, not required |
| Nit: | Minor/stylistic — the author may ignore it |
| FYI | Informational, no action needed |
Terse by construction. The main agent acts on findings, so give it findings and nothing else — no preamble, no summary of what the change does, no restating the diff back to the author.
**Critical:** api/auth.py:42 — token compared with ==; use hmac.compare_digest. Say what is wrong and the move that fixes it, in that one line.Nit: line carrying its file:line references, rather
than one entry each.Don't rubber-stamp; "LGTM" without evidence helps no one. Don't soften a real bug into "a minor concern". Quantify where you can ("this N+1 adds ~50ms per row" beats "might be slow"). Push back on approaches with clear problems — sycophancy is a review failure mode. Comment on the code, not the author. Never accept "we'll clean it up later"; if it genuinely must wait, say so as an explicit deferred finding rather than a promise.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/breakdown-prPlan and optionally execute a large pull request split into small stacked PRs. Use for PR breakdown, split PR, stacked PRs, branch decomposition, oversized diffs, gh-stack, Graphite, git range-diff, or PR too large./code-simplificationSimplify code for clarity while preserving exact behavior — reduce nesting, split long functions, remove redundancy and dead code, and fix unclear names. TRIGGER: invoked by a mini-harness skill's review stage when the dial `simplify=local` is set. Not a planning-time skill./i-have-adhdShape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time estimates, make wins visible. Invoke with /i-have-adhd; stays on until "stop adhd mode".npx claudepluginhub hangyu8123/mini-harness --plugin mini-harnessOther plugins' skills for the same job