Get the FREE Ultimate OpenClaw Setup Guide →

brainstorm-solutions

npx machina-cli add skill kasperjunge/agent-resources/brainstorm-solutions --openclaw
Files (1)
SKILL.md
3.6 KB

Brainstorm Solutions

Explore the solution space broadly before committing to a single path.

Position in Workflow

Step 2 of development workflow:

  1. /research - Understand problem and constraints
  2. /brainstorm-solutions - Explore solution space (THIS)
  3. /design-solution - Converge on a single solution
  4. Plan, code, review, ship

Core Principle

Breadth first. Generate multiple distinct options before evaluating or ranking them.

Input

Default: Use research findings from the current conversation.

If argument provided:

  • File path: Read the file for research context
  • GitHub issue number/URL: Fetch with scripts/gh_issue_phase.sh get-issue $ARG

Workflow

1. Gather Context

  • Summarize the problem, constraints, and goals from research.
  • Identify existing architecture patterns and similar implementations.

2. Ask Clarifying Questions

Ask only what improves solution quality:

  • Business goals and priorities
  • User workflows and usage patterns
  • Performance or scalability requirements
  • Extensibility or future roadmap considerations
  • Hard constraints (timeline, compatibility, cost)

3. Generate Options

Generate at least 3-5 distinct approaches across dimensions:

DimensionExamples
Architectural approachEvent-driven vs request-response, monolith vs service
Implementation strategyExtend existing module vs new module, refactor vs add
Library/tool choiceRedis vs in-memory, REST vs GraphQL
Feature designWizard flow vs single form, eager vs lazy loading

Avoid anchoring on the first idea. Expand, then refine.

4. First Principles Check

For each option, challenge assumptions:

  • Do we need this?
  • Are requirements correct?
  • Are existing patterns optimal?
  • What is the simplest viable solution?
  • What would we regret in 6 months?

Output Format

## Solution Brainstorm

### Context Summary
[Brief restatement of problem and key constraints]

### Clarifying Questions
[Questions about strategy, usage, or requirements - if any]

---

### Options

#### Option 1: [Name]
[Description]

#### Option 2: [Name]
[Description]

#### Option 3: [Name]
[Description]

[Add Option 4/5 if useful]

---

### Notes
[Any assumptions or risks that should be validated before choosing]

### Next Step
Ready to converge on a single solution. Run `/design-solution`.

GitHub Issue Tracking

If a GitHub issue was provided or is available from prior phases:

Post brainstorm output as a phase comment and set the label:

echo "$BRAINSTORM_SUMMARY" | scripts/gh_issue_phase.sh post-phase $ISSUE brainstorm
scripts/gh_issue_phase.sh set-label $ISSUE phase:brainstorm

Pass the issue number to the next skill (e.g., /design-solution #42).

Common Mistakes

MistakeFix
Anchoring on first ideaGenerate 3-5 options BEFORE evaluating any
Shallow codebase explorationRead related files and patterns first
Assuming requirementsAsk clarifying questions early
Skipping first principlesApply first principles to each option
Rushing to recommendationSave evaluation for design-solution

What NOT to Do

  • Do NOT present only one option
  • Do NOT recommend a solution yet
  • Do NOT skip clarifying questions when uncertainty exists
  • Do NOT ignore existing codebase patterns

Source

git clone https://github.com/kasperjunge/agent-resources/blob/main/skills/development/workflow/brainstorm-solutions/SKILL.mdView on GitHub

Overview

Brainstorm Solutions helps you explore the solution space broadly after research. It promotes breadth-first thinking by producing 3-5 viable options across dimensions before evaluation, reducing bias and anchoring.

How This Skill Works

It starts from the research context, then asks clarifying questions to sharpen goals. It then generates 3-5 distinct options across dimensions such as architecture, implementation strategy, tools, and feature design, followed by a first-principles check for each option.

When to Use It

  • When you need to explore the solution space after research and before committing to a single path
  • When requirements are unclear or conflicting and you need options
  • When comparing architectural approaches (e.g., event-driven vs request-response)
  • When evaluating feasibility under tight timelines or constraints
  • When you want to avoid anchoring on the first idea and encourage breadth

Quick Start

  1. Step 1: Gather context from research findings and constraints
  2. Step 2: Ask clarifying questions to refine goals
  3. Step 3: Generate 3-5 distinct options and note assumptions

Best Practices

  • Start with a clear context summary from research
  • Generate 3-5 distinct options across dimensions
  • Apply first-principles checks to each option
  • Record assumptions, risks, and clarifying questions
  • Avoid evaluating options during brainstorming; reserve evaluation for design-solution

Example Use Cases

  • Choosing between 3-5 architectural approaches for a new service
  • Evaluating data storage options like SQL vs NoSQL vs time-series
  • Deciding deployment strategies such as blue/green, canary, or rolling
  • Assessing third party tooling versus in house development
  • Selecting between messaging patterns like pull, push, or event streams

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers