بنقرة واحدة
write-plan
Create an implementation plan for a multi-step task. Optionally review with external LLMs.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create an implementation plan for a multi-step task. Optionally review with external LLMs.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Autonomously create a plan, consult Gemini and Codex for improvements, apply feedback, and implement. No user interaction - uses best judgment throughout.
Turn an idea into a concrete design through structured dialogue.
Gemini and Codex collaboratively brainstorm solutions, building on each other's ideas across rounds. Agent synthesizes the best ideas into a plan.
Claude brainstorms with an opponent LLM (Gemini or Codex) in alternating turns, building on each other's ideas. Synthesizes the best ideas into a plan.
Commit the staged changes. If there are no staged changes, stage all changes first.
Consult Gemini and Codex for high-level planning, synthesize into a detailed plan, implement, then get final review. No user interaction.
| name | write-plan |
| description | Create an implementation plan for a multi-step task. Optionally review with external LLMs. |
| disable-model-invocation | true |
Create an implementation plan for a multi-step task.
User request: $ARGUMENTS
Check arguments for optional review flags:
--review → review with both Gemini and Codex (parallel)--gemini → review with Gemini only--codex → review with Codex only--claude → review with a Claude subagentStrip flags from arguments to get the task description.
Start by understanding what exists and what the user wants.
AskUserQuestion to ask clarifying questions one at a timeRules for questions:
AskUserQuestion with 2-4 options whenever possibleCreate a plan document with bite-sized tasks. Each task should be a small, focused unit of work.
# [Feature Name] Implementation Plan
**Goal:** [One sentence describing what this builds]
**Approach:** [2-3 sentences about the approach]
---
### Task 1: [Short description]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py` (lines 123-145)
**Steps:**
1. [Specific action]
2. [Specific action]
**Code:**
```language
// Include actual code, not placeholders like "add validation"
```
---
### Task 2: [Short description]
...
Save the plan:
history/<date>-plan-<feature-name>.md (e.g. history/2026-02-15-plan-user-auth.md)Skip this phase if no review flag was provided.
Based on the flag, get external feedback on the plan:
--gemini: Gemini onlyCall mcp__consult-llm__consult_llm with:
model: "gemini"prompt: Review prompt belowfiles: Array including the plan file and relevant source files--codex: Codex onlyCall mcp__consult-llm__consult_llm with:
model: "openai"prompt: Review prompt belowfiles: Array including the plan file and relevant source files--claude: Claude subagentUse the Task tool with subagent_type: "general-purpose" and a prompt like:
Review this implementation plan. The plan is in: [plan file path]
Consider:
- Are the tasks correctly ordered and sized?
- Are there any missing steps or edge cases?
- Are the file paths and code snippets accurate?
- Any architectural concerns or better approaches?
Read the plan file and relevant source files, then provide specific, actionable feedback. Be concise.
--review: Both Gemini and Codex in parallelSpawn BOTH as parallel subagents (Agent tool, subagent_type: "general-purpose", model: "sonnet"). NEVER run subagents in the background — always run them in the foreground so you can process their results immediately. Each subagent prompt must include the full review prompt and file list so it can make the MCP call independently.
Gemini subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "gemini", prompt: the review prompt, files: [array including the plan file and relevant source files]Codex subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "openai", prompt: the review prompt, files: [array including the plan file and relevant source files]Review prompt:
Review this implementation plan. Consider:
- Are the tasks correctly ordered and sized?
- Are there any missing steps or edge cases?
- Are the file paths and code snippets accurate?
- Any architectural concerns or better approaches?
Provide specific, actionable feedback. Be concise.
After receiving feedback, present it to the user and ask if they want to revise the plan.