/maxi:reviewfrom maxi
Use when the user invokes /maxi:review or a newly completed plan reaches the design-review boundary before task extraction
Ships in maxi. 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.
Persist one independent design review of the exact current spec.md and
plan.md pair and its decision inputs. A current maxi-design-review-v1 approval binds exact artifact hashes and review_inputs_sha256: the constitution and every direct ADR Markdown file except generated README.md, regardless of status.
The independent reviewer uses the dedicated design-reviewer.md brief in this
directory. That brief reviews artifacts as a design; completed-code review
remains owned by upstream Superpowers at the implementation boundary.
docs/maxi/constitution.md must exist — hard stop if missing: "No constitution found. Run /maxi:constitution first."spec.md and plan.md, and must not be parked (run /maxi:resume first) or cancelled (terminal).Direct /maxi:review and standalone initial-plan review run in report-only mode for one pass and never correct artifacts. Specify/revise coordinators use coordinated mode with the same report-only owner for at most two passes under design-operation.md. The coordinator owns corrections; review returns its result after its own write.
project_root and canonical artifact paths. Take the exact loaded review/SKILL.md path from the skill loader, canonicalize its directory with cd -P, and resolve adjacent design-contract.sh as design_contract and review-inputs.sh as review_inputs. Require readable regular, non-symlink helpers and support files design-operation.md, design-reviewer.md, review-template.md; no client-project lookup or fallback. Read design-operation.md for destination and continuity rules.shasum -a 256 < "$spec_path", likewise plan) and original_inputs="$(bash "$review_inputs" hash "$project_root")". Stop on any failure. Read the complete current spec.md, plan.md, constitution and all digest-bound ADR bytes. Never reconstruct missing artifacts from Git history. Resolve every related_adrs entry in spec.md to one accepted docs/maxi/adr/NNNN-*.md file. Missing, ambiguous or non-accepted references stop without writing. Inline prose mentions do not select ADR inputs. They also do not narrow the full digest-bound ADR snapshot.bash "$design_contract" operation "$review_path" "$spec_path" "$plan_path" "$project_root" "$operation_id"
A reserved pass only recovers the recorded reviewer's result; no redispatch. Missing/malformed continuation evidence stops. A fresh operation requires a real fresh request; it cannot replace an active operation automatically.none for empty slots. Include all prior findings for pass two. Confirm no placeholder remains. Do not send the review payload yet.reviews/ directory if absent. Hash the existing report exactly, or use literal absent only for a missing fresh-operation report. Reserve before dispatch:
bash "$design_contract" reserve "$review_path" "$spec_path" "$plan_path" "$project_root" \
"$operation_id" "$request_sha256" "$mode" "$reviewer" "$expected_report_sha"
Require exit 0 and DESIGN_REVIEW_RESERVED operation_id=<hash> pass=<N> report_sha256=<hash>. Retain the returned report hash for publication; verify reservation hashes equal the ORIGINAL values before sending the payload. Only this successful reservation permits one review dispatch, sent by follow-up to the recorded reviewer. A mismatch stops the operation without dispatch.VERDICT: approved or VERDICT: rejected. If absent, malformed, duplicated, contradictory, or nonterminal, discard the response and write nothing as reviewed evidence. Never infer or repair a verdict. Ask the helper to stop the pending operation, preserving history. Compare current exact spec/plan hashes and dependency digest to ORIGINAL values before publication; freshness failure stops without an approval.review_candidate="$(mktemp "$(dirname "$review_path")/.design-candidate.XXXXXX")"
trap 'rm -f -- "$review_candidate"' EXIT
Copy the reserved report body exactly, changing only the leading operation block's phase: reserved to the supplied verdict. Retain the entire byte-length-framed history section byte-for-byte. Append the complete independent output ending with its exact terminal VERDICT; reject reserved operation/history markers in reviewer output. The template's approval envelope documents stamper output and is not part of the candidate. Publish through:
bash "$design_contract" stamp-operation "$review_candidate" "$review_path" \
"$spec_path" "$plan_path" "$verdict" "$project_root" "$original_inputs" \
"$operation_id" "$expected_report_sha"
Use the reservation's returned report hash as expected_report_sha. Failed publication preserves prior evidence; do not retry with newly substituted originals. For approval require exit 0 and exactly DESIGN_REVIEW_VERIFIED from:
bash "$design_contract" verify "$review_path" "$spec_path" "$plan_path" "$project_root"
bash "$design_contract" stop-operation "$review_path" "$spec_path" "$plan_path" \
"$project_root" "$operation_id" "$expected_report_sha"
If inputs are unsafe or unreadable leave the report unchanged and report the stop. Never delete a lock left by another writer. Legacy stamp is not a fallback for managed reports.reviews/design-review.md; its private candidate is temporary. It never changes a
status or mutates spec.md, plan.md, tasks.md, or a descendant artifact.workflow.md, or writes
.maxi-ops.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub amoutiers/maxi-superpowers --plugin maxi34 skills in this plugin
/analyzeUse when the user invokes /maxi:analyze or wants to audit spec/plan/tasks artifacts for quality issues — spec must be at status "tasked" or later; constitution is required/boardUse when the user invokes /maxi:board or wants a kanban overview of all specs and their pipeline status in the current project/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation)./cancelUse when the user invokes /maxi:cancel, says a feature is abandoned, dead, or will never ship — requires active spec status, explicit reason, and explicit yes/no confirmation before writing anything./clarifyUse when the user invokes /maxi:clarify or when a spec.md has open questions, [NEEDS CLARIFICATION] markers, or ambiguous FRs — status must be "specified"/constitutionUse when the user invokes /maxi:constitution, wants to establish or amend project principles, or when docs/maxi/constitution.md does not yet exist and needs to be created