From horspowers
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation. 中文触发场景:当用户说'帮我想想这个功能的实现方案'、'这个需求我该怎么设计?'、'帮我理清思路'、'我想做个XXX,有什么建议?'等需要完善想法时使用此技能。
How this skill is triggered — by the user, by Claude, or both
Slash command
/horspowers:brainstormingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval before any implementation work begins.
Announce at start: "我正在使用头脑风暴技能来完善你的想法..." (I'm using brainstorming to refine your idea...)
Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.每个项目都必须经过 brainstorming。一个 TODO、小工具、配置调整,都会因为未经审视的假设而浪费时间。简单项目可以有简短设计,但不能跳过设计和确认。
You MUST create a task for each of these items and complete them in order:
digraph brainstorming {
"Explore project context" [shape=box];
"Visual questions ahead?" [shape=diamond];
"Offer Visual Companion\n(own message only)" [shape=box];
"Ask clarifying questions" [shape=box];
"Need decomposition first?" [shape=diamond];
"Decompose into sub-projects" [shape=box];
"Propose 2-3 approaches" [shape=box];
"Present design sections" [shape=box];
"User approves design?" [shape=diamond];
"Write design doc?" [shape=diamond];
"Write design doc" [shape=box];
"Structured spec review" [shape=box];
"Review issues found?" [shape=diamond];
"Fix design doc" [shape=box];
"User reviews spec?" [shape=diamond];
"Invoke writing-plans skill" [shape=doublecircle];
"Explore project context" -> "Visual questions ahead?";
"Visual questions ahead?" -> "Offer Visual Companion\n(own message only)" [label="yes"];
"Visual questions ahead?" -> "Ask clarifying questions" [label="no"];
"Offer Visual Companion\n(own message only)" -> "Ask clarifying questions";
"Ask clarifying questions" -> "Need decomposition first?";
"Need decomposition first?" -> "Decompose into sub-projects" [label="yes"];
"Need decomposition first?" -> "Propose 2-3 approaches" [label="no"];
"Decompose into sub-projects" -> "Propose 2-3 approaches";
"Propose 2-3 approaches" -> "Present design sections";
"Present design sections" -> "User approves design?";
"User approves design?" -> "Present design sections" [label="no, revise"];
"User approves design?" -> "Write design doc?" [label="yes"];
"Write design doc?" -> "Write design doc" [label="yes"];
"Write design doc?" -> "Invoke writing-plans skill" [label="no"];
"Write design doc" -> "Structured spec review";
"Structured spec review" -> "Review issues found?";
"Review issues found?" -> "Fix design doc" [label="yes"];
"Fix design doc" -> "Structured spec review";
"Review issues found?" -> "User reviews spec?" [label="no"];
"User reviews spec?" -> "Fix design doc" [label="changes requested"];
"User reviews spec?" -> "Invoke writing-plans skill" [label="approved"];
}
The terminal state is invoking writing-plans. Do NOT invoke frontend-design, mcp-builder, or any other implementation skill directly from brainstorming.
Understanding the idea:
Exploring approaches:
Presenting the design:
Design for isolation and clarity:
Documentation Integration (遵循最小必要文档原则):
IF .horspowers-config.yaml exists AND documentation.enabled: true:
Initialize if needed:
IF session context shows docs_auto_init:true:
Run: Create docs/ directory structure using core docs module
Search existing context (在创建新文档前):
Run: Search docs/context/ for project architecture and docs/plans/ for related designs
Purpose: 避免重复创建,复用现有文档
判断是否需要创建设计文档: IF 设计中包含重要的技术方案选择(架构变更、技术栈选择、数据模型设计等): ASK user: "这个设计包含重要的方案决策,是否需要创建设计文档记录?
**选项:**
1. **创建设计文档** - 记录方案对比和决策理由(推荐用于重要功能)
2. **跳过设计文档** - 直接进入实施计划(适用于简单功能)
说明: 核心文档数量建议不超过 3 个(design + plan + task),避免文档膨胀"
IF user chooses 创建设计文档:
Use horspowers:document-management or core module
Create: `docs/plans/YYYY-MM-DD-design-<topic>.md` (前缀式命名)
In the created document, populate (使用统一的设计模板):
- ## 基本信息: 创建时间、设计者、状态
- ## 设计背景: [为什么需要这个设计]
- ## 设计方案: [方案A、方案B等,包括优缺点]
- ## 最终设计: [选择的方案及详细理由]
- ## 技术细节: [架构、组件、数据流等]
- ## 影响范围: [这个设计影响的模块/系统]
- ## 实施计划: [如何实施这个设计]
- ## 结果评估: [设计实施后的效果评估]
- ## 相关文档: [计划文档链接]
ELSE (user chooses 跳过):
DO NOT create design document
Summarize the approved design in the conversation
PROCEED directly to writing-plans
ELSE (设计不包含重要方案选择): DO NOT create design document Summarize the approved design in the conversation PROCEED directly to writing-plans
Original documentation (备用方案): 如果用户选择创建设计文档:
docs/plans/YYYY-MM-DD-design-<topic>.md (前缀式)Spec Self-Review (如果已写设计文档):
After writing the design doc in docs/plans/, run a structured review before asking the user to review it.
Use skills/brainstorming/spec-document-reviewer-prompt.md as the review criteria:
The review must check for:
Fix blocking issues inline and rerun the structured review until it passes. Do not move forward with an obviously fuzzy spec, and do not start implementation from brainstorming.
User Review Gate (如果已写设计文档):
docs/plans/ and rerun the structured review before asking for approval againDocument as communication medium:
Implementation (if continuing):
A browser-based companion for showing mockups, diagrams, and visual options during brainstorming. It is optional and should be enabled only when a question is materially easier to understand visually.
Offering the companion: When you anticipate visual questions (mockups, layouts, diagrams), offer it once for consent:
"有些内容如果我直接在浏览器里给你看会更容易理解。我可以在讨论过程中提供界面草图、流程图、方案对比等可视化内容。这个能力还比较新,而且会增加一些上下文开销。要不要试一下?(需要打开本地 URL)"
This offer MUST be its own message. Do not combine it with a clarification question or any other content.
Per-question decision:
If the user accepts, read the detailed guide before proceeding:
skills/brainstorming/visual-companion.md
npx claudepluginhub louishors/horspowersCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.