Discovery question form

From wolfenazz/YzPzCode · View interactive version

Discovery question form is an AI agent skill from the GitHub repository wolfenazz/YzPzCode. Turn-1 discovery question form for ambiguous briefs.

How to use this skill

Skill file

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

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.

<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:

localized label and stable value.

count.

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.