brainstorming
它能做什么
这个技能让 AI 在为新功能或修复编写任何代码之前,先提出有针对性的问题并就设计达成一致。适合希望变更依据已确认的方案来实施、而不是靠猜测的人。
适用场景
- ✓当你提出新功能,并希望在编写任何代码之前确定设计时。
- ✓当你希望在实施之前,先规划并记录一项行为变更时。
- ✓当你报告缺陷,并希望在修改之前确定原因和修复方案时。
技能链接
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/brainstorming/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在你构建新的登录提醒之前,请先问我的需求,并给我看一个待批准的方案。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会分轮次提问,在你接受设计后编写一份简短的任务规格,然后进行构建,并更新项目规格使其与之保持一致。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Brainstorming
Interview before you build
- Every feature, behavior change, or bug fix goes through this workflow. Depth scales with the change and never drops to zero: a small change gets one short round and a few lines of task-spec.
- The aim is a design the user understands and has accepted, recorded in a spec-graph
task-spec, built, and then reflected in the durable specs — not a speculative implementation. - Do not implement until the design is accepted. An explicit design or acceptance criteria in the request count as approval of what they cover; build on them and never re-ask them.
Doc map
fixing-a-bug.md— the bug branch (step 4).amending-specs.md— bringing the durable specs in line with what was built (step 9); the tail of both paths and where this workflow ends.
The workflow
- Orient. Use the spec-graph skill to find the specs that govern the area; read code second to confirm implementation details. Do not read unrelated specs. Note any non-obvious decision the change touches whose why is not recorded — it becomes a question in step 6.
- Scope check. If the request bundles independent product decisions or subsystems, separate them rather than blending unrelated decisions into one task-spec.
- Open a task-spec.
spec_createatask-specat.thinkrail/context/TASK-<slug>.md(id, title, status: draft, parent: the nearest relevant module). This gitignored file is the one temporary design artifact; update it as answers land. - Bug? When the request reports something that behaves wrongly, follow
fixing-a-bug.mdnow; it returns here at step 5 (the "bug" is really a feature) or step 8. - Product phase. Interview what the change is for before how to build it: why it is needed, for whom, what the user will see and do — including empty, error, and edge states — and how we will know it is done. Ask in rounds per the asking-user-questions concept skill until no such decision is left assumed; look facts up instead of asking them. Record the answers in the task-spec's Product section, then confirm that understanding with one inference-confirmation question before any technical choice — skip only when the request itself supplied all of it.
- Technical phase. Interview the technical decisions that the product answers leave open: constraints, compatibility, how the change will be verified, and the why of any decision noted in step 1. If you can name an alternative you rejected, especially where the code lives (server or browser, contract or display), show it with the trade-off instead of deciding silently. Record the Design section: the chosen approach and why, trade-offs that matter, explicit deferrals.
- Self-review, then review once. Remove placeholders, contradictions, accidental scope expansion, and ambiguous requirements; then present one cohesive design scaled to the change. Ask for approval only when the request has not already approved it; revise the task-spec if the user adjusts it.
- Build. Implement against the accepted design. Before handoff, self-review the task diff: no silent lint/type suppressions, duplicated nontrivial derivations, rationale left as code comments, or remnants of a replaced pattern.
- Amend specs. Follow
amending-specs.md.
Skipped questions or a host with no question UI are not blockers: record the best assumption in the task-spec as unconfirmed and continue.
What a good task-spec looks like
- Scoped to one piece of work, sized to it — a few lines for a small change.
- Request, Product (or Bug for the bug branch), Design, unconfirmed assumptions, and explicit deferrals.
- Temporary: its durable content moves into the owning specs at step 9 instead of being copied.
Red flags — stop
- You are editing source code before the design is accepted.
- "It's small" or "the request already says what to do" — the workflow scales down, it does not switch off.
- You offered technical options before the product phase was settled.
- The task-spec has a Design section the user hasn't seen.
- You are about to hand off without step 9 — the specs drift from the code one skipped change at a time.
Ending
amending-specs.md ends this workflow. PR lifecycle work, if requested, then enters
shipping-a-pr separately.
常见问题
如果我已经提供了细节,它会跳过一些问题吗?
不会。详细的请求会让问答环节更短,但问题依然会提出。
它会用于小的错别字修复吗?
不会。不改变行为的修改,例如错别字或文档,不需要使用它。
商定的设计保存在哪里?
保存在项目 ThinkRail 上下文文件夹中的任务规格文件里。
详情
作者的原始描述
Use before implementing a feature, a change in behavior, or a bug fix — however small. Not for questions, checks, or edits that change no behavior (typos, documentation or configuration only, mechanical refactors).
repo: JetBrains/thinkrail
热度
- GitHub 星标
- 7.1k
- 排名
- #13489
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
asking-user-questions
7.1k教你的智能体分轮次向你提出清晰的问题,并给出合适的回答选项,直到悬而未决的问题都得到确定。
choosing-a-workflow
7.1k帮你的智能体为新项目、拉取请求或任何产品功能的变更,选择合适的 ThinkRail 工作流。
importing-a-codebase
7.1k教你的智能体阅读现有代码库,并起草第一套项目规格,只在代码不清楚的地方询问你。
setting-up-a-project
7.1k帮你的智能体为规格驱动的工作搭建项目,并根据是新想法、现有代码还是已有文档的项目选择合适的路径。