/compound-engineering:ce-code-review [mode:agent] [apply:local] [blank to review current branch, or provide PR link]from compound-engineering
Review a named diff or PR for bugs, regressions, tests, and standards. Use when asked to review code or when a shipping skill needs a review receipt. Use when asked to apply this review's findings locally. Use ce-resolve-pr-feedback for feedback already left on a PR.
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 caller deliver a correct change within the agreed scope. Find defects and improvements whose consequences justify action; judge the code against its intended behavior and project requirements, not a preferred rewrite. Serious defects remain important even when the diff is small. An adequate change needs no findings.
Done when: required review and validation are complete, retained findings are supported by the source, and the caller has a clear result with any remaining coverage limits. Apply only when the invocation authorizes it, under the rules below.
Resolve the artifact root <root> before composing any artifact path.
docs_root from <repo-root>/.rocketclaw/config.yaml only (<repo-root> = the absolute jj workspace root). 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.Follow these steps in order; the references supply the detail but never change the order. Read each reference when you enter the step whose own work it governs; a read made before that step does not satisfy it, and a reference you only hand to a leaf is not one you read.
references/modes-and-output.md first. It settles arguments, conflicts, the quick-review short-circuit, the Review depth gate, and what this invocation returns.references/scope.md and resolve the reviewed diff, the scope mode, and the deterministic scope signals. Then apply that Review depth gate before Stage 2. Lite ends the run without the later spine references; lite and focused each run from this context by references/depth-paths.md.references/intent-and-plan.md, write the intent summary every reviewer receives, and discover the plan Stage 6 verifies requirements against.references/persona-catalog.md and references/select-and-route.md, then select the reviewers the change's risks call for, find the applicable standards files, and decide how the adversarial review will run.references/cross-model-review.md before local persona dispatch. Invocation plus the required transfer disclosure authorizes the eligible recipient within host and checkout policy; it does not grant model override, delegation permission, or nesting capacity. Do not ask for a second approval solely for this authorized transfer. A started peer reserves the adversarial lens; the owning recovery reference determines if the local reviewer may later cover it.references/dispatch-reviewers.md. Dispatch the selected OpenCode-native reviewer subagents as one concurrent batch, sized to actual available capacity, with bounded native collection. A valid compact return or an observed failure is terminal; a launch acknowledgement or progress update is not. If launches cannot be collected reliably, stop and release owned launches, including the peer, before taking the failure path. Do not detach a shell dispatcher or poll status to await a reviewer.references/finish-input.md defines and stay in that reference: it owns the validator launch and the run-artifact list. Dispatch in sequence the two leaf subagents it names, each seeded with its own finish reference, which the leaves read from disk and you do not open: a merge leaf (references/finish-merge.md) that folds in the peer's findings once and merges from the run dir, then, after you launch and collect the validator it selected, a report leaf (references/finish-report.md) that renders the report. Neither leaf launches a subagent; you launch every one. Emit the report leaf's return verbatim as this skill's response. Never synthesize directly from raw reviewer artifacts, and never merge or render in the dispatch context.ce-code-review invocation produces findings and does not apply them. Entering the apply stage requires apply:local, or an explicit user request in the invoking prompt to apply or fix this review's findings; a deprecated mode:autofix token is neither. mode:agent never mutates the tree, even when nested inside a workflow that later applies findings. Never push, open PRs, or file tickets in any mode.AskUserQuestion, request_user_input, ask_user, ask_question, or other blocking question tools. Infer intent, plan, and scope from explicit tokens, JJ state, PR metadata, and conversation. Note uncertainty in Coverage or the verdict — do not stop to ask.base: or no target.references/action-class-rubric.md (opens in a new tab)references/cross-model-recovery.md (opens in a new tab)references/cross-model-review.md (opens in a new tab)references/depth-paths.md (opens in a new tab)references/diff-scope.md (opens in a new tab)references/dispatch-reviewers.md (opens in a new tab)references/findings-schema.json (opens in a new tab)references/finish-input.md (opens in a new tab)references/finish-merge.md (opens in a new tab)references/finish-report.md (opens in a new tab)references/intent-and-plan.md (opens in a new tab)references/modes-and-output.md (opens in a new tab)references/persona-catalog.md (opens in a new tab)references/personas/adversarial-reviewer.md (opens in a new tab)references/personas/agent-native-reviewer.md (opens in a new tab)references/personas/api-contract-reviewer.md (opens in a new tab)references/personas/correctness-reviewer.md (opens in a new tab)references/personas/data-migration-reviewer.md (opens in a new tab)references/personas/deployment-verification-agent.md (opens in a new tab)references/personas/frontend-races-reviewer.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
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./ce-commitCommit local Jujutsu changes with a clear, value-communicating message. Use when the user asks to commit or save working-copy changes with a repository-appropriate message./ce-commit-push-prCommit, push, and open a PR. Use when asked to ship/open a PR, or for PR-description-only flows like writing, rewriting, or describing a PR body./ce-compoundCapture a solved problem's lesson in its cheapest durable form, a test or lint rule, a coding standard, or a repo learning, or refresh existing learnings against the codebase. Use when verified work corrected a wrong belief about how something behaves, such as a failed approach, a real defect a review caught, or a wrong assumption or document, or when auditing stale, overlapping, or drifted learnings. Do not auto-invoke it for work that went as first planned.Other plugins' skills for the same job
npx claudepluginhub ucirello/compound-engineering-plugin --plugin compound-engineering