structured-brainstorming
Structured design process before new features, enhancements, or architectural changes. Brainstorming + plan creation + approval flow.
适合你,如果需要在开发前系统化梳理思路并推动决策
npx oh-my-skill add mahsumaktas/agent-evolution-kit/structured-brainstormingcurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mahsumaktas/agent-evolution-kit/structured-brainstormingnpx oh-my-skill verify mahsumaktas/agent-evolution-kit/structured-brainstorming怎么用
商店整理自技能原文 · 版本 c599c87 · 表述以原文为准安装后,Claude 会先了解项目背景,然后逐个提问,提出2-3种方案并推荐,展示设计并等待你批准,最后生成设计文档和任务计划,交给执行技能。在获得批准前不会写代码或创建文件。
当你提出新功能、改进或架构变更的想法时触发。
技能原文 SKILL.md
Structured Brainstorming + Plan Creation
Overview
Turn ideas into mature designs and actionable plans. First understand context, then ask questions one by one, build the design, get approval, write the plan.
Core principle: Do NOT start implementation without approval. Every project goes through this process.
<HARD-GATE> Until the design is presented and the user gives approval:
- Do NOT write code
- Do NOT create files
- Do NOT call implementation skills
- Do NOT scaffold anything
- Do NOT make changes via exec
This rule applies to EVERYTHING, including projects that seem simple. </HARD-GATE>
Anti-Pattern: "This Is Too Simple for Design"
Every project goes through this process. A config change, a single function, a simple addition -- all of them. "Simple" projects are where unexamined assumptions cause the most damage. The design can be short (a few sentences), but you MUST present it and you MUST get approval.
Checklist
Complete these steps IN ORDER:
- Explore project context -- examine existing files, docs, recent changes
- Ask clarifying questions -- one at a time; understand goals, constraints, success criteria
- Propose 2-3 approaches -- with tradeoffs, including your recommendation
- Present the design -- in sections scaled to complexity, get approval after each section
- Write the design document -- save as
docs/plans/YYYY-MM-DD-<topic>-design.md - Move to execution -- create a plan file, hand off to
subagent-executionskill
Process Flow
Explore project context
|
v
Ask clarifying questions (one at a time)
|
v
Propose 2-3 approaches (tradeoffs + recommendation)
|
v
Present design sections
|
v
User approved?
NO --> Revise design --> present again
YES --> continue
|
v
Write design document
|
v
Create plan file (bite-size tasks)
|
v
Hand off to subagent-execution
Terminal state: creating the plan file and handing off to subagent-execution. Do not call any other implementation skill.
Process Details
1. Understanding the Idea
- First check the current project state (files, docs, recent commits)
- Ask questions one at a time -- one question per message
- Prefer multiple-choice questions when possible, but open-ended is fine
- Focus: goals, constraints, success criteria
2. Exploring Approaches
- Propose 2-3 different approaches, each with tradeoffs
- Lead with your recommendation and explain why
- Present in a conversational tone
3. Presenting the Design
- Present the design when you believe it is ready to build
- Scale each section to complexity: a few sentences if simple, 200-300 words if nuanced
- After each section, ask "does this look right so far?"
- Cover: architecture, components, data flow, error handling, testing
- Be ready to go back and clarify if something is unclear
4. Design Document
- Save the validated design as
docs/plans/YYYY-MM-DD-<topic>-design.md - Keep it short, clear, actionable
5. Plan File Creation (Bite-Size Tasks)
Every task must be independently executable, assuming zero context:
## Task N: [Component Name] **Files:** - Create: `full/path/to/file.ts` - Modify: `full/path/to/existing.ts:123-145` - Test: `tests/full/path/to/test.ts` **Step 1: Write a failing test** [Full test code -- not "add validation", write the code] **Step 2: Verify the test fails** Run: `npm test tests/path/to/test.ts` Expected: FAIL -- "function is not defined" **Step 3: Write minimal implementation** [Full implementation code] **Step 4: Verify the test passes** Run: `npm test tests/path/to/test.ts` Expected: PASS **Step 5: Commit** `git add ... && git commit -m "feat: ..."`
Rules:
- Always use full file paths
- Full code in the plan (not just "add this")
- Full commands with expected output
- DRY, YAGNI, TDD, frequent commits
- YAGNI pruning: if you spot unnecessary features, remove them from the design
6. Execution Handoff
When the plan is complete:
- REQUIRED SKILL: Hand off to
subagent-execution - Fresh session per task, two-stage review
Core Principles
- One question at a time -- do not overwhelm with multiple questions
- Prefer multiple-choice -- easier to answer than open-ended
- YAGNI ruthlessly -- remove unnecessary features from the design
- Explore alternatives -- always present 2-3 approaches before deciding
- Incremental validation -- present, get approval, proceed
- Stay flexible -- if something is unclear, go back and clarify
Platform Adaptation
This skill uses generic tool references. Adapt to your platform:
- File operations: Use your framework's read/write/edit tools
- Subagent spawning: Replace
[spawn subagent]with your platform's mechanism - Task tracking: Use your framework's task management or a markdown file
- Search: Use your platform's file search and content search tools
Red Flags -- STOP
If you catch yourself thinking:
- "Too simple, no design needed" --> SIMPLE = MOST ASSUMPTIONS
- "Let me code first, I will get approval later" --> HARD-GATE VIOLATION
- "I will ask all questions at once" --> ONE QUESTION, ONE MESSAGE
- "One approach is enough" --> AT LEAST 2 ALTERNATIVES
- "I did the design in my head" --> WRITTEN DESIGN + APPROVAL REQUIRED
- "User was in a hurry, I skipped" --> Hurry = MISTAKES, process = SPEED