Plan Review
Turn a plan markdown file into an interactive HTML page for critique and feedback, instead of presenting the plan as chat text.
When to use
- Automatically, per CLAUDE.md Guardrail #9, before a non-trivial plan is presented for approval.
- Explicitly via
/plan-review <path-to-plan.md>.
Steps
Critique the plan. Dispatch two
Agentcalls in parallel against the plan file:trevelyan: "Critique this implementation PLAN — not code, no code exists yet. Read the plan below and identify: assumptions it makes, failure modes it doesn't address, scope creep or ambiguity, and whether the phased/task breakdown makes sense. Be direct and specific, referencing exact section headings where relevant.\n\n"m: "Sanity-check this implementation plan's architecture and phasing. Identify: missing steps, risky sequencing, unaddressed edge cases, and whether the file/component breakdown is sound. Be specific and reference exact section headings where relevant.\n\n"
If either agent call fails, proceed with whatever critique is available — do not block on it.
Write critique to temp files. Write each agent's response text to its own file (e.g.
/tmp/plan-review-trevelyan.txt,/tmp/plan-review-m.txt) rather than passing it as a shell argument — critique text is long and can contain quotes/newlines that break shell escaping.Generate the HTML. Run:
python3 <this skill's directory>/scripts/build_review.py <plan_path> --trevelyan-file /tmp/plan-review-trevelyan.txt --m-file /tmp/plan-review-m.txtThis prints the generated file path (e.g.
/tmp/claude-plan-review-<slug>-<timestamp>.html).Open it. Run
open <printed path>.Wait for feedback. Tell the user the page is open, ask them to review the Goldeneye critique, leave feedback per-section and/or generally, choose Approve/Request changes, click "Copy Feedback", and paste the result back into the conversation. Do not proceed with the plan until they respond.
Incorporate feedback. Once the user pastes their feedback Markdown, treat it like any other plan-approval response per Guardrail #2 — revise and re-present if changes were requested, proceed if approved.