Brainstorming

From lifangda/claude-plugins · View interactive version

Brainstorming is an AI agent skill from the GitHub repository lifangda/claude-plugins. Use when creating or developing anything, before writing code or implementation plans - refines rough ideas into fully-formed designs through structured Socratic questioning, alternative exploration, and incremental validation

How to use this skill

Skill file

Brainstorming Ideas Into Designs

Overview

Transform rough ideas into fully-formed designs through structured questioning and alternative exploration.

Core principle: Ask questions to understand, explore alternatives, present design incrementally for validation.

Announce at start: "I'm using the brainstorming skill to refine your idea into a design."

Quick Reference

| Phase | Key Activities | Tool Usage | Output |

|-------|---------------|------------|--------|

| 1. Understanding | Ask questions (one at a time) | AskUserQuestion for choices | Purpose, constraints, criteria |

| 2. Exploration | Propose 2-3 approaches | AskUserQuestion for approach selection | Architecture options with trade-offs |

| 3. Design Presentation | Present in 200-300 word sections | Open-ended questions | Complete design with validation |

| 4. Design Documentation | Write design document | writing-clearly-and-concisely skill | Design doc in docs/plans/ |

| 5. Worktree Setup | Set up isolated workspace | using-git-worktrees skill | Ready development environment |

| 6. Planning Handoff | Create implementation plan | writing-plans skill | Detailed task breakdown |

The Process

Copy this checklist to track progress:

Brainstorming Progress:
- [ ] Phase 1: Understanding (purpose, constraints, criteria gathered)
- [ ] Phase 2: Exploration (2-3 approaches proposed and evaluated)
- [ ] Phase 3: Design Presentation (design validated in sections)
- [ ] Phase 4: Design Documentation (design written to docs/plans/)
- [ ] Phase 5: Worktree Setup (if implementing)
- [ ] Phase 6: Planning Handoff (if implementing)

Phase 1: Understanding

Example using AskUserQuestion:

Question: "Where should the authentication data be stored?"
Options:
  - "Session storage" (clears on tab close, more secure)
  - "Local storage" (persists across sessions, more convenient)
  - "Cookies" (works with SSR, compatible with older approach)

Phase 2: Exploration

Example using AskUserQuestion:

Question: "Which architectural approach should we use?"
Options:
  - "Event-driven with message queue" (scalable, complex setup, eventual consistency)
  - "Direct API calls with retry logic" (simple, synchronous, easier to debug)
  - "Hybrid with background jobs" (balanced, moderate complexity, best of both)

Phase 3: Design Presentation

Phase 4: Design Documentation

After design is validated, write it to a permanent document:

Phase 5: Worktree Setup (for implementation)

When design is approved and implementation will follow:

Phase 6: Planning Handoff

Ask: "Ready to create the implementation plan?"

When your human partner confirms (any affirmative response):

Question Patterns

When to Use AskUserQuestion Tool

Use AskUserQuestion for:

Benefits:

When to Use Open-Ended Questions

Use open-ended questions for:

Example decision flow:

When to Revisit Earlier Phases

digraph revisit_phases {
    rankdir=LR;
    "New constraint revealed?" [shape=diamond];
    "Partner questions approach?" [shape=diamond];
    "Requirements unclear?" [shape=diamond];
    "Return to Phase 1" [shape=box, style=filled, fillcolor="#ffcccc"];
    "Return to Phase 2" [shape=box, style=filled, fillcolor="#ffffcc"];
    "Continue forward" [shape=box, style=filled, fillcolor="#ccffcc"];

    "New constraint revealed?" -> "Return to Phase 1" [label="yes"];
    "New constraint revealed?" -> "Partner questions approach?" [label="no"];
    "Partner questions approach?" -> "Return to Phase 2" [label="yes"];
    "Partner questions approach?" -> "Requirements unclear?" [label="no"];
    "Requirements unclear?" -> "Return to Phase 1" [label="yes"];
    "Requirements unclear?" -> "Continue forward" [label="no"];
}

You can and should go backward when:

Don't force forward linearly when going backward would give better results.

Key Principles

| Principle | Application |

|-----------|-------------|

| One question at a time | Phase 1: Single question per message, use AskUserQuestion for choices |

| Structured choices | Use AskUserQuestion tool for 2-4 options with trade-offs |

| YAGNI ruthlessly | Remove unnecessary features from all designs |

| Explore alternatives | Always propose 2-3 approaches before settling |

| Incremental validation | Present design in sections, validate each |

| Flexible progression | Go backward when needed - flexibility > rigidity |

| Announce usage | State skill usage at start of session |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.