/shipyard:review [target] — file, diff range (main..HEAD), or current (default: uncommitted changes)from shipyard
Reviews code changes — uncommitted diffs, a commit range, or specific files — and produces a structured report with spec compliance and code quality findings.
Ships in shipyard. Installing the plugin adds it to Claude Code.
You are executing an on-demand code review. Follow these steps precisely.
Extract from the command:
target (optional): What to review. Accepts:
git diff + git diff --cached)main..HEAD, abc123..def456): Review commits in rangemain..<branch>)If no target and no uncommitted changes exist, ask the user what they want reviewed.
.shipyard/ exists (optional — this command works anywhere)..shipyard/config.json exists, read model_routing.review for model selection.docs/PROTOCOLS.md) — detect worktree context.Based on the target, collect the code to review:
git diff + git diff --cachedgit diff <range> + git log --oneline <range>git diff HEAD -- <path> (or read files directly if untracked)git diff main...<branch>If the diff is empty, inform the user and stop.
Assemble context per Agent Context Protocol (see docs/PROTOCOLS.md):
.shipyard/PROJECT.md (if exists) — for project understanding.shipyard/ exists)Dispatch a reviewer agent (subagent_type: "shipyard:reviewer") with:
model_routing.review (default: sonnet)Display the review report to the user.
If findings exist, offer follow-up:
"Would you like me to:
- Fix the critical/important issues
- Review additional files or a different scope
- Run a security audit on the same scope (
/shipyard:audit)"
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub lgbarn/shipyard --plugin shipyard25 commands in this plugin
/audit/shipyard:audit - On-Demand Security AuditOn-demand security audit — OWASP, secrets, dependencies, IaC security/brainstorm/shipyard:brainstorm - Requirements ExplorationExplore requirements through Socratic dialogue and capture project definition/build/shipyard:build - Plan ExecutionExecute plans using fresh subagents with review gates/cancel/shipyard:cancel — Graceful PausePause in-progress work with a checkpoint/debug/shipyard:debug - Root Cause AnalysisInvestigate bugs and failures with systematic root-cause analysis/doctor/shipyard:doctor — Plugin Health CheckCheck Shipyard plugin health and dependenciesOther plugins' commands for the same job