brainstorming
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
What this skill does
# 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 skill usage at start of session.** ## When to Use This Skill Activate this skill when: - Request contains "I have an idea for..." or "I want to build..." - User asks "help me design..." or "what's the best approach for..." - Requirements are vague or high-level - Multiple approaches might work - Before writing any code or implementation plans ## The Three-Phase Process | 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 | ### Phase 1: Understanding **Goal:** Gather purpose, constraints, and success criteria. **Process:** - Check current project state in working directory - Ask ONE question at a time to refine the idea - Use AskUserQuestion tool when presenting multiple choice options - Gather: Purpose, constraints, success criteria **Tool Usage:** Use AskUserQuestion for clarifying questions with 2-4 clear options. Example: "Where should the authentication data be stored?" with options for Session storage, Local storage, Cookies, each with trade-off descriptions. See `references/example-session-auth.md` for complete Phase 1 example. ### Phase 2: Exploration **Goal:** Propose 2-3 different architectural approaches with explicit trade-offs. **Process:** - Propose 2-3 different approaches - For each: Core architecture, trade-offs, complexity assessment - Use AskUserQuestion tool to present approaches as structured choices - Include trade-off comparison table when helpful **Trade-off Format:** | Approach | Pros | Cons | Complexity | |----------|------|------|------------| | Option 1 | Benefits | Drawbacks | Low/Med/High | | Option 2 | Benefits | Drawbacks | Low/Med/High | | Option 3 | Benefits | Drawbacks | Low/Med/High | See `references/example-session-dashboard.md` for complete Phase 2 example with SSE vs WebSockets vs Polling comparison. ### Phase 3: Design Presentation **Goal:** Present complete design incrementally, validating each section. **Process:** - Present in 200-300 word sections - Cover: Architecture, components, data flow, error handling, testing - Ask after each section: "Does this look right so far?" - Use open-ended questions to allow freeform feedback **Typical Sections:** 1. Architecture overview 2. Component details 3. Data flow 4. Error handling 5. Security considerations 6. Implementation priorities **Validation Pattern:** After each section, pause for feedback before proceeding to next section. ## Tool Usage Guidelines ### Use AskUserQuestion Tool For: - Phase 1: Clarifying questions with 2-4 clear options - Phase 2: Architectural approach selection (2-3 alternatives) - Any decision with distinct, mutually exclusive choices - When options have clear trade-offs to explain **Benefits:** - Structured presentation of options with descriptions - Clear trade-off visibility - Forces explicit choice (prevents vague "maybe both" responses) ### Use Open-Ended Questions For: - Phase 3: Design validation - When detailed feedback or explanation is needed - When the user should describe their own requirements - When structured options would limit creative input ## Non-Linear Progression **Flexibility is key.** Go backward when needed - don't force linear progression. **Return to Phase 1 when:** - User reveals new constraint during Phase 2 or 3 - Validation shows fundamental gap in requirements - Something doesn't make sense **Return to Phase 2 when:** - User questions the chosen approach during Phase 3 - New information suggests a different approach would be better **Continue forward when:** - All requirements are clear - Chosen approach is validated - No new constraints emerge ## 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 | ## After Brainstorming Completes Consider these optional next steps: - Document the design in project's design documentation - Break down the design into actionable implementation tasks - Create a git branch or workspace for isolated development Use templates in `assets/design-doc-template.md` and `assets/decision-matrix-template.md` for structured documentation. ## Examples **Complete brainstorming sessions:** - `references/example-session-auth.md` - Authentication storage design (JWT vs Session vs Cookies) - `references/example-session-dashboard.md` - Real-time dashboard design (SSE vs WebSockets vs Polling) **Output templates:** - `assets/design-doc-template.md` - Structured design document format - `assets/decision-matrix-template.md` - Weighted decision comparison format
Related in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.