brainstorm
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBrainstorm
头脑风暴
Overview
概述
Use this skill to convert rough ideas into clear, reviewable design outputs through structured dialogue.
The goal is to:
- Clarify requirements and constraints
- Explore alternatives with trade-offs
- Produce a concrete, validated design brief in
docs/brainstorms/... - Hand off cleanly to when the user is ready
write-plan
This skill is for exploration and specification only. Do not implement code changes.
使用本技能通过结构化对话将粗略想法转化为清晰、可评审的设计产出。
目标是:
- 明确需求与约束条件
- 探索带有取舍的多种备选方案
- 在路径下生成具体的、经过验证的设计简报
docs/brainstorms/... - 当用户准备就绪时,顺畅交接至技能
write-plan
本技能仅用于探索与规格定义,请勿进行代码变更。
Workflow
工作流程
Step 1: Gather Project Context
步骤1:收集项目背景信息
Before asking design questions, inspect enough project context to avoid proposing incompatible solutions.
- Review first, especially:
docs/docs/project-pdr.mddocs/architecture.mddocs/codebase.mddocs/code-standard.md
- Check key implementation files relevant to the idea
- Note constraints from existing architecture, dependencies, and conventions
Keep this pass focused. Only gather what is needed for the current idea.
在提出设计问题前,需充分了解项目背景,避免提出不兼容的解决方案。
- 先查看目录下的内容,尤其是:
docs/docs/project-pdr.mddocs/architecture.mddocs/codebase.mddocs/code-standard.md
- 检查与当前想法相关的关键实现文件
- 记录现有架构、依赖项和约定带来的约束条件
此阶段需聚焦核心,仅收集与当前想法相关的必要信息。
Step 2: Clarify Requirements (One Question at a Time)
步骤2:逐步明确需求(一次一个问题)
Ask targeted questions sequentially to remove ambiguity.
- Ask exactly one question per message
- Prefer multiple-choice options when practical
- Use open-ended questions only when necessary
- Focus on:
- Objective and user value
- Scope boundaries
- Constraints (technical, UX, performance, timeline)
- Success criteria
- Non-goals
Do not jump to implementation details too early.
通过针对性的连续提问消除歧义。
- 每条消息仅提出一个问题
- 实际可行时优先使用选择题形式
- 仅在必要时使用开放式问题
- 聚焦以下方面:
- 目标与用户价值
- 范围边界
- 约束条件(技术、UX、性能、时间线)
- 成功标准
- 非目标
请勿过早跳转至实现细节。
Step 3: Explore Approaches
步骤3:探索备选方案
Propose 2-3 viable approaches.
For each approach, include:
- Short summary
- Pros
- Cons / risks
- Complexity estimate
- Recommended use conditions
Lead with your recommended option and explain why it best fits the project context and constraints.
提出2-3种可行方案。
每个方案需包含:
- 简短概述
- 优势
- 劣势/风险
- 复杂度预估
- 推荐适用场景
优先展示你推荐的方案,并说明其为何最符合项目背景与约束条件。
Step 4: Present the Design Incrementally
步骤4:逐步呈现设计内容
Once requirements are clear, present the design in small sections (about 200-300 words each), validating after each section.
Suggested section order:
- Problem framing and goals
- Proposed architecture / flow
- Data model and interfaces
- Error handling and edge cases
- Testing and verification strategy
- Rollout considerations (if applicable)
After each section, ask whether to proceed or adjust.
需求明确后,分小部分呈现设计内容(每部分约200-300字),每部分后进行验证。
建议的内容顺序:
- 问题框架与目标
- 拟议架构/流程
- 数据模型与接口
- 错误处理与边缘情况
- 测试与验证策略
- 上线考量(如适用)
每部分内容展示后,询问用户是否继续或调整。
Step 5: Write Brainstorm Artifacts
步骤5:撰写头脑风暴成果文档
Persist results to the standardized location:
- Directory:
docs/brainstorms/YYMMDD-HHmm-<topic-slug>/ - Main file (required):
docs/brainstorms/YYMMDD-HHmm-<topic-slug>/SUMMARY.md - Optional supporting files:
docs/brainstorms/YYMMDD-HHmm-<topic-slug>/section-01-<slug>.mddocs/brainstorms/YYMMDD-HHmm-<topic-slug>/section-02-<slug>.md- etc.
SUMMARY.md- Title
- Created timestamp
- Context
- Goals / non-goals
- Chosen approach and rationale
- Alternatives considered
- Risks and mitigations
- Open questions
- Next step recommendation
将结果保存至标准化路径:
- 目录:
docs/brainstorms/YYMMDD-HHmm-<topic-slug>/ - 主文件(必填):
docs/brainstorms/YYMMDD-HHmm-<topic-slug>/SUMMARY.md - 可选支持文件:
docs/brainstorms/YYMMDD-HHmm-<topic-slug>/section-01-<slug>.mddocs/brainstorms/YYMMDD-HHmm-<topic-slug>/section-02-<slug>.md- 等等
SUMMARY.md- 标题
- 创建时间戳
- 背景信息
- 目标/非目标
- 选定方案及理由
- 已考量的备选方案
- 风险与缓解措施
- 待解决问题
- 下一步建议
Step 6: Close the Loop
步骤6:闭环收尾
After writing artifacts:
- Ask the user to review and provide feedback
- If feedback exists, revise artifacts
- If no feedback, ask whether to proceed to planning
- If approved, hand off to using the brainstorm output as source context
write-plan
完成文档撰写后:
- 请用户审阅并提供反馈
- 若有反馈,修订文档
- 若无反馈,询问是否进入规划阶段
- 若获批准,以头脑风暴输出内容为上下文,交接至技能
write-plan
Rules
规则
- Do not write production code or make implementation changes in this skill
- Keep interaction lightweight and iterative
- Prefer clarity over completeness when uncertain; ask a follow-up question
- Apply YAGNI: remove unnecessary features from proposals
- Align all recommendations with project documentation and standards
- Keep assumptions explicit; do not guess silently
- 请勿在本技能中编写生产代码或进行实现变更
- 保持交互轻量化、迭代式推进
- 当存在不确定性时,优先保证清晰性而非完整性;提出跟进问题
- 应用YAGNI原则:从提案中移除不必要的功能
- 所有建议需与项目文档和标准保持一致
- 明确列出假设条件;请勿自行猜测
Output Quality Checklist
输出质量检查清单
Before finalizing , confirm:
SUMMARY.md- Requirements are explicit and testable
- Scope and non-goals are clear
- Recommended approach is justified with trade-offs
- Risks and unknowns are documented
- Handoff to planning is actionable
最终确定前,确认:
SUMMARY.md- 需求明确且可测试
- 范围与非目标清晰
- 推荐方案有取舍分析作为支撑
- 风险与未知项已记录
- 向规划阶段的交接可落地
Integration
集成
- Use to generate:
scripts/get-time.sh- for folder naming
YYMMDD-HHmm - for document timestamps
YYYY-MM-DD HH:mm:ss
- Next workflow step:
write-plan
- 使用生成:
scripts/get-time.sh- 用于文件夹命名的
YYMMDD-HHmm - 用于文档时间戳的
YYYY-MM-DD HH:mm:ss
- 用于文件夹命名的
- 下一个工作流步骤:
write-plan