agentleFS
cmstarcmstar/hyperpowers-skills/skills/brainstorming/SKILL.md

brainstorming

Skill2 starsChanged 4 months agoMITView on GitHub

通过澄清问题、比较方案和用户审阅,把模糊想法整理成已批准的规格说明书(spec)。仅当用户明确要求使用 brainstorming,或明确选择写有该名称的选项时使用;不要把否定、询问、文档提及或任务匹配视为调用授权。

194 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, testing-anti-patterns and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 6 projects that use this

  • MicrosoftSkill

    testing-anti-patterns

    Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies

    Also in 5 projects that use this

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • itallstartedwithaideaSkill

    long-horizon-workflows

    Long-Horizon Workflows enable AI agents to execute multi-hour, multi-phase autonomous pipelines that far exceed the scope of a single conversation turn.

    Also in 4 projects that use this

  • shibit-netSkill

    chinese-code-review

    中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • shibit-netSkill

    chinese-commit-conventions

    中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • +1 more from shibit-net

The file

Files
SKILL.md

将想法头脑风暴为设计

概述

通过自然的协作对话,把一个尚未明确的可实施项目或变更整理成经过用户批准的规格说明书(spec)。

激活边界

只有以下情况构成显式调用:

  • 用户直接要求使用 brainstorming。
  • 用户明确选择一个写有“使用 brainstorming”的编号或选项。

否定使用、询问技能功能、仅说“继续”“开始吧”,或任务内容恰好适合头脑风暴,都不构成调用。未被显式调用时,不应用本技能的流程或硬门。

<HARD-GATE> 本技能一旦被显式调用,在设计和书面 spec 获得用户批准前,不得编写实现代码、搭建项目脚手架或采取实施行动。

用户可以随时明确取消 brainstorming。取消后立即结束本技能,不自动调用其他技能。 </HARD-GATE>

工作流程

按顺序完成:

  1. 探索项目上下文——检查相关文件、文档和近期变更。
  2. 评估范围——识别是否包含多个应分别设计的独立子项目。
  3. 提出澄清问题——每次只问一个,了解目的、约束和成功标准。
  4. 提出 2–3 种方案——说明取舍,先给出建议及理由。
  5. 分节展示设计——按复杂度调整篇幅,每节后获得用户确认。
  6. 编写 spec——保存到 docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md。
  7. 内联自审——修复占位符、矛盾、歧义和范围问题。
  8. 用户审阅——用户可反复要求修改,直到明确批准。
  9. 询问批准后的操作——只提供本文规定的三个选项。
flowchart TD
    A["探索上下文并澄清需求"] --> B["提出 2–3 种方案"]
    B --> C["分节展示设计"]
    C --> D{"用户批准设计?"}
    D -->|"否"| C
    D -->|"是"| E["写出未提交的 spec"]
    E --> F["内联自审并修正"]
    F --> G{"用户批准书面 spec?"}
    G -->|"要求修改"| E
    G -->|"批准"| H{"询问下一步"}
    H --> I["1. 使用 writing-plans"]
    H --> J["2. 使用 executing-spec-or-plan"]
    H --> K["3. 到此结束"]

理解想法

  • 先了解现有项目状态,再提出方案。
  • 请求若覆盖多个独立子系统,先帮助用户拆分;每个子项目分别进行 spec → plan/implementation 循环。
  • 对范围合适的项目,每条消息只问一个问题;需要深入时拆成连续问题。
  • 优先理解目的、约束、成功标准和明确不做的内容。
  • 简单项目可以使用很短的设计和 spec,但不能跳过批准。

探索方案

  • 提出 2–3 种真正不同的方案及其取舍。
  • 先给推荐方案,并解释为什么。
  • 遵循 YAGNI,移除当前目标不需要的能力。
  • 用户未认可时继续调整,不把“没有反对”视为批准。

展示设计

按任务实际需要覆盖:

  • architecture;
  • components 与职责边界;
  • data flow;
  • error handling;
  • testing 与验收方式。

非代码项目按实际情况调整章节,不生搬硬套软件术语。

为隔离性和清晰性而设计

  • 每个单元只有一个明确目的。
  • 单元通过定义良好的接口通信。
  • 每个单元都能独立理解和测试。
  • 不进行与当前目标无关的重构。

可视化指导

当“看见设计”明显比文字描述更容易理解时,优先使用当前 Agent 环境提供的原生可视化能力:

  1. UI、layout 和交互设计优先使用可渲染或可交互的 HTML。
  2. architecture、流程和关系可使用 Mermaid、SVG、canvas 或平台原生图形。
  3. Agent 根据当前工具能力自行选择最合适的呈现方式。
  4. 无法提供可视化时,再退化为 ASCII/字符线框或结构化文字。

不要强制使用特定 runtime、本地 server、渲染脚本或外部工具。不要仅因讨论 UI 主题就生成视觉稿;只有视觉呈现确实有助于当前决策时才使用。

编写和审阅 spec

默认保存位置:

docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md

用户指定其他位置时,以用户指定为准。

Git 规则

  • 写完 spec 后保持未提交状态。
  • 不执行 git add 或 git commit。
  • 不把文档写入完成视为提交授权。

内联自审

写完后以全新视角检查:

  1. **占位符:**是否存在 TBD、TODO、未完成章节或模糊要求?
  2. **一致性:**各章节是否互相矛盾?architecture 是否支持所述行为?
  3. **范围:**是否足够聚焦,能形成一个可执行项目?
  4. **歧义:**是否存在足以让实现者构建出不同结果的解释?

发现问题时直接修正,然后交给用户审阅。自动自审不能代替用户批准。

用户审阅循环

告知用户:

Spec 已写入 <path>,当前尚未提交。请审阅;如果需要修改,我会调整后再次请你确认。

用户要求修改时:

  1. 修改 spec。
  2. 重新运行内联自审。
  3. 再次请求用户审阅。

只有用户明确批准书面 spec 后,才进入下一步选项。

spec 批准后的三个选项

严格提供:

  1. 使用 writing-plans——创建详细实施计划;新计划同样不会自动提交。
  2. 使用 executing-spec-or-plan——跳过正式实施计划文档,直接以已批准 spec 为输入进入执行前确认。
  3. 到此结束——保持 spec 未提交,不再规划或实施。

只有用户明确点名技能,或明确选择对应编号/选项,才调用第一项或第二项。单独说“继续”“开始”“批准了”不构成后续技能的调用授权。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.