validate_plan
Analyzes implementation plans with OpenAI Codex to check feasibility, dependencies, gaps, code-review risks, and Context7 best-practice compliance before coding.
Instructions
Validate an implementation plan using OpenAI Codex CLI with Context7 best practices integration.
This tool analyzes implementation plans for:
Technical feasibility (blockers, dependencies, architectural issues)
Code review suggestions (patterns, improvements, anti-patterns)
Implementation completeness (gaps, complexity estimation)
Best practices compliance (via Context7)
Primary execution uses Codex CLI (authenticated via browser OAuth). Falls back to OpenAI API when Pro quota is exhausted.
Parameters:
plan_path: Path to plan file (e.g., ./PLAN.md)
plan_content: Direct plan content as a string
project_path: Root directory for context (defaults to cwd)
apply_changes: If true, apply suggested changes (default: false)
require_confirmation: If apply_changes=true, require user confirmation (default: true)
At least one of plan_path or plan_content must be provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_path | No | Path to plan file (e.g., ./PLAN.md) | |
| plan_content | No | Direct plan content as a string | |
| project_path | No | Root directory for context (defaults to cwd) | |
| apply_changes | No | If true, apply suggested changes instead of suggest-only mode | |
| require_confirmation | No | If apply_changes=true, require user confirmation before each change |