Skip to content
discover-solution-space logo

Discover Solution Space

discover-solution-space

Use when research phase is complete and you need to explore implementation

SKILL.md

Full skill instructions

Discover Solution Space

Deeply explore the solution space to find the optimal approach before committing to a plan.

Position in Workflow

Step 2 of development workflow:

  1. /​research - Understand problem, explore implementation
  2. /​discover_solution_space - Explore solutions (THIS)
  3. Plan Mode - Create implementation plan
  4. Code, review, ship

Core Principle

Comprehensive exploration. High-quality decisions.

You have a bias toward finishing quickly. Resist it. The cost of choosing a suboptimal solution compounds over time. Rushed decisions degrade codebases.

Spend significant time on:

  • Understanding the codebase architecture
  • Generating multiple options
  • Analyzing trade-offs thoroughly

Quality over speed. This is the moment to think hard.

Input

Default: Use research findings from the current conversation.

If argument provided:

  • File path: Read the file for research context
  • GitHub issue: Fetch with gh issue view $ARG --comments

Workflow

1. Gather Context

From research: Understand the problem, requirements, and constraints.

From codebase: Invest significant time exploring:

  • Existing architecture and patterns
  • Related implementations (how similar problems were solved)
  • Dependencies and integration points
  • Code conventions and style
  • Test patterns

Do not rush this. Thorough codebase understanding prevents solutions that fight the existing architecture.

2. Ask Clarifying Questions

Before exploring solutions, ask about anything that improves decision quality:

  • Business goals and priorities
  • How the feature will be used
  • Performance requirements
  • Future extensibility needs
  • Constraints (timeline, compatibility, etc.)
  • Strategic direction

Do not assume. Bad assumptions lead to suboptimal solutions.

3. Deep Exploration

Generate multiple solutions across these dimensions:

DimensionExamples
Architectural approachEvent-driven vs request-response, monolith vs service
Implementation strategyExtend existing class 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

Generate at least 3-5 distinct approaches before evaluating. Don't anchor on the first idea.

4. First Principles Check

For each solution, challenge assumptions:

  • Do we need this? Is the feature/​change actually necessary?
  • Are requirements correct? Should we push back on any constraints?
  • Are existing patterns optimal? Or should we challenge/​improve them?
  • What's the simplest solution? Complexity should be justified.
  • What would we regret? In 6 months, what would we wish we'd done differently?

5. Analyze Trade-offs

For each viable solution, evaluate:

  • Pros: Benefits, strengths, what it enables
  • Cons: Drawbacks, risks, what it complicates
  • Codebase fit: How well it aligns with existing architecture
  • Effort: Relative complexity (low/​medium/​high)
  • Reversibility: How hard to change course later

6. Present and Discuss

Present ranked options. Engage with user feedback until a solution is chosen.

Output Format

## Solution Space Analysis

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

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

---

### Options

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

**Pros:**
- ...

**Cons:**
- ...

**Codebase fit:** [How it aligns with existing patterns]
**Effort:** [Low/​Medium/​High]
**Reversibility:** [Easy/​Moderate/​Hard to change later]

#### Option 2: [Name]
[Same structure]

#### Option 3: [Name]
[Same structure]

---

### Recommendation
[Why Option 1 is recommended, and under what conditions you'd choose differently]

### Open Questions
[Anything that could change the recommendation]

### Next Step
Ready to plan implementation. Enter Plan Mode or run `/​plan`

Explicit Depth Instructions

Spend significant time on this task.

Read more files than feels necessary. Generate more options than feels necessary. Analyze trade-offs more thoroughly than feels necessary.

This is not the place to be efficient. This is the place to be thorough.

Common Mistakes

MistakeFix
Anchoring on first ideaGenerate 3-5 options BEFORE evaluating any
Shallow codebase explorationRead related files, understand patterns first
Assuming requirementsAsk clarifying questions early
Rushing to recommendationSpend time on trade-off analysis
Not challenging assumptionsApply first principles check to every option
Fighting the codebaseEnsure solutions fit existing architecture
Skipping "do we need this?"Always question if the change is necessary

What NOT to Do

  • Do NOT rush through exploration
  • Do NOT present only one option
  • Do NOT skip the first principles check
  • Do NOT ignore existing codebase patterns
  • Do NOT make assumptions without asking
  • Do NOT proceed to planning until user chooses a solution

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View