/compound-engineering:ce-doc-review [mode:non-interactive] [path/to/document.{md,html}]from compound-engineering
Review requirements, plans, or specs with role-specific lenses. Use when the user wants to improve an existing planning document.
Ships in compound-engineering. 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.
Help the author finish a sound document they can use to carry out the agreed work. Find problems that would change that work's outcome or materially hinder execution, and resolve them within the authority already given. Judge the document by whether it guides correct work, not by how much detail it contains. Serious consequences warrant attention even when the defect is small. An adequate document needs no changes.
Reviewer personas supply evidence; the judgment is yours. Check their claims against the whole document, project facts, and settled decisions. Correct proven errors that prevent an existing decision from being carried out, within the edit authority and reviewer requirements the synthesis reference states. Return only worthwhile improvements still needing permission, consequential choices or essential information only the user can supply, and useful observations.
Done when: every selected reviewer has returned or is named as failed in Coverage, retained findings have a verified consequence for the agreed work, and every authorized correction assigned to Apply has been made and checked. Report that final state through the interactive approval or decision process, or return it as structured text in non-interactive mode.
Read references/modes.md before anything else. It defines how the mode is detected, the non-interactive argument contract, and the question-tool rules: match the host's blocking question tool already in the current tool list (never call a user-facing question tool to discover it), pre-load it at the top of the interactive flow if it is listed but unloaded, and fall back to a numbered list only when the harness genuinely lacks one.
Either way, a question that calls for a user decision calls the tool or falls back loudly. Narrating it as plain text is a bug.
Resolve <root> only in the no-path interactive branch, which discovers the most recent plan under <root>/plans/. Every other run reads the document at the path it was handed, including an absolute path outside any repository, without depending on an artifact root.
Resolve the artifact root <root> before composing any artifact path.
docs_root from <repo-root>/.rocketclaw/config.yaml only (<repo-root> = jj workspace root, run from the absolute target workspace root; see the JJ CLI reference). Do not read it from config.local.yaml. Unset -> <root> is docs, exactly as before..jj/ or .git/. Otherwise stop with an error naming docs_root and the value -- never fall back to docs.<root> as the sole artifact location: create it if absent, compose each path as <root>/<subdir> with this skill's own subdirectory, and never also read docs.Read references/document-intake.md now. It covers how the document is obtained in each mode, what to do and say when no document is found, and the classification signals.
Two of its rules apply to every later step.
Verify before any dispatch. Every resolved path must be readable on disk. If one is not, dispatch no personas: reviewers read from the filesystem, so they cannot reach a path that exists only on an unchecked-out branch (issue #925).
Classify by content, not readiness labels or file path. A unified artifact with only a Product Contract is unified-requirements; missing implementation sections are expected. Any implementation planning makes it unified-plan, including incomplete or blocked planning that needs review. Other artifacts use the legacy requirements / plan split.
HTML unified artifacts take the same routes. Every fix lands in the document's native format; never insert markdown into HTML. That reference covers ID-bearing items. Pass the classification to each persona in the {document_type} slot.
Skip dispatch only when the completed-review reuse condition in references/document-intake.md passes; continue with that evidence at Phase 3.
Read references/persona-selection.md for each conditional persona's activation signals and the announcement format. Two of those signals over-activate on plausible evidence: the sensitive-data bound on security-lens-reviewer, and the challenge-surface bar on adversarial-document-reviewer. Then read references/dispatch.md for payload variables, slicing, model tiering, and reviewer-failure handling. For a plan, references/depth.md then decides lite or full review and owns the lite pass.
The team is coherence-reviewer and feasibility-reviewer always, plus each activated conditional persona. Announce the team briefly before any dispatch, and stay quiet while reviewers run.
Dispatch generic reviewers through OpenCode's native subagent tool with bounded parallelism. This is an explicit delegation request from the skill; apply the separate permission, model-selection, and nesting checks in references/dispatch.md. Give each reviewer its references/personas/<reviewer-name>.md as that reference describes. Never dispatch a standalone agent by type or name.
An active-slot rejection is backpressure: wait for a slot before retrying. For a full review, if required reviewers remain undispatched after permitted recovery, collect and clean up any started cross-model tasks as references/cross-model-review.md describes, then stop as incomplete without synthesis, fixes, or a success handoff. Preserve collected outcomes and report which reviewers completed, failed, or could not run, and why.
Run this pass if any of the conditional judgment trio was activated: adversarial-document-reviewer, product-lens-reviewer, security-lens-reviewer. Follow references/cross-model-review.md, which defines the whole pass: confirming the host, the one target and route used for the whole document, the disclosure before anything leaves the machine, and how peers are launched, collected, and folded in.
The pass is additive: local synthesis can continue if it cannot run or fails, but Coverage must identify the incomplete cross-model coverage and any missing whole-document sweep. The checkout's cross_model_review_mode setting is checked first and can skip the pass with a named reason. Filter recipients only when CROSS_MODEL_PEERS is nonempty. Never silently change an explicit model or recipient.
Collect and classify every dispatched reviewer within the applicable deadline, including each cross-model <reviewer-name>-<provider> return. Then read references/synthesis-and-presentation.md. It defines synthesis, how each finding is routed by confidence and fix class, fix application, the non-interactive result format, and the handoff to the routing question. For cross-model agreement promotion, only a result with independence_verified: true qualifies.
Interactive mode only. Read references/walkthrough.md for the routing question, the per-finding walk-through, and the completion report. Read references/bulk-preview.md for the preview behind the walk-through's auto-resolve. Load neither before review evidence is complete, whether newly collected or validly reused, and a non-interactive run never loads them at all — it stops at the structured review result.
Read or pass only the persona prompts the current review selected, each to its own reviewer. The template and schema the dispatch payload fills:
@./references/subagent-template.md
@./references/findings-schema.json
references/bulk-preview.md (opens in a new tab)references/cross-model-review.md (opens in a new tab)references/decision-primer.md (opens in a new tab)references/depth.md (opens in a new tab)references/dispatch.md (opens in a new tab)references/document-intake.md (opens in a new tab)references/findings-schema.json (opens in a new tab)references/later-round-synthesis.md (opens in a new tab)references/modes.md (opens in a new tab)references/open-questions-defer.md (opens in a new tab)references/persona-selection.md (opens in a new tab)references/personas/adversarial-document-reviewer.md (opens in a new tab)references/personas/coherence-reviewer.md (opens in a new tab)references/personas/design-lens-reviewer.md (opens in a new tab)references/personas/feasibility-reviewer.md (opens in a new tab)references/personas/product-lens-reviewer.md (opens in a new tab)references/personas/scope-guardian-reviewer.md (opens in a new tab)references/personas/security-lens-reviewer.md (opens in a new tab)references/personas/whole-doc-reviewer.md (opens in a new tab)references/rendering-floor.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
38 skills in this plugin
/ce-babysit-prBabysits an open GitHub PR until merge-ready, first judging whether an old PR still belongs. Use when asked to watch a PR over time or update an old one — not for one-shot comment resolution or one CI failure. GitHub (incl. Enterprise) only./ce-bakeoffDevelop independent competing solutions to a defined brief, compare them, and synthesize a winning approach. Use when choosing well requires developing alternatives beyond their current form. Use ce-pov to judge developed material and ce-ideate to discover opportunities./ce-brainstormExplore vague or ambitious ideas into a right-sized requirements-only unified plan. Use when the user wants to brainstorm or scope what to build. Not for executing already-specified work. Use ce-pov for a verdict on adopting a named external technology.npx claudepluginhub ucirello/compound-engineering-plugin --plugin compound-engineering