prototype
Prototype
A prototype is a temporary artifact that answers a specific design or behavior question. Build only what makes that question possible to judge.
Choose the artifact
Identify the question, who will judge the result, and which observation or comparison would help them decide. Use the user's prompt and relevant existing code. Ask only when unresolved ambiguity would materially change the artifact; otherwise state a reasonable assumption and proceed.
- Logic, state, or data shape: LOGIC.md describes a shareable HTML demo with visible state and guided scenarios, useful when someone needs to explore behavior interactively.
- Appearance or interaction: UI.md describes previews in product context and ways to compare alternatives when a visual choice remains open.
These are defaults, not required formats. A script, fixture, runnable sample, or single mockup may answer a narrower question more directly. Preserve the user's requested medium and stack. Use one artifact or variant when it can answer the question; add alternatives only to compare meaningful choices, following any count the user requested.