discovery-question-form
它能做什么
这个工具会生成一份表单,让你填写 AI 开始项目所需的重要信息。它会提出具体的问题,确保在动手之前收集到所有必要的细节。
适用场景
- ✓当你开始一个新项目,而 AI 需要更多细节时。
- ✓当 AI 的信息不足以继续推进时。
- ✓为了确保最终成果符合你的期望。
技能链接
https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/discovery-question-form/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我需要一份表单,用来确定演示文稿的受众、格式和语言。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会展示一份带有问题的表单,你直接在聊天窗口里填写答案。AI 会利用这些答案,更准确地理解你的需求。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Discovery question form
This atom defines the <question-form> protocol. It does not decide whether
clarification is required. Follow the active skill and core prompt's
requirements-clarification policy. When they identify unresolved information
that would materially change the design direction, content structure, or
delivery format, surface the smallest possible set of questions that unblocks
the workflow.
The questions are rendered as a <question-form> artifact inline in the
originating assistant message. This is assistant text parsed by the host, not a
plugin GenUI surface or a native tool call. Submitted answers return as the
next user message, beginning with [form answers — <form-id>].
Activation boundary
- A first turn or new project does not by itself require a form.
- A
discoverypipeline stage only makes this protocol available; declaring or entering the stage does not trigger a form. - Missing metadata is not automatically a question. First use the request, conversation, plugin inputs, memory, active skill, and design system.
- If enough information is available to proceed safely, do not emit a form.
- If a material blocker remains, ask only for that unresolved information.
Emission shape
Emit the form as a question-form block whose body is a JSON object with a
top-level questions array. Do not emit a bare question object by itself; the
renderer only recognizes the wrapped form contract.
The example below shows field shapes, not a fixed questionnaire. Include only unresolved questions and derive their recommendations from the actual brief; these example values are not fallback answers. A reference file remains unanswered until supplied.
<question-form id="discovery" title="Quick brief — 30 seconds">
{
"description": "I'll lock these in before building. Skip what doesn't apply — I'll fill defaults.",
"questions": [
{
"id": "audience",
"label": "Who's the primary audience?",
"type": "checkbox",
"default": ["Customer"],
"options": ["VC", "Customer", "Internal team"],
"maxSelections": 2,
"required": true
},
{
"id": "format",
"label": "Which format should I use?",
"type": "radio",
"default": "landscape",
"options": [
{ "label": "Portrait", "value": "portrait" },
{ "label": "Landscape", "value": "landscape" }
]
},
{
"id": "language",
"label": "Which language should the promo use?",
"type": "select",
"default": "en",
"options": [
{ "label": "Chinese", "value": "zh-CN" },
{ "label": "English", "value": "en" },
{ "label": "French", "value": "fr" },
{ "label": "German", "value": "de" },
{ "label": "Japanese", "value": "ja" },
{ "label": "Spanish", "value": "es" }
]
},
{
"id": "reference",
"label": "Add a reference file if available",
"type": "file",
"required": false
}
]
}
</question-form>
Question object shape
Each entry in the top-level questions array uses:
id: stable answer key, for exampleaudience.label: user-facing question copy.type: one ofradio,checkbox,select,text,textarea,number,range,date,time,datetime-local,color,url,email,tel,file, orswitch.default: the recommended answer inferred from the brief, project metadata, plugin inputs, and known context. Use an option's stablevalueforradioorselect, an array of option values forcheckbox, and concrete suggested text for free-text fields. String options use the exact option string as their value. RespectmaxSelections; never substitute localized labels for stable values. The host also accepts thedefaultValuealias; emit only one of these fields per question.- Prefill each non-visual question suitable for a recommendation; omit
defaultonly when no reasonable recommendation exists, such as a file upload. Do not invent a missing fact or select the first option merely because it is first. A recommendation written only indescriptiondoes not preselect an answer: encode it in the default field. Place that field beforeoptionsso it arrives before a long option list during streaming. options: required for choice controls; strings are allowed, or objects with localizedlabeland stablevalue.
…
常见问题
如果我不回答某个问题会怎样?
如果某个问题被标记为必填,在你回答之前 AI 无法继续。非必填的问题可能会使用默认值。
我可以跳过问题吗?
对于不适用或非必填的问题,你可以跳过。AI 会尝试使用默认值,或者之后再向你询问更多信息。
AI 怎么知道该问哪些问题?
AI 会分析你的请求,找出对项目成功至关重要但目前缺失的信息。
详情
热度
- GitHub 星标
- 101k
- 排名
- #984
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …