Review an entire plan as one cohesive implementation strategy. Use when the user asks to review a plan directory, a plan file, or a section as part of its owning plan; perform a deep investigation against `CLAUDE.md`, all repo rule files, the current codebase, relevant specs, and recent plan context, then edit the plan files directly to fix validated issues while leaving every `reviewed` frontmatter value unchanged.
Review the plan as an implementation contract. Treat the current codebase, git history, the
worktree, CLAUDE.md, .claude/rules/*.md, relevant spec docs, and all files in the target plan
as the evidence set. The goal is to review the entire plan in one go and improve it until it is
technically accurate, executable, cohesive, and complete.
This skill is for independent, adversarial review:
This skill has two execution modes. The mode is selected by inspecting
the prompt for the keyword envelope-only:
Mode A — plan-write (default, standalone usage):
envelope-onlycodex exec /review-planMode B — envelope-only (dual-source wrapper usage):
envelope-only.claude/skills/dual-tpr/findings-schema.json.claude/skills/dual-tpr/envelope-format.md for the envelope contractExecution mode dispatch: (same as review-work)
envelope-onlyAccept any of these:
plans/iter-rc-contract/plans/iter-rc-contract/index.mdplans/iter-rc-contract/00-overview.mdplans/iter-rc-contract/section-02-elem-dec-fn.mdsection-0202elem_dec_fniter-rc-contractiter rc contractIf the user gives a specific section file or section id, treat it as an entry point to the owning plan. The review still covers the full plan directory, not only that section.
Resolve the target in this order:
plans/*/index.md, plans/*/00-overview.md, and plans/*/section-*.md.git diff --name-only HEAD -- plans/git diff --name-only --cached -- plans/git diff --name-only -- plans/plans/The scope is the whole owning plan:
index.md00-overview.mdsection-*.md file in the plan directoryDo not perform a section-only review with this skill.
Build the review packet mechanically before forming conclusions.
Read the full target plan:
index.md00-overview.mdsection-*.md filesRecord:
Third Party Review Findings blocksCross-check the plan against the current repository state.
Collect whichever apply:
git status --shortFrom the plan, identify:
Read the full referenced files when they are central to the plan's claims, not only search hits. Expand into neighboring files when needed to verify invariants and downstream impact.
The review is not complete until you have checked the plan against the repository standards.
Always read:
CLAUDE.md.claude/rules/tests.md.claude/rules/compiler.md.claude/rules/impl-hygiene.md.claude/rules/roadmap.mdAlso read every file under .claude/rules/*.md before finalizing conclusions. Prioritize rules
that match the plan's touched domains first, but the final review must account for the full rule
set, marking non-applicable rules as such in your own reasoning rather than silently skipping them.
Gather the surrounding context needed to verify the plan's claims and detect drift:
Use this context to answer:
Third Party Review Findingsreviewed frontmatter value exactly as found. Whole-plan review does
not flip, normalize, or rewrite reviewed, even when a section needed corrections.This is not a plan skim.
When a plan touches ARC, AOT, lowering, runtime, tests, spec, or roadmap-owned areas, assume the failure surface is wider than a single section and expand the review accordingly.
Every review must explicitly test the plan against these expectations from CLAUDE.md and the