BXUP Track progress & test yourself — free
UI/UX & Agent-Experience Design · Hands-on lab · ~4 min read
UI/UX & AGENT-EXPERIENCE DESIGN · HANDS-ON LAB

Lab 07 · Prompt-to-Prototype

Take an AI-feature spec to a working Figma Make prototype wired to real model responses — not lorem-ipsum happy paths — including at least one deliberate failure state a test participant can actually hit. The spec you inherit contains errors, and the prototype is only done when a stranger can break it gracefully.

Ravi is a senior designer at Cartouche, a fictional document-management platform, and the AI feature on his desk is "Ask Your Docs" — a panel where users ask natural-language questions about their uploaded contracts and get answers with source citations. The PM's spec reads confidently. Too confidently: it describes a system that never fails, cites a guideline that does not exist, and specifies a confidence display that research warns against. Ravi's job — and yours — is to catch the spec's errors, then build a Figma Make prototype that behaves like the real feature will: sometimes brilliant, sometimes wrong, occasionally refusing. A prototype that only demos the happy path is a lie you tell your usability participants.

You will need

  • Figma Make (available on free/Starter tier with monthly generation credits — budget them; this lab is designed to fit inside a free allowance).
  • A chat AIfree ChatGPT, Claude, or Gemini — to generate realistic model responses to wire in.
  • Timeabout 75 minutes.
  • No real datathe spec and all document content below are fictional.

The spec you inherit

SPEC — "Ask Your Docs" v0.9 (PM draft)

Surface: right-hand panel in the document viewer. Input box
with placeholder "Ask anything about your documents…"

Behavior:
1. User asks a question. Answer streams in under 2 seconds.
2. Every answer shows a confidence percentage (e.g. "94%
   confident") so users know exactly how reliable it is.
3. Answers cite source passages. Per HAX guideline G23
   ("always show provenance"), citations are mandatory, so
   the model will always find a supporting passage.
4. There is no error state needed: if the model is unsure it
   will simply give its best answer. Users prefer an answer
   to a non-answer (see NN/g study, 2024).
5. Out-of-scope questions (weather, chit-chat) are handled
   the same as in-scope ones, for a seamless experience.

Test scenario: user has uploaded "MSA_Brightline_2025.pdf",
a services agreement. Demo questions: payment terms, renewal
date, termination clause.

Steps

  1. Red-line the spec first — fifteen minutes. Check every claim: look up whether "HAX guideline G23" exists (the HAX toolkit's guideline list is public — count them), interrogate the confidence-percentage requirement against what you know about calibrated confidence (can the system actually produce a meaningful "94%"?), and list every failure mode the "no error state needed" line waves away. Write a spec errata with a fix per item. Do not build from the uncorrected spec.

  2. Script the model's real behavior. In your chat AI, generate the response set you will wire into the prototype. Prompt: "You are a document-QA feature answering questions about a fictional services agreement (MSA between Cartouche client 'Brightline' and vendor 'Nexa Services', signed March 2025, net-45 payment terms, 12-month auto-renewal, 60-day termination notice). Produce answers with a short quoted source passage for: (a) payment terms, (b) renewal date, (c) termination clause, (d) a question the document does not answer — liability cap — where you must say the document does not specify it, (e) an out-of-scope question — 'what's the weather in Pune' — where you refuse and redirect." Save all five verbatim.

  3. Design the failure states before the screens. From your errata, define at minimum: not-in-document (honest "this document doesn't specify"), out-of-scope refusal (with a redirect to what the feature can do), and low-certainty answer (hedged language plus a verification affordance — "check the source passage," prominently linked — instead of a fake percentage). Sketch each as a one-line behavior note.

  4. Build in Figma Make. Prompt Make with the corrected design: "A document-viewer app with a right-hand 'Ask Your Docs' AI panel. Chat-style Q&A. Answers appear with a quoted source-passage card (document name + section). Include: a streaming/thinking state, an answer state with citation card, a 'not found in your documents' state, and a polite refusal state for off-topic questions. Clean SaaS style." Iterate with follow-up prompts rather than regenerating from scratch — regeneration burns credits and loses fixes.

  5. Wire in the scripted responses. Replace Make's placeholder text with your five saved responses so the prototype's content is real model output, not designer-imagined output. Map them: three happy paths, one not-in-document, one refusal. If Make supports connecting a live model for the input box, wire it and keep your scripted set as the guaranteed-reproducible path for testing.

  6. Make the failure reachable. A participant must be able to hit the failure state through normal behavior, not via a hidden demo button. Set up the flow so asking about "liability cap" (a plausible, on-topic question) lands on the not-in-document state, and any off-topic entry lands on the refusal. The test of this step: hand the prototype to a colleague with no instructions and see whether they can encounter a failure inside two minutes.

  7. Audit your own prototype. Against your step-3 notes: does the not-found state avoid blaming the user, does the refusal explain scope rather than just declining, does the answer state make the citation checkable (passage visible, not just a chip), and did any fake precision ("94% confident") survive into the UI?

  8. Package the deliverable. Prototype link, the spec errata, your five scripted responses, and the prompt history (Make's iteration trail) with a two-line note on credit usage — which iterations were worth their cost and which you would skip next time.

Note

Wiring scripted real-model responses into a prototype gives you the best of both worlds — authentic AI texture in every answer, and perfectly reproducible sessions when you put participants in front of it in Lab 14.

Verify your work

  • A spec errata catching the planted errors before any building started.
  • Five scripted responses generated from a real model, wired into the prototype verbatim.
  • At least two reachable failure states — not-in-document and out-of-scope refusal — hittable without insider knowledge.
  • No uncalibrated confidence percentage anywhere in the UI; a verification affordance in its place.
  • Prototype link plus prompt history showing iteration, not regeneration.
▸Answer key — the planted spec errors and expected resultsoptional deep dive — click to expand

Planted error 1 — the fabricated guideline citation. "HAX guideline G23" does not exist: the Microsoft HAX Toolkit contains exactly 18 guidelines (G1–G18). The spec launders a made-up authority to make a requirement unquestionable — and the requirement it props up ("the model will always find a supporting passage") is itself the dangerous part: mandating citations for every answer pressures the system toward hallucinated citations when no passage exists. Correct fix: citations mandatory when an answer is given from the document; when no passage supports an answer, the honest output is the not-in-document state. (Provenance is a real theme in HAX — G11 concerns making clear why the system did what it did — but there is no G23.)

Planted error 2 — the uncalibrated confidence percentage. "94% confident" implies calibrated probability the underlying system does not produce; research consistently shows precise-looking confidence numbers create over-reliance — users read 94% as "true." The corrected design replaces false precision with verification affordances: visible source passages, hedged language for uncertain answers, and easy paths to check. (This is exactly the wrong-but-plausible principle Lab 13 builds into a full kit.)

Planted error 3 — "no error state needed." The line "if the model is unsure it will simply give its best answer" is a hallucination mandate: it instructs the system to answer even without support, and its NN/g citation is unverifiable set dressing (check it — the spec gives no title, link, or finding; treat uncheckable citations as decoration, not evidence). The out-of-scope line compounds it: handling weather questions "the same as in-scope ones" means the feature will confidently answer questions about content it has never seen. Your errata should have converted these into the two designed failure states you then built.

Expected prototype qualities. Strong submissions: the liability-cap question is answerable-looking (on-topic, plausible) yet lands on the honest not-found state — that reachability is the difference between a demo and a test instrument; the refusal state names what the feature can do; the citation card shows the quoted passage inline. Weak submissions: failure states exist but only via a "show error" toggle; confidence percentage quietly retained because it "looked designed."

Grading yourself. All three spec errors in the errata, both failure states reachable by a naive user: excellent — this prototype can carry a real usability session. Errors caught but failure states only demo-reachable: finish step 6; reachability is the requirement. Built faithfully from the uncorrected spec: the prototype now demos a system that cannot exist — read the errata items above and rebuild the two failure states before Lab 14, which depends on them.

Key Takeaway:

An AI-feature prototype earns its existence by failing on purpose — scripting real model responses, including the honest not-found and the refusal, is what makes the thing testable instead of just demoable.

This is the free reading view. Open BXUP to track your progress, run the hands-on labs, and prove it with original, exam-pattern assessments.
© Anvi Innovate · BXUP — Be Exponentially Upskilled · BXUP is an independent learning platform, not affiliated with or endorsed by AWS, Microsoft, Google, NVIDIA, IBM, Salesforce, Databricks, Oracle or Anthropic. All trademarks belong to their respective owners. · bxup.in