From exarchos
Reviews implementation against spec compliance and code quality in two stages, using branch stack diff for context reduction and dispatching to subagents.
How this command is triggered — by the user, by Claude, or both
Slash command
/exarchos:reviewFiles this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Review Review implementation for: "$ARGUMENTS" ## Workflow Position Review runs AFTER delegation completes -- reviews the branch stack diff. ## Skill References - **Stage 1 (spec compliance):** `@skills/spec-review/SKILL.md` - **Stage 2 (code quality):** `@skills/quality-review/SKILL.md` Reviews MUST be dispatched to subagents (not run inline). Use the branch stack diff to reduce context by 80-90%: ## Idempotency Before reviewing, check review status in state: 1. Skip tasks where both reviews already passed 2. Only review pending tasks 3. If all reviews passed, skip to auto-ch...
Review implementation for: "$ARGUMENTS"
/exarchos:ideate → [CONFIRM] → /exarchos:plan → /exarchos:delegate → /exarchos:review → /exarchos:synthesize → [CONFIRM] → merge
▲▲▲▲▲▲▲▲▲▲▲▲▲▲
ON BLOCKED ──────────────────────────────────────┘
ON FAIL → /exarchos:delegate --fixes (auto)
Review runs AFTER delegation completes -- reviews the branch stack diff.
@skills/spec-review/SKILL.md@skills/quality-review/SKILL.mdReviews MUST be dispatched to subagents (not run inline). Use the branch stack diff to reduce context by 80-90%:
git diff main...HEAD > /tmp/stack-diff.patch
Before reviewing, check review status in state:
Before dispatching the quality-review subagent, call prepare_review to get the quality check catalog:
exarchos_orchestrate({ action: "prepare_review", featureId: "<id>" })
This returns structured check patterns (grep, structural, heuristic) that the quality-review subagent executes against the codebase. The catalog works on any MCP platform — no companion plugins needed.
Pass the catalog to the quality-review subagent along with the diff. The subagent executes checks, collects findings, and feeds them as pluginFindings to check_review_verdict:
exarchos_orchestrate({
action: "check_review_verdict",
featureId: "<id>",
high: nativeHighCount,
medium: nativeMediumCount,
low: nativeLowCount,
pluginFindings: catalogFindings, // from check catalog execution
})
The pluginFindings counts are merged with native counts before computing the verdict.
On platforms with skill support, the orchestrator additionally invokes companion plugin skills after the quality-review subagent returns. These provide deeper qualitative analysis beyond the deterministic catalog.
Check the pluginStatus from prepare_review response AND your available skills list:
impeccable:critique — frontend design quality// Only if plugin is enabled AND skill is available
Skill({ skill: "impeccable:critique" }) // Pass: diff content
Feed companion plugin findings as additional pluginFindings to check_review_verdict. The merged counts determine the final verdict:
Log status in review output:
impeccable: not installed (install with claude plugin marketplace add pbakaus/impeccable && claude plugin install impeccable@impeccable)impeccable: disabled via .exarchos.ymlimpeccable: active (N findings)Track the feature name and plan path as $FEATURE_NAME and $PLAN_PATH.
All transitions happen immediately without user confirmation. Phase
changes go through action: "transition" (the canonical HSM-guarded
surface that emits workflow.transition) — the runtime rejects
updates.phase on the update action. For each branch, call
mcp__plugin_exarchos_exarchos__exarchos_workflow with the listed
action/target first, then invoke the chained skill:
action: "transition", target: "synthesize"Skill({ skill: "exarchos:synthesize", args: "$FEATURE_NAME" })action: "update", updates.review.failedDetails set to the failed review details (non-phase mutation)action: "transition", target: "delegate"Skill({ skill: "exarchos:delegate", args: "--fixes $PLAN_PATH" })action: "transition", target: "blocked"Skill({ skill: "exarchos:ideate", args: "--redesign $FEATURE_NAME" })No pause for user input -- this is not a human checkpoint.
npx claudepluginhub lvlup-sw/exarchos/staged-reviewRuns a two-stage review pipeline (spec compliance then code quality) using multi-LLM orchestration. Supports scoping to staged changes, commits, working tree, or specific paths.
/code-reviewReviews a branch for PR readiness by spawning parallel Git agents to validate, commit, push, and create PRs, then synthesizing results. Supports incremental reviews and multi-worktree auto-discovery.
/reviewPerforms complete code review lifecycle on file or branch: self-review checklist, severity-classified issues, summary verdict, and next steps.
/review-branchReviews git branch holistically before merging: blast radius, conventions, security, spec compliance via parallel agents. Optional spec verification, auto-fix, GitHub PR comment.
/structured-reviewInitializes structured code review workflow: establishes repo/branch context, inventories scope, prepares evidence log, structures deliverables. Also supports feature review mode.
/autoOrchestrates full code review pipeline on feature branch: generates design intent, quality criteria, PR body, auto-reviews changes, applies fixes, produces artifacts in .review-artifacts/.