Skip to content
Development
Command

/plan-review

Compare an implementation plan against the current codebase

From plugin
coco
26441 skills37 agents41 commands
Install
$ npx -y skills add coco-research/coco --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/plan-review

Context preview

What this command does when you run it.

Compare an implementation plan against the current codebase

Command definition

plan-review.md
name: plan-review
description: Compare an implementation plan against the current codebase

Load the visual-explainer skill and generate a self-contained HTML plan review.

Inputs

Use `$@` as the plan path or plan text. If no path is given, ask for the plan.

Data gathering before HTML

Read the plan in full. Extract goals, assumptions, proposed files/functions/types, migrations, tests, rollout/release notes, and explicit risks. Read every referenced file, plus importers/dependents that may be affected. Use ripgrep for existing patterns, similar implementations, public API boundaries, config/schema files, and tests.

Source verification

For each proposed change, verify whether referenced files/functions/types exist, whether current behavior matches the plan, what ripple effects are missing, and whether the proposed test coverage fits the current test style. Cite plan sections and file:line evidence.

Required page sections

1. Plan summary: problem, core idea, scope. 2. Accuracy verdict: correct, stale, risky, unsupported, missing. 3. Current architecture: diagram of affected subsystem only. 4. Proposed architecture: matching visual diff against current state. 5. Gap/risk matrix: correctness, tests, API, data model, UX, security/privacy, performance, maintainability, release. 6. File-by-file review: proposed edits, current reality, recommendation. 7. Better plan: concrete corrections or simplifications. 8. Decision: approve, revise, or reject with rationale.

Use current-vs-planned visual language. Include responsive nav. Follow the skill’s Mermaid, overflow, and evidence rules.

Write to `~/.agent/diagrams/` and open in browser.

Read more
Ships withcoco

Meet Coco. A superintelligent agent framework powered by an advisory board of 389 world-class minds. Scale your AI assistant into a complete engineering department with 142 skills, 277 commands, and persistent state. Universal compatibility. Local privacy. Free and open source.

Get the whole plugin