Productivity & Automationlow risk
discovery-question-form
Turn-1 discovery question form for ambiguous briefs.
nexu-io/open-design·plugins/_official/atoms/discovery-question-form/SKILL.md
59/ 100推薦值
匯入這個 Skill
選擇你的 coding agent,複製專案級或個人級安裝指令。
匯入目前專案.agents/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a codex -y匯入個人環境~/.agents/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a codex -g -y匯入目前專案.claude/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a claude-code -y匯入個人環境~/.claude/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a claude-code -g -y匯入目前專案.agents/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a github-copilot -y匯入個人環境~/.copilot/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a github-copilot -g -y匯入目前專案.agents/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a cursor -y匯入個人環境~/.cursor/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a cursor -g -y匯入目前專案.agents/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a gemini-cli -y匯入個人環境~/.gemini/skills/discovery-question-form
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/atoms/discovery-question-form -a gemini-cli -g -yNative Gemini CLI
gemini skills install https://github.com/nexu-io/open-design.git --scope workspace --path plugins/_official/atoms/discovery-question-form⚠ 安裝指令使用開源 skills CLI。執行前請檢查來源、腳本與權限。
Skill 指令
在 GitHub 查看原始檔案 ↗# Discovery question form
When the user's brief is ambiguous, the agent's first turn must surface
the smallest possible set of clarifying questions that unblock the rest
of the workflow. The questions are rendered as a structured form
(GenUI surface kind: `form`, persist tier: `conversation` so a follow-
up turn doesn't re-ask).
## When to fire
- Brief is missing audience, target medium, or core intent.
- Brief explicitly invites questions ("ask me anything if unclear").
- The discovery skill or pipeline declares a `discovery` stage.
## 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.
```html
<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",
"options": ["VC", "Customer", "Internal team"],
"maxSelections": 2,
"required": true
}
]
}
</question-form>
```
## Question object shape
Each entry in the top-level `questions` array uses:
- `id`: stable answer key, for example `audience`.
- `label`: user-facing question copy.
- `type`: one of `radio`, `checkbox`, `select`, `text`, `textarea`,
`number`, `range`, `date`, `time`, `datetime-local`, `color`, `url`,
`email`, `tel`, `file`, `switch`, or `direction-cards`.
- `options`: required for choice controls; strings are allowed, or objects with
localized `label` and stable `value`.
- `allowCustom`: leave unset or set to `true` for finite-choice controls so
users can type their own answer instead of accepting only generated options.
Set `allowCustom: false` only when the downstream system needs an exact
machine id.
- `customLabel` / `customPlaceholder`: optional localized copy for that custom
answer input.
- `maxSelections`: include this for checkbox controls with a limited selection
count.
- `required`: set to `true` only when the answer is needed before work can
continue.
## Convergence
The discovery atom completes when every required question has an answer
in `genui_surfaces` for the current conversation. The agent should not
loop back to discovery after that — the same surface id renders cached
on the next turn.