Lesson 02.3
Prototype faster with Claude and Figma
In this module · Module 02
5 min
English captions
Objective
Generate a transition matrix and a small prototype from a component manifest, then test the edge states yourself.
Real-world case card
Figma · Claude and Figma
Feature
Figma MCP server setup guide (Figma Help Center)
Publicly described decision
Claude can read design context such as components, variables and layout, generate code from selected frames, and write to the Figma canvas. It works through the Claude desktop app or Claude Code.
What the case supports
The tool can start from your real components instead of inventing new ones.
Not published
Speed or quality results. Measure your own in lesson 02.4.
Apply it
Which relay states would you check by hand before trusting a generated prototype?
Take into your capstone
Add a small prototype or a reviewed state specification for the relay to your package.
Open the research packet →
Descriptive transcript
What’s on screen, then what’s said, scene by scene.
On screen: Title card. Lesson 02.3: Prototype faster with Claude and Figma. Objective: Generate a transition matrix and a small prototype from a component manifest, then test the edge states yourself.
In this lesson we'll use Claude with Figma to get from a design to a working prototype of the relay, fast. And then we'll do the part that only you can do: try to break it.
On screen: WHAT YOU GIVE IT. Heading: Start from your own system. List: An authorized file (A duplicate of your own training file, not a client's.); Or a manifest (Component names, states, tokens and input rules.); A first request (The transition matrix, before any prototype.)
Start by deciding what the tool gets to see. Either an authorized duplicate of your own Figma training file, never a client's unreleased work, or a manifest: your component names, their states, your tokens and your input rules. The course includes one for the relay. And here's the part most people skip. Your first request isn't 'build me a prototype'. It's 'give me the transition matrix'. Because if the states are wrong, a polished prototype just hides the mistake.
On screen: THE TRANSITION MATRIX. Table, Relay states, before any pixels. Columns: From, Event, To, Player sees. Rows: Idle, Teammate starts diverting, Waiting, Amber light, 'waiting for Rin' | Waiting, Power arrives, Ready, Green light, signal prompt | Waiting, Player signals early, Invalid, Reason shown, retry available | Ready, Player signals, Online, Light, chime, text, rumble | Any, Connection drops, Reconnecting, Last confirmed state kept
Here's the kind of matrix you want back. From idle, when the teammate starts diverting power, the relay goes to waiting, and the player sees an amber light that says it's waiting for Rin. From waiting, power arrives, and it goes to ready. Green light, signal prompt. If the player signals early, it goes to invalid, and the relay says why, with retry still available. That row is the one Kai needed in module one. From ready, the player signals and it comes online, confirmed on more than one channel. And from any state, if the connection drops, the game shows the last confirmed state, not a guess. Read every row. This is where you catch the missing branch, not in the prototype.
On screen: THE LOOP. Flow, Manifest to tested prototype: Manifest: Names, states, tokens → Matrix: Reviewed by you → Prototype: Small, reuses your names → Diff: What changed and why → Edge tests: You try to break it
So the loop goes: manifest, then matrix, which you review. Then a small prototype. Ask it to reuse your existing component names, input states and tokens, so whatever comes back maps to your system instead of inventing a new one. Then read the diff. What did it change, and why? And finally, the edge tests. That last box is yours.
On screen: Statement in large type: “"Using only these components and states, list every transition. Flag anything undefined. Don't build anything yet."”
Here's an example of a first request that works well. Using only these components and states, list every transition. Flag anything undefined. Don't build anything yet. Every part of that sentence is doing a job. 'Only these components' keeps it inside your system. 'Flag anything undefined' turns the tool into a reviewer of your gaps. And 'don't build anything yet' stops it from jumping ahead to the part that looks impressive but hides mistakes.
On screen: WHO DOES WHAT. Comparison, The tool vs. the designer: CLAUDE: Fast first versions (Transition matrix from a manifest; Small prototype with your names; A diff that explains its changes) versus YOU: Product decisions (Which states exist at all; What the player should feel on failure; Whether it's ready for engineering)
Let's be clear about roles. The tool produces fast first versions: the matrix, a small prototype that uses your names, and a diff that explains what it changed. You make the product decisions. Which states exist at all. What the player should feel when they fail. And whether this is ready to hand to engineering. Those aren't things you delegate, however good the draft looks.
On screen: Lantern Relay gameplay mockup, labeled “PROTOTYPE // EDGE TEST”. Top-down greybox: Kai (the player) and teammate Rin, a power junction linked to relay 1, the beacon above, teammate status card top right. Then the relay turns green: power is in, Rin's card reads POWER READY, a prompt above the relay reads “SIGNAL READY” with the E key. Then Rin's card reads STATUS UNKNOWN, a banner reads RECONNECTING, magenta brackets frame the relay. Then the frame freezes.
Here's what an edge test looks like on the prototype. Power is in and the relay is ready. Now drop the connection right as the player signals. What does the prototype show? It should hold the last confirmed state, and it should never flash 'complete' and then take it back. That's exactly what happened to P04. If your prototype does it, you've found the bug before engineering builds it.
On screen: TRY TO BREAK IT. Heading: Four edge tests, every time. List: Keyboard focus (Can you reach and trigger everything without a mouse?); Delayed acknowledgment (What shows while the server hasn't confirmed yet?); Cancelled attempt (Back out mid-action. Does state stay true?); Reconnect (Drop and restore. Is the last confirmed state kept?)
Run these four tests on every generated prototype. Keyboard focus: can you reach and trigger everything without a mouse? Delayed acknowledgment: what does the player see while the server hasn't confirmed yet? A cancelled attempt: back out halfway. Does the state stay true? And reconnect: drop and restore, and check that the last confirmed state is what comes back.
On screen: Real-world case card. Figma, Claude and Figma. Feature: Figma MCP server setup guide (Figma Help Center). Publicly described decision: Claude can read design context such as components, variables and layout, generate code from selected frames, and write to the Figma canvas. It works through the Claude desktop app or Claude Code. What it supports: The tool can start from your real components instead of inventing new ones. Apply it: Which relay states would you check by hand before trusting a generated prototype? Source: Figma Help Center.
This workflow is supported by the tools today. Figma's own setup guide for its MCP server says Claude can read design context like components, variables and layout, generate code from selected frames, and write back to the Figma canvas, through the Claude desktop app or Claude Code. What it doesn't give you is evidence that the output is right for your game. That part you measure yourself, and we'll do that in the next lesson. For now, ask: which relay states would you check by hand before you trust a generated prototype?
On screen: PAUSE AND PREDICT. Question: What should you ask for first? Options: A) A polished HTML prototype of the relay; B) A transition matrix from your component and state manifest; C) New component names that fit the prototype. After a pause, answer B is highlighted.
Quick one. When you start with a tool like this, what should you ask for first? A polished prototype? A transition matrix from your manifest? Or new component names? The transition matrix. It's quick to read, and it's where missing branches show up. A polished prototype built on a wrong matrix just makes the mistake look finished. And you want your names, not new ones, so the prototype maps back to your system.
On screen: Recap checklist: Give it an authorized file or a manifest, nothing else.; Ask for the transition matrix first, and review it.; Reuse your component names, states and tokens.; Run the four edge tests yourself.. Capstone box: Add a small prototype or a reviewed state specification for the relay to your package.
Recap. Give the tool only what you're allowed to share. Get the matrix first. Reuse your own names. And run the four edge tests yourself. Product decisions stay in the designer's hands. For your capstone, add a small prototype or a reviewed state specification for the relay. Next lesson, we'll turn it into specs, tickets and QA cases, and measure whether AI actually saved you time.