Analyze the codebase and create a comprehensive technical plan for implementing the feature.
/plugin marketplace add adeonir/claude-code-plugins/plugin install design-builder@claude-code-extrasAnalyze the codebase and create a comprehensive technical plan for implementing the feature.
[ID] - Feature ID (optional if branch is associated)[additional instructions] - Extra context for research or planningArguments received: $ARGUMENTS
If ID provided (numeric or full like 002-add-2fa):
If no ID:
.specs/*/spec.md for matching branch: in frontmatterRead .specs/{ID}-{feature}/spec.md
If file doesn't exist, inform user to run /init first.
Search for [NEEDS CLARIFICATION] in the spec.
If found:
/spec-driven:clarify firstDetermine if web research is needed by checking:
/plan commandIf research is needed:
docs/research/{topic}.md already exists for the technologyweb-researcher agentThe researcher will create docs/research/{topic}.md with findings (shared across features).
Skip research if:
Invoke the code-explorer agent to analyze the codebase:
Ask it to explore:
You may launch 2-3 explorer agents in parallel with different focuses.
Read the files identified as essential by the explorers.
Consolidate Critical Files:
Invoke the code-architect agent with:
The architect will create .specs/{ID}-{feature}/plan.md
Include a Research Summary section if external research was used:
## Research Summary
> From [docs/research/totp-authentication.md]
Key points:
- {relevant findings}
Update spec.md frontmatter:
status: readyInform the user:
docs/research/{topic}.md.specs/{ID}-{feature}/plan.md/spec-driven:tasks to generate task list/spec-driven:init/spec-driven:init first/spec-driven:clarify first