Agent skill
review-plan
Review an implementation plan: launches an internal plan review and `/peer-review` in parallel and returns combined findings. Use when the user asks to "review my plan", "review this plan", "check my plan", "critique my plan", or wants plan feedback before implementation.
Install this agent skill to your Project
npx add-skill https://github.com/tobihagemann/turbo/tree/main/skills/review-plan
SKILL.md
Review Plan
Run two AI plan reviews in parallel and return combined findings.
Step 1: Identify the Plan
Determine the plan to review:
- If plan text is in conversation context, use it
- If a plan file path was provided, read the file
Step 2: Run Two Reviews in Parallel
Launch two Agent tool calls in a single message so they run concurrently (model: "opus", do not set run_in_background):
Internal Plan Review
Spawn a subagent with the full plan text and instruct it to:
- Read project context (CLAUDE.md and files mentioned in the plan) to understand the codebase
- Apply the plan determination criteria below
- Return findings in the output format below
Run /peer-review Skill
Spawn a subagent whose prompt includes the full plan text and the following review prompt, and instructs it to invoke /peer-review via the Skill tool:
<task>
Review the following implementation plan for issues that would cause an implementer to build the wrong thing or get stuck. Challenge the design direction: question whether the chosen approach is the simplest safe option and identify assumptions it depends on.
</task>
<dig_deeper_nudge>
After surface-level issues, check for failure modes under stress: partial failure, race conditions, rollback safety, stale state, and data loss.
</dig_deeper_nudge>
<structured_output_contract>
For each issue, state: (1) the problem, (2) where in the plan it occurs, (3) impact on implementation, (4) a suggested fix, and (5) priority: P0 (fundamentally flawed), P1 (significant gap), P2 (moderate issue), P3 (minor improvement).
Ignore stylistic preferences and minor wording. If no issues are found, state that the plan looks sound.
</structured_output_contract>
Step 3: Aggregate Combined Findings
Wait for both agents to complete. Aggregate their findings with attribution (reviewer: "internal" or "peer").
Check your task list for remaining tasks and proceed.
Plan Determination Criteria
Flag an issue only when ALL of these hold:
- It would cause an implementer to build the wrong thing or get stuck
- The issue is discrete and actionable (not a vague concern or general suggestion)
- The author would likely fix the issue if made aware of it
- The issue is clearly not an intentional design choice, OR it challenges a design choice with evidence of concrete failure modes or a simpler alternative
What to Review
- Completeness — Missing steps, undefined behavior, unaddressed requirements or edge cases
- Feasibility — Technically unsound approaches, ignored constraints, missing dependencies
- Scope — Requirements addressed without creep. No missing requirements from the original ask
- Ordering — Step dependency issues, missing prerequisites, circular dependencies
- Buildability — Steps specific enough to execute without getting stuck. No logical gaps between steps
- Concreteness — Every Implementation Step references at least one concrete anchor: a
file_path:line_number, a named function, a named symbol, or a named file to create. Vague directives are buildability gaps. Flag any step that contains only the following without a concrete anchor:- "add validation", "handle edge cases", "as needed", "etc.", "and so on"
- "similar to step N" without restating the anchor (a back-reference is fine if step N already has a concrete file/symbol the reader can follow)
- "mirror the existing pattern" without naming the pattern's location
- "update related files", "wire it up" without naming the files or wiring point
- Placeholder language: "TBD", "TODO", "fill in later"
- Verification — The plan has a verification section (the
## Verificationblock in the/draft-plantemplate) that describes how to confirm the change works. Flag if missing, or if it is vague ("run tests" without naming which tests or what to look for) - Pattern Alignment — Proposed approach follows existing codebase patterns where applicable. Deviations from established patterns are justified
- Design Direction — Whether the chosen approach is the simplest safe option. Challenge assumptions the plan depends on and flag when a different approach would be safer or simpler
- Failure Modes — How the design handles partial failure, race conditions, stale state, rollback, data loss, and degraded dependencies
What to Ignore
- Wording, stylistic, or cosmetic preferences that don't affect buildability
- Alternative approaches without evidence of concrete advantages over the chosen one
- Suggestions that add complexity without clear implementation value
Priority Levels
- P0 — Plan is fundamentally flawed. Wrong approach or missing core requirement
- P1 — Significant gap that will likely cause implementation problems
- P2 — Moderate issue that should be addressed before implementation
- P3 — Minor improvement
Output Format
Return findings as a numbered list. For each finding:
### [P<N>] <title (imperative, ≤80 chars)>
**Section:** <plan section or step where the issue occurs>
**Reviewer:** <internal | peer>
<one paragraph explaining why this is a problem, what implementation impact it has, and a suggested fix>
After all findings, add:
## Overall Verdict
**Readiness:** <ready | needs revision>
<1-3 sentence assessment>
If there are no qualifying findings, state that the plan looks ready for implementation and explain briefly.
Rules
- If any reviewer is unavailable or returns malformed output, proceed with findings from the remaining reviewer.
- Present findings grouped by priority, then by reviewer.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
review-api-usage
Check API, library, and framework usage in code against official documentation and installed skill knowledge. Flags deprecated APIs, incorrect method signatures, wrong parameter types, version-incompatible patterns, and best-practice violations. Use when the user asks to "review API usage", "check API usage", "verify against docs", "check library usage", "validate API calls", "check against documentation", or "check for deprecated APIs".
resolve-pr-comments
Evaluate, fix, answer, and reply to GitHub pull request review comments. Handles both change requests (fix or skip) and reviewer questions (explain using reasoning recalled from past Claude Code transcripts). Use when the user asks to "resolve PR comments", "fix review comments", "address PR feedback", "handle review comments", "address review feedback", "respond to PR comments", "answer review questions", or "address code review".
consult-codex
Multi-turn consultation with Codex CLI for second opinions, brainstorming, or collaborative problem-solving. Use when the user asks to "consult codex", "ask codex", "get codex's opinion", "brainstorm with codex", "discuss with codex", or "chat with codex".
review-tooling
Detect what dev tooling infrastructure a project has and flag gaps across linters, formatters, pre-commit hooks, test runners, and CI/CD pipelines. Returns structured findings without applying changes. Use when the user asks to "review tooling", "check project tooling", "what tooling is missing", "review dev infrastructure", or "tooling audit".
create-changelog
Create a CHANGELOG.md following keepachangelog.com conventions with version history backfilled from GitHub releases or git tags. Use when the user asks to "create a changelog", "add a changelog", "initialize changelog", "start a changelog", "set up changelog", "generate changelog", or "backfill changelog".
update-changelog
Update the Unreleased section of CHANGELOG.md based on current changes. No-op if CHANGELOG.md does not exist. Use when the user asks to "update changelog", "add to changelog", "update the changelog", "changelog entry", "add changelog entry", or "log this change".
Didn't find tool you were looking for?