Structured brainstorming for technical solutions
Structured brainstorming for technical solutions with interactive prompts, templates, and auto-generated documentation. Use when planning new features or complex technical problems.
/plugin marketplace add jpoutrin/product-forge/plugin install product-design@product-forge-marketplace<problem-statement>Category: Documentation
proc brainstorm-solution [brief] [--constraints "constraints"] [--docs "doc1,doc2"] [--template template-name] [--help]
[brief]: Brief description of the feature/problem to brainstorm (if not provided, will be prompted)--constraints: Any existing constraints or requirements--docs: Comma-separated list of related documentation links--template: Use a predefined template (api-integration, data-migration, performance-optimization)--help: Show this help message# Full command with all options
proc brainstorm-solution --brief "Add capacity planning to training scheduler" --constraints "Must integrate with existing booking system" --docs "docs/api.md,specs/booking.md"
# Simplified - will prompt for missing info
proc brainstorm-solution "Add capacity planning to training scheduler"
# Using a template
proc brainstorm-solution --template api-integration --brief "Integrate with payment provider"
# Show help
proc brainstorm-solution --help
When this command is run, Claude Code should:
If --help is provided, display this documentation and exit.
a. If brief not provided as argument, prompt for it:
š§ Technical Brainstorming Session
What feature or problem would you like to brainstorm?
>
b. If constraints not provided, ask:
Any constraints or requirements? (Press Enter to skip)
>
c. If docs not provided, ask:
Related documentation? (comma-separated paths, Press Enter to skip)
>
Create directory structure:
docs/tech-brainstorm/YYYY-MM-DD-{feature-slug}/
Where feature-slug is derived from the brief (e.g., "capacity-planning")
Present the interactive menu:
š Brainstorming: {brief}
Available sections:
[1] Data Models & Relationships (primary)
[2] System Components & Interactions (primary)
[3] API Design & Endpoints (secondary)
[4] Technology Choices & Trade-offs (secondary)
[5] Security Considerations
[6] Scalability & Performance
[7] Integration Points
[8] Other Considerations
Commands:
- Enter number to work on section
- 'jump N' to switch sections
- 'preview' to see current progress
- 'suggest' for AI suggestions
- 'diagram' to create visualizations
- 'done' to finish session
Current section: [None]
>
For each section, provide intelligent prompts based on the feature type and template:
When user types 'suggest', provide contextual suggestions:
When user types 'diagram', offer options:
What type of diagram?
[1] Entity Relationship (Mermaid ERD)
[2] Component/Architecture (Mermaid flowchart)
[3] Sequence Diagram (Mermaid sequence)
[4] State Machine (Mermaid stateDiagram)
>
Generate and save to diagrams.md in the session folder.
After each section update, save the content to the appropriate file with proper markdown formatting.
When user types 'done':
a. Generate session-summary.md with:
# Brainstorming Summary: {brief}
Date: {date}
Duration: {elapsed_time}
## Key Decisions
- Decision 1
- Decision 2
## Open Questions
- [ ] Question 1
- [ ] Question 2
## Key Models
### Entity: User
- id: uuid
- name: string
- ...
## Architecture Overview
{Include main diagram if created}
## Next Steps
1. Research {specific_tech}
2. Prototype {component}
3. Create tech-spec document
## Section Completion
- [x] Data Models & Relationships
- [x] System Components & Interactions
- [ ] API Design & Endpoints
- [ ] Technology Choices & Trade-offs
b. Display summary and location:
ā
Brainstorming session complete!
š Files created in: docs/tech-brainstorm/YYYY-MM-DD-{feature-slug}/
- data-models.md
- system-components.md
- session-summary.md
- diagrams.md
šÆ Next: Use 'proc create-tech-spec' to formalize this into a technical specification
If --template is provided, pre-populate sections with relevant prompts and common patterns: