plan
Plan a feature with clarification, research, and synthesis
Install
Copy this folder into your Claude Code project (needs Node.js):
curl -fsSL --create-dirs -o .claude/commands/plan.md https://raw.githubusercontent.com/tambo-ai/tambo/HEAD/.claude/commands/plan.mdOr install it for every project:
curl -fsSL --create-dirs -o ~/.claude/commands/plan.md https://raw.githubusercontent.com/tambo-ai/tambo/HEAD/.claude/commands/plan.mdFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗
--- description: Plan a feature with clarification, research, and synthesis --- **Step 1: Clarify Requirements** **Feature Request:** $ARGUMENTS Before I start planning, I want to make sure I understand what we're building. Let me ask some clarifying questions: [Ask natural questions like a developer would ask a product person to understand scope, requirements, constraints, user needs, edge cases, and any technical preferences or concerns. Focus on what's unclear or ambiguous about the request.] --- **Step 2: Confirm Understanding** [After user provides clarifications, summarize the feature requirements and get confirmation] --- **Step 3: Create Planning Todo List** Use TodoWrite to create a planning todo list: - Clarify requirements (mark as completed) - Initial codebase research - Parallel deep research (will break down into subtasks) - Synthesize plan document --- **Step 4: Initial Codebase Research** Mark "Initial codebase research" as in_progress, then launch researcher agent: ``` /task researcher "Analyze the codebase to understand: 1. What existing technologies/packages are in use (check package.json, imports, etc.) 2. Current architecture patterns 3. High-level list of files that will likely need modification 4. Key integration points Feature context: [confirmed requirements]" ``` After agent completes, mark task as completed and update todos with specific research areas discovered. --- **Step 5: Parallel Deep Research** Update todo list with 2-8 specific research tasks based on initial findings. Mark "Parallel deep research" as in_progress. Launch multiple research agents in parallel (in a SINGLE message with multiple Task calls): ``` /task researcher "Research how to implement [specific aspect] using [technology X]. Find: key APIs, best practices, implementation patterns, gotchas. Include documentation links." ``` ``` /task researcher "Deep dive into [specific part of codebase]. Analyze: current implementation, what needs to change, dependencies to consider." ``` [Launch 2-8 researchers based on complexity] --- **Step 5: Synthesize Plan** Launch planner agent with all research findings: ``` /task planner "Create implementation plan for: [feature name] Requirements: [confirmed requirements] Research findings: - Initial codebase analysis: [summary] - Technology research: [summary] - Codebase deep dives: [summary] Output to .plans/[feature-name].md (create the .plans/ directory if it doesn't exist)" ```