‹ 首页

structured-brainstorming

@mahsumaktas · 收录于 1 周前 · 上游提交 4 个月前

Structured design process before new features, enhancements, or architectural changes. Brainstorming + plan creation + approval flow.

适合你,如果需要在开发前系统化梳理思路并推动决策

/ 通过 npx 安装 校验哈希
npx oh-my-skill add mahsumaktas/agent-evolution-kit/structured-brainstorming
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mahsumaktas/agent-evolution-kit/structured-brainstorming
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mahsumaktas/agent-evolution-kit/structured-brainstorming
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1GitHub stars
~1.2K上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 c599c87 · 表述以原文为准
它做什么

安装后,Claude 会先了解项目背景,然后逐个提问,提出2-3种方案并推荐,展示设计并等待你批准,最后生成设计文档和任务计划,交给执行技能。在获得批准前不会写代码或创建文件。

什么时候触发

当你提出新功能、改进或架构变更的想法时触发。

装好后可以这样说
Claude 会开始提问并逐步设计。
Claude 会探索方案并展示设计。
即使简单,也会走完整设计流程。
技能原文 SKILL.md作者撰写 · MIT · c599c87

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:

  1. Explore project context -- examine existing files, docs, recent changes
  2. Ask clarifying questions -- one at a time; understand goals, constraints, success criteria
  3. Propose 2-3 approaches -- with tradeoffs, including your recommendation
  4. Present the design -- in sections scaled to complexity, get approval after each section
  5. Write the design document -- save as docs/plans/YYYY-MM-DD-<topic>-design.md
  6. Move to execution -- create a plan file, hand off to subagent-execution skill
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
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。