/manifest-dev:review-codefrom manifest-dev
Audits a code change along one specific quality dimension (bugs, design, maintainability, testability, type safety, etc.) and reports findings graded by consequence. Use before merging or when auditing a diff for a named concern.
Ships in manifest-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Audit a change along one review dimension and report findings. Load only that dimension's reference.
$ARGUMENTS carries the dimension plus optional scope, e.g. dimension=code-bugs or code-bugs src/foo.ts. A caller requesting a gate verdict also supplies the claims to assess and any deliberately required severity, category or approval policy. A Manifest gate carries its claim and source authority; its Evidence names the dimension. If no dimension is given, list the available dimensions and ask which one — one invocation, one dimension. With no one to ask, report BLOCKED: no dimension was named, and naming one settles it.
Before reviewing a change in a project, read the project context file's pointers to principles skills — project skills named <area>-principles holding how the project's people want one area's work done — and load each one for an area the change touches (../setup-project/references/PRINCIPLES_SKILLS.md → Using one). Load references/<dimension>.md for the requested dimension and follow it. Its standards are opinionated defaults: where a rule the user stated, in the session or a context file, a principle in a loaded principles skill, or a convention the project states or documents (not a pattern its code merely repeats) differs, that rule governs, a change following it raises no finding, and the report names the rule applied — except a Critical finding on the ladder below, which is still reported, naming the rule that produced it. Classify findings by consequence; the caller chooses the acceptance threshold and handling policy.
| Dimension | Reference | Role |
|---|---|---|
change-intent | references/change-intent.md | defect-finder |
code-bugs | references/code-bugs.md | defect-finder |
contracts | references/contracts.md | defect-finder |
type-safety | references/type-safety.md | defect-finder |
defect-class | references/defect-class.md | defect-finder |
operational-readiness | references/operational-readiness.md | advisory |
code-design | references/code-design.md | advisory |
code-maintainability | references/code-maintainability.md | advisory |
code-simplicity | references/code-simplicity.md | advisory |
code-testability | references/code-testability.md | advisory |
test-quality | references/test-quality.md | advisory |
docs | references/docs.md | advisory |
prose-value | references/prose-value.md | advisory |
context-file-adherence | references/context-file-adherence.md | advisory |
Roles define what to look for. Defect-finders report divergences, defects, contract mismatches and type holes with a stated trigger. Advisory dimensions assess product and quality gaps. Both use the shared severity ladder; neither role decides which findings the caller must address.
Some dimensions are conditional, and the caller decides whether they apply before requesting them: contracts where the change touches API surfaces or durable data contracts, type-safety on typed code, and defect-class where the change fixes a defect. defect-class is the one dimension that takes a defect as input rather than producing one as output — it judges the repair's protection against the demonstrated mechanism and accounts for affected sites, so on a change that fixes nothing it has no input and nothing to judge. Requesting it anyway is not an error; it reports no fix found in scope and applies any supplied acceptance policy.
For a requested follow-up, the caller supplies the prior assessed state and criteria, findings, supported dispositions, verified repairs, and changes since that evaluation; use what applies. Criteria that changed since that evaluation make this a fresh review, scoped as below, since work the old criteria did not reach has never been reviewed. Otherwise report outstanding findings and failures introduced or exposed by the intervening changes, with evidence for which prior findings are repaired. Read context as widely as needed; an old issue on a touched line is not new merely because the line changed. If the needed prior state is missing, recover it or report BLOCKED with what is missing, rather than silently reviewing the complete change again. A new ID or repeated assertion does not reopen an evidenced disposition; changed code, criteria, argument or evidence can. Assess its support independently rather than requiring agreement with a previous reviewer.
For a fresh review — including a new standalone review when an earlier report exists — resolve its scope as follows:
git diff <base>...HEAD, staged changes with git diff --cached, unstaged changes with git diff, and relevant new files from git ls-files --others --exclude-standard. Read each new file's contents; a path listing alone is not its diff.Stay within scope — never audit the whole project unless explicitly asked. Skip generated copies, lock files, vendored dependencies and binaries. Establish which files are generated from the repository's ownership or build rules; a directory named dist/ or build/ may also contain source-owned files that need review.
Reading scope ≠ reporting scope. The diff bounds what you report (defaults: only issues introduced or exposed by the change). It does not bound what you read — trace mechanisms wherever they lead (existing callers, shared state, upstream writers) so boundary issues between changed and unchanged code stay visible. Read widely; report narrowly. Within the resolved scope, examine every file against every category the loaded reference lists — do not cut corners or skip areas — and report only the findings that clear its bar for reporting (its actionability filter, or for defect-class its acceptance rules).
The Pre-existing list, only when asked. When the caller asks for it on a fresh full look, add a ## Pre-existing section: issues the loaded dimension owns that you noticed in code you read for the change, that the change neither introduced nor exposed, and that would clear its actionability criteria other than scope: a stated trigger on a defect-finder and a stated cost for a Medium on an advisory dimension. Honor the caller's requested severities and categories; the caller decides how to handle this list. They are not findings: they never count toward the verdict or summary counts. Leave the section out unless asked, and on every follow-up even when asked: a follow-up's scope stays outstanding findings and what the intervening changes introduced or exposed.
This skill is read-only: never modify repository files; write analysis artifacts only outside the repository, in the host's temporary location. The author implements fixes from your report.
Grade by consequence, not confidence or frequency. Dimension examples apply this ladder; they cannot lower it. Regrade a correctness or safety failure or broken binding promise received as Low from the evidence before any caller filtering. A binding requirement can concern style, naming or structure. Severity does not decide whether a finding is addressed, posted or blocking: those are caller policies, not part of the Low definition.
The Manifest or another caller owns acceptance. For a claim-based gate, a finding fails it when the evidence establishes a concrete violation of that claim or an applicable source obligation, including a material quality cost in the artifact's supported use or expected maintenance. Severity describes consequence; it does not substitute for that argument. A missing criterion does not erase the requested result or its source obligations: report the coverage gap as well. Do not turn an unsupported improvement preference into a new obligation.
A deliberately supplied severity or category policy still applies. The same Low may fail a caller's Low-inclusive gate and pass a different caller's Medium+ gate without changing severity. Choosing to address a Low does not raise its severity. Report classifications without a verdict when no gate is requested. If a verdict is requested without an acceptance policy recoverable from claims or explicit handling instructions, ask for it or report BLOCKED; do not invent a threshold. Batching, repair scope and final finding dispositions belong to the caller. A caller's reasoned rejection does not change the claim you assess; on a follow-up it is a supported disposition unless new evidence reopens it. Evidence that the claim itself is wrong is reported for the caller, who owns the claim, to change; a real failure or necessary missing evidence remains unresolved.
# Code Review — <dimension>
**Dimension**: <dimension>
**Acceptance policy**: [caller-supplied, for a requested gate]
**Status**: PASS | FAIL | BLOCKED [requested gates only]
**Files analyzed**: [...]
## Prior findings (follow-ups only)
- [prior finding]: repaired | rejected with support | unresolved — [evidence; new evidence that reopens it, if any]
## Findings
### Finding #1: [title]
- **Location**: `file:line`
- **Severity**: Critical | High | Medium | Low
- **Description**: [what's wrong]
- **Acceptance basis**: [the claim or source obligation contradicted, or the concrete quality cost; identify a proposed improvement as such]
- **Trigger**: [the condition under which the defect manifests — the concrete input, state, or sequence that produces the failure, or for a static mismatch such as a contract or signature divergence, the call or consumer path that reaches it — required on defect-finder dimensions]
- **Impact**: [what it breaks / why it matters — a Medium finding must name the concrete cost that earns that grade: the future change it makes harder, the reader or operator task it defeats, or the condition under which behavior degrades]
- **Recommended fix**: [specific change]
## Pre-existing (only when the caller asked, on a fresh full look)
- [title] — `file:line` — [the issue, with its trigger or cost] — [recommended fix]
## Summary
- Critical: N | High: N | Medium: N | Low: N
- Verdict (requested gates only): apply the caller's acceptance policy to the classified findings.
An empty report is a valid, expected outcome. Do not invent findings to fill it.
When invoked as a gate with the caller's acceptance policy, end with one verdict:
references/change-intent.md (opens in a new tab)references/code-bugs.md (opens in a new tab)references/code-design.md (opens in a new tab)references/code-maintainability.md (opens in a new tab)references/code-simplicity.md (opens in a new tab)references/code-testability.md (opens in a new tab)references/context-file-adherence.md (opens in a new tab)references/contracts.md (opens in a new tab)references/defect-class.md (opens in a new tab)references/docs.md (opens in a new tab)references/operational-readiness.md (opens in a new tab)references/prose-value.md (opens in a new tab)references/test-quality.md (opens in a new tab)references/type-safety.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
21 skills in this plugin
/audit-state-machinesFind every implicit and explicit state machine in a codebase, model each one formally, and report every bug the model shows and the code confirms — a bad state that can be reached, a forbidden transition, a state with no way out — with its fix and an offer to turn the findings into Tickets. Changes no code. Use when the user asks to audit state machines, find implicit state machines, check status or lifecycle logic across an app, or find status or lifecycle bugs that span several files./autoEnd-to-end autonomous execution: figure-out → define → do, chained without manual approval gates. Use when you want to define and execute without intervention during planning, when the user asks for autonomous or end-to-end work, or asks to go from idea to done without approval gates./npx claudepluginhub doodledood/manifest-dev --plugin manifest-devOther plugins' skills for the same job