review-plan
Diagnostically review an implementation plan against the current codebase. Focuses on problem framing, expected behavior, and architecture decisions. This skill is read-only — it does not edit files or rewrite the plan.
Best use case
review-plan is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Diagnostically review an implementation plan against the current codebase. Focuses on problem framing, expected behavior, and architecture decisions. This skill is read-only — it does not edit files or rewrite the plan.
Teams using review-plan should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/review-plan/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How review-plan Compares
| Feature / Agent | review-plan | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Diagnostically review an implementation plan against the current codebase. Focuses on problem framing, expected behavior, and architecture decisions. This skill is read-only — it does not edit files or rewrite the plan.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Review Plan
Review the plan passed in arguments against the current codebase.
This skill can be invoked directly by the user or indirectly from Claude Code hooks through `codex exec`.
Hook-driven invocations may reuse a Claude-session-specific Codex thread via `codex exec resume <thread_id>`.
When invoked from a hook, `$ARGUMENTS` should be treated as the current full plan.
If the same Codex thread includes a previous review of an older plan revision, you may use that thread context to understand what changed, but you must still review the current full plan.
This command is diagnostic only.
- Do not edit files.
- Do not rewrite the plan.
- Do not drift into implementation details unless they expose a missing architectural decision.
Start with repository exploration, then review the plan.
## Workflow
1. Treat `$ARGUMENTS` as the current full plan to review.
2. If argument is empty, warn and exit with no findings.
3. Explore the repository to find the code, configuration, docs, and conventions that the plan touches.
4. Review the plan using the priorities below.
5. Return exactly one JSON object matching the configured output schema.
## Review Priorities
Prioritize these questions in order:
1. Is the problem being solved clear?
2. Is the reason for solving it clear and justified?
3. Is the expected behavior or success criteria concrete?
4. Are the architecture decisions clear, coherent, and aligned with the current codebase?
5. Are boundaries, responsibilities, dependencies, risks, and non-goals explicit enough?
6. Are there unresolved decisions or ambiguities that would likely cause rework?
Focus more on `what to solve`, `why solve it`, and `architecture decisions` than on `how to implement it`.
Only flag implementation-detail gaps when they make the plan unsafe, contradictory, or impossible to execute confidently.
## Evidence Rules
- Ground every substantial finding in repository evidence when possible.
- Cite concrete files, symbols, directories, or established patterns.
- If the repo does not provide enough evidence, say that explicitly instead of guessing.
- Do not reject a plan for being different from the current codebase unless you can explain the concrete mismatch or migration cost.
- Ignore style nits, wording polish, and task-granularity preferences unless they obscure a decision.
- Do not limit the verdict to changes since the last review. Review the current full plan.
## Asking Questions
Do not start an interview by default.
Use `AskUserQuestion` only when:
- one critical ambiguity prevents any meaningful verdict even after repository exploration.
Otherwise, reflect missing information through findings or `reason`.
## Severity
- `P1`: Blocking issue. Resolve before implementation starts.
- `P2`: Important ambiguity or mismatch. Clarify before implementation.
- `P3`: Useful improvement or missing context. Not immediately blocking.
## Output Format
Return exactly one JSON object and nothing else.
Use this shape:
```json
{
"decision": "allow | deny",
"reason": "Short summary suitable for a hook permission message",
"findings": [
{
"severity": "P1 | P2 | P3",
"title": "Short finding title",
"why": "Why this matters",
"repoEvidence": "Concrete repo evidence or an explicit statement that the repo lacked evidence",
"suggestion": "What to clarify or change"
}
]
}
```
Decision rules:
- Return `"deny"` when any unresolved `P1` or `P2` finding exists.
- Return `"allow"` when there are no unresolved `P1` or `P2` findings.
- `P3` findings may coexist with `"allow"`.
- When there are no findings, return an empty `findings` array.
Keep `reason` concise and high-signal because hooks may surface it directly to the user.Related Skills
triage-pr-reviews
Triages unresolved PR review comments using gh-pr-reviews. Analyzes code context and classifies each comment as Agree / Partially Agree / Disagree. Walks through each comment one-by-one, asking the user what action to take. Use when the user wants to triage, review, or analyze unresolved PR comments.
plan-stacked-pr
大きな機能開発を stacked PR で進めるための計画を立案するスキル。Design doc やPlan から、各 PR の scope・What solves Why・Goal/Acceptance Criteria を定義した計画ドキュメント群を生成する。大きな機能を stacked PR で開発したい、feature 開発の PR 分割計画を立てたい、design doc から実装計画を作りたいときに使う。
github-pr-review-operation
GitHub Pull Request上でのレビュー操作を行うスキル。ghコマンドでPR情報取得、差分確認、コメント投稿・取得、インラインコメント、コメント返信を実行する。PRにコメントを投稿したい、差分を行番号付きで確認したい、レビューコメントに返信したいときに使用。
codex-review
Run automated code review using Codex CLI. Use when the user wants an automated code review of uncommitted changes, a specific commit, or changes against a base branch. This skill runs `codex review` non-interactively and returns structured feedback — it does not post comments on PRs or interact with GitHub.
typescript-performance
Comprehensive TypeScript performance analysis and optimization. Use when users report slow TypeScript compilation, slow editor experience, or want to investigate TypeScript performance issues. This skill provides diagnostic tools, trace analysis workflows, and optimization strategies. Key triggers include mentions of slow builds, type-checking delays, tsc performance, editor lag with TypeScript, or requests to analyze/improve TypeScript performance. Always prioritize data-driven analysis using --extendedDiagnostics, --generateTrace, and TS Server logs before making optimization recommendations.
watch-ci
CI を監視し、失敗したら自律的に修正してパスするまでループするスキル。push 後・PR 作成後・rebase 後に CI が通るか確認したいとき、CI が落ちていたら直してほしいとき、CI の結果を待ちたいときに使う。「CI 監視して」「CI が通るまで待って」「CI 直して」「push したので CI を見ておいて」など、CI の状態確認・自動修正が必要な場面では必ずこのスキルを呼び出すこと。
vue-style-guide
Vue を書くときは基本的に参考にしてください。 個人的に気に入っている ubgeeei 氏の Vue.js のスタイルガイドです。
vitess
Vitess best practices, query optimization, and connection troubleshooting for PlanetScale Vitess databases. Load when working with Vitess databases, sharding, VSchema configuration, keyspace management, or MySQL scaling issues.
terraform-test
Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.
terraform-style-guide
Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.
terraform-stacks
Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.
teach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.