Interactive multimodal wizard for comprehensive requirements gathering and spec generation
Interactive multimodal wizard for comprehensive requirements gathering and spec generation. Use when starting new projects to create architecture docs, ADRs, and roadmaps from files, images, and requirements.
/plugin marketplace add vanman2024/dev-lifecycle-marketplace/plugin install planning@dev-lifecycle-marketplace--auto-continuešØ EXECUTION NOTICE FOR CLAUDE
When you invoke this command via SlashCommand, the system returns THESE INSTRUCTIONS below.
YOU are the executor. This is NOT an autonomous subprocess.
Immediately after SlashCommand returns, start executing Phase 0, then Phase 1, etc.
See @CLAUDE.md section "SlashCommand Execution - YOU Are The Executor" for detailed explanation.
Arguments: $ARGUMENTS
Goal: Conduct interactive wizard to gather requirements, process multimodal inputs, generate architecture docs, and create feature specs ready for implementation.
Core Principles:
Phase 1: Welcome and Initial Context Goal: Gather project description and multimodal inputs
Actions:
.wizard/initial-request.mdPhase 2: Process Multimodal Inputs (if provided) Goal: Extract requirements from uploaded materials
Actions:
Task(description="Process uploaded inputs", subagent_type="planning:requirements-processor", prompt="You are the requirements-processor agent. Process all uploaded files, images, and URLs provided by the user.
Inputs to process: $USER_PROVIDED_FILES_AND_URLS
Extract:
Return structured JSON with:
Deliverable: Complete extraction report in JSON format")
.wizard/extracted-requirements.jsonPhase 3: Structured Q&A Rounds Goal: Gather additional context through targeted questions
Actions:
docs/requirements/YYYY-MM-DD-project/02-wizard-qa.mdPhase 4: Generate Architecture (BATCHED PARALLEL) Goal: Create architecture docs using batched parallel agents for speed and UI stability
ā ļø CONSTRAINT: Maximum 10-12 agents per batch (UI breaks with >10)
Actions: Batch 1 (8 agents): Launch architecture + ADRs + roadmap + page specs
Launch IN PARALLEL (one message, multiple Task calls): Task 1: Generate README.md + backend.md (system overview, Claude Agent SDK, MCP) Task 2: Generate data.md + ai.md (Supabase schema, AI architecture) Task 3: Generate security.md + integrations.md (auth, API keys, external services) Task 4: Generate infrastructure.md + frontend.md (deployment, component patterns) Task 5: Generate application-pages.md (interactive app pages: dashboard, settings, chat, admin) Task 6: Generate website-pages.md (static/marketing pages: landing, pricing, about, blog) Task 7: Generate ADRs (decision-documenter agent) Task 8: Generate ROADMAP.md (roadmap-planner agent)
Each agent receives same context:
Agents work simultaneously (8 agents, UI-safe batch size)
Verify all 10 architecture files + ADRs + roadmap created
Update todos
Phase 4.5: Validate Architecture (CTO Review) Goal: Multi-tier validation of generated architecture
Actions:
Launch validator agents IN PARALLEL:
Task 1: Technical validator (checks completeness, diagrams, security) Task 2: Cost validator (verifies budget constraints, estimates costs) Task 3: Timeline validator (confirms 1-3 month aggressive timeline feasible)
Each validator outputs: validation-report-[type].md
Launch CTO-level review agent:
Task: CTO reviewer reads all architecture + validation reports
If critical issues found: Display and ask user to proceed or regenerate
Update todos
Phase 5: Final Architecture Validation Goal: Validate architecture planning is complete and ready for spec generation
Actions:
Launch CTO reviewer for architecture approval:
Task: CTO reviewer reads architecture planning package
CTO validates:
Output: docs/FINAL-APPROVAL.md
If REJECTED: Display issues and ask user to regenerate architecture
If APPROVED_WITH_CHANGES: Display warnings and ask user to proceed or fix
If APPROVED: Continue to finalization
Update todos
Phase 6: Finalization Goal: Complete wizard and prepare for spec generation
Actions:
Update ROADMAP.md with final approval status
Create summary report:
Save summary to .wizard/completion-summary.md
Mark all todos complete
Phase 7: Summary Goal: Display results and next steps
Actions:
Display completion message:
ā
Architecture Planning Complete!
Created Architecture Documentation:
- docs/requirements/ (wizard Q&A inputs)
- docs/architecture/README.md (system overview)
- docs/architecture/backend.md (backend architecture)
- docs/architecture/frontend.md (frontend architecture)
- docs/architecture/data.md (database schema)
- docs/architecture/ai.md (AI stack architecture)
- docs/architecture/infrastructure.md (infrastructure components)
- docs/architecture/security.md (security architecture)
- docs/architecture/integrations.md (external integrations)
- docs/adr/*.md (architectural decision records)
- docs/ROADMAP.md (project roadmap)
Next Steps:
1. Review docs/FINAL-APPROVAL.md for validation results
2. Run /planning:extract-config to create project.json and features.json
3. Run /planning:init-project to generate feature specs
4. Run /foundation:generate-infrastructure-specs for infrastructure specs
5. Begin implementation following the specs
Update todos to completed