nexu-io/discovery-question-form
Structured clarification form for unresolved material requirements.
npx skills add https://github.com/nexu-io/open-design --skill 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>].
discovery pipeline stage only makes this protocol available; declaringor entering the stage does not trigger a form.
conversation, plugin inputs, memory, active skill, and design system.
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.
<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>
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 withlocalized label and stable value.
allowCustom: leave unset or set to true for finite-choice controls sousers 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 customanswer input.
maxSelections: include this for checkbox controls with a limited selectioncount.
required: set to true only when the answer is needed before work cancontinue.
The discovery atom completes when the next user message contains an answer
for every required question. Treat those submitted answers as conversation
context and do not ask the same questions again unless later input invalidates
an answer.
Take nexu-io/discovery-question-form from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.