asking-user-questions
它能做什么
这个技能说明 AI 应如何把问题分成合理的组,设计回答选项,并在你没有回复时如何处理。适合使用 ThinkRail 工作流、并需要在行动前与你确认决定的人。
适用场景
- ✓当工作流需要你对多个未决的决定作出输入,才能继续时。
- ✓当 AI 必须向你提问,并等待你回答后才能继续时。
- ✓当一个问题依赖于另一个问题的答案时,应稍后再问,而不是一次全部提出。
技能链接
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/asking-user-questions/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在你设计这个功能之前,请分几轮向我提出你需要的问题。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能说明如何把彼此独立的问题合并为一轮提出,等待回答,然后判断哪些问题仍然重要。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Asking User Questions
The workflow family's shared norms for ask_user_question: how to interview in rounds, what makes a
question worth asking, how to shape options, and how to degrade when answers don't come. Process
skills name this concept at the steps that ask; when to ask — and where the answers get recorded —
stays with the referencing skill.
Interview in rounds until nothing is assumed
- Map the subject as a design tree: every decision branches into the decisions that hang off it. The frontier is every open decision whose prerequisites are already settled — the questions you can ask now without guessing at answers you haven't heard.
- One call = one round = the whole frontier, with no cap on its size. A question whose answer depends on another question still open belongs to a later round, never the same one. Never split independent questions across back-to-back calls.
- The call blocks the current run. Answers arrive as this tool's result. Don't keep working on the blocked step or assume an answer until it arrives — seconds or days later. A composer message sent while the card is open supersedes the round: the card closes unanswered and the message arrives as the next user message, so treat it as the user's reply and re-ask only what still matters.
- After each round, recompute the frontier: answers settle branches, unblock their dependents, and prune branches that no longer apply. Ask the next round; never pre-write later rounds.
- The interview is done when the frontier is empty — every branch visited, nothing material silently assumed. Then continue the referencing skill's next step; there is no extra "are we aligned?" round (the referencing skill's own gates still apply).
- Depth follows the work, not a quota: work with no open user decision gets zero rounds; a decision-heavy change may take several.
Facts are yours, decisions are theirs
- Never ask the user for a fact the workspace, the specs, or the web can answer. Look it up. When a lookup is slow, start it in the background (a sub-agent, when the host offers one) and ask the rest of the frontier meanwhile — only the questions downstream of that lookup wait.
- Every decision — scope, observable behavior, trade-offs the user will live with — goes to the user. Picking an option yourself and moving on is answering your own question, not inferring.
- If candidate options differ only internally — identical observable behavior — it is not a user decision: decide yourself and record the reasoning in the workflow's artifact.
What makes a question worth asking
- It changes the outcome. Each answer leads somewhere different that the user will see or live with. If every option ends in the same place, drop the question.
- It is specific to this work. Name the actual feature, screen, file, or user ("when a project is renamed while collapsed…"), never a generic template question.
- It probes what people silently assume. Sweep the tree's usual blind spots: scope edges and non-goals, empty / error / failure states, edge cases and limits, concurrency or multiple instances, existing data and behavior that must migrate or stay, defaults, and who the work is for.
- It surfaces tension. A conflict with a recorded spec decision, an earlier answer, or the request itself is asked about outright, quoting both sides.
- It never re-asks. Anything the request, a prior answer, or the specs already settled is settled; build on it.
- A concrete scenario beats an abstract principle. Ask "a user drags a file onto a busy session — queue it or reject it?", not "how should concurrency be handled?".
- If the question can't be settled by talking (how something should look or feel), show a concrete
artifact in
options[].preview— a mockup, snippet, or config — instead of describing it.
Options
- Recommended option first, label suffixed "(Recommended)", plus a one-line
recommendedReasonsaying why you recommend it over the alternatives (shown inline under the option as aWhy:line). - Every option: a concise label (1–5 words, ≤ 60 chars) + a description carrying the trade-off or consequence of choosing it. Tailor options to the work at hand — never generic placeholders.
- Options must be decidable by the asked user: frame them as observable behavior or outcomes ("collapsing a project stays collapsed after a rename"), never as implementation mechanics ("semanti
常见问题
它会一次问完所有问题吗?
只问彼此不相互依赖的问题。有关联的问题会等到之后的轮次再问。
如果我在问题未回答时发送新消息会怎样?
该问题会在未回答的情况下关闭,你的消息会被视为回复,因此 AI 只会重新询问仍然重要的问题。
这是我可以单独运行的工作流吗?
不是。它是一组共享规则,供其他工作流技能使用。
详情
作者的原始描述
Use when composing an ask_user_question round inside a workflow, or when a workflow skill names it at a question step. Shared norms for the tool — not a workflow, nothing to execute.
repo: JetBrains/thinkrail
热度
- GitHub 星标
- 7.1k
- 排名
- #13488
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
brainstorming
7.1k帮你的智能体在构建之前,和你一起讨论功能、行为变更或缺陷修复,并记录商定的设计。
choosing-a-workflow
7.1k帮你的智能体为新项目、拉取请求或任何产品功能的变更,选择合适的 ThinkRail 工作流。
importing-a-codebase
7.1k教你的智能体阅读现有代码库,并起草第一套项目规格,只在代码不清楚的地方询问你。
setting-up-a-project
7.1k帮你的智能体为规格驱动的工作搭建项目,并根据是新想法、现有代码还是已有文档的项目选择合适的路径。