Skip to content

/brainstorm

Start an interactive brainstorming session to refine rough ideas into fully-formed designs through collaborative dialogue.

The /brainstorm command uses a proven one-question-at-a-time methodology to help you design features, architectures, and solutions. It guides you through thoughtful decision-making via sequential questions and validates designs incrementally.

Terminal window
/brainstorm [topic or feature to design]
  • topic: The topic, feature, or problem you want to brainstorm about

The brainstorming process follows three phases:

Goal: Clarify requirements through sequential questioning

The assistant asks one question at a time and waits for your response before proceeding. Questions are typically multiple-choice to reduce cognitive load.

Example interaction:

Claude: "What type of authentication should we support?
a) Username/password only
b) OAuth providers (Google, GitHub)
c) Both options
d) Magic link (passwordless)"
You: "b"
Claude: "Which OAuth providers should we integrate?
a) Google only
b) GitHub only
c) Both Google and GitHub
d) Let me specify others..."

Goal: Present alternatives with clear trade-offs

The assistant presents 2-3 approaches with their pros and cons, leading with the recommended option:

## Approach 1: JWT-based (Recommended)
- Stateless, highly scalable
- Works well with microservices
- Cons: Can't revoke instantly
## Approach 2: Session-based
- Easy revocation control
- Simpler mental model
- Cons: Requires session store (Redis/DB)
Which approach aligns better with your goals?

Goal: Present validated design incrementally

The design is presented in digestible 200-300 word sections:

  1. Architecture overview
  2. Component breakdown
  3. Data flow
  4. Error handling
  5. Testing considerations

You validate each section before moving to the next.

Features are aggressively pruned:

  • Questions every “nice to have”
  • Starts with minimal viable design
  • “We might need this later” means remove it

Sequential questioning produces better results:

  • Gives you time to think deeply
  • Prevents overwhelming with choices
  • Creates natural conversation flow

Structured options when possible:

  • Reduces cognitive load
  • Surfaces the assistant’s understanding
  • Makes decisions concrete

After the design is validated, a design document is created:

# Design: [Feature Name]
Date: [YYYY-MM-DD]
## Summary
[2-3 sentence overview]
## Architecture
[Architecture decisions made]
## Components
[Component breakdown with responsibilities]
## Data Flow
[How data moves through the system]
## Error Handling
[Error scenarios and handling strategies]
## Testing Strategy
[How the feature will be tested]
## Open Questions
[Any remaining unknowns]
FlagDescriptionExample
--mode=[mode]Use specific behavioral mode--mode=brainstorm
--depth=[1-5]Exploration depth level--depth=4
--format=[fmt]Output format (concise/detailed)--format=detailed
--save=[path]Save design document to file--save=docs/design.md
--quickShorter session, fewer questions--quick
--comprehensiveLonger session, thorough exploration--comprehensive
LevelQuestionsExploration
12-3Quick validation only
24-5Standard session
36-8Thorough exploration
48-10Comprehensive
510+Exhaustive, all angles
Terminal window
/brainstorm --quick "simple file upload feature"

Runs a short session (2-3 questions) to design a straightforward file upload.

Terminal window
/brainstorm --comprehensive "authentication system design"

Runs an extensive session (10+ questions) exploring architecture thoroughly.

Terminal window
/brainstorm --depth=4 "microservices architecture"

Runs a comprehensive session with 8-10 questions exploring the microservices approach.

Terminal window
/brainstorm --save=docs/payment-design.md "payment integration"

Creates a design document and saves it to the specified file.

Terminal window
/brainstorm --mode=deep-research "distributed caching strategy"

Uses deep-research mode for thorough analysis with citations.

  1. Design the feature:

    Terminal window
    /brainstorm "OAuth authentication"
  2. Create detailed implementation plan:

    Terminal window
    /plan --detailed "implement OAuth from design doc"
  3. Execute with automation:

    Terminal window
    /execute-plan path/to/plan.md
  1. Research options:

    Terminal window
    /research --compare "state management libraries"
  2. Design the solution:

    Terminal window
    /brainstorm "state management architecture"
  3. Plan implementation:

    Terminal window
    /plan "implement state management"

Good use cases:

  • Designing new features with unclear requirements
  • Exploring architectural decisions
  • Evaluating multiple approaches
  • Refining vague ideas into concrete designs
  • Making technology choices

When NOT to use:

  • Clear “mechanical” processes with known implementation
  • Simple bug fixes with obvious solutions
  • Tasks with explicit requirements already defined

For these cases, use direct implementation instead.

Before brainstorming, have ready:

  • Current architecture understanding
  • Constraints (performance, budget, timeline)
  • Related features or systems
  • Team capabilities
  • Take time to think through each question
  • Ask for clarification when needed
  • Push back if suggestions don’t fit
  • Validate each section before moving on
  • Save designs to version control
  • Include rationale for decisions
  • Note rejected alternatives
  • Track open questions

After brainstorming:

  1. Commit design document to repo
  2. Share with team for feedback
  3. Use /plan --detailed for implementation planning
  4. Reference design during development
  1. Be specific about constraints and requirements
  2. Mention existing systems that need integration
  3. State preferences if you have strong opinions
  4. Ask “why” to understand recommendations
  5. Take breaks for complex designs (use --checkpoint)
  • /plan - Create implementation plans from designs
  • /execute-plan - Execute plans with automation
  • /research - Research technologies before designing
  • /review - Review existing designs

Brainstorming behavior can be customized via CLAUDE.md:

  • Question style (sequential vs all-at-once)
  • Default depth level
  • Required design sections
  • Output format preferences

See the Configuration Guide for details.