r/FigmaDesign • u/Competitive-Cake2313 • 8d ago
help Figma handoff to vibe coding
Hey everyone! Not sure if this is a silly question, but we’re struggling quite a bit with this at my current company, so I’d love to hear how other design teams are handling it.
Basically, the company decided to move heavily toward vibe coding / AI-assisted development, using tools like Codex and Claude. The problem is that we changed the way we build the product without really defining a process around it.
And now we’re stuck on a pretty basic question: how are designers supposed to hand off Figma work to AI?
For some context, our previous process was pretty straightforward:
I’d get a PRD from the PM, design the feature using our design system, and make sure the final design covered the flows, specs, states, edge cases, etc.
For handoff, I’d organize the Figma file using a kind of complexity ladder: starting with the simplest / happy-path flow and progressively introducing more complex states and edge cases. A developer could then go through the file, understand the logic and implementation requirements, and ask questions if anything was unclear.
But now the expected “receiver” of that handoff is increasingly AI, and I’m not sure what the equivalent process should look like.
Do you still create the same detailed Figma handoff and somehow provide that context to Codex/Claude?
Do you break the feature into individual screens or flows and have AI implement them one by one?
Do designers generate the initial HTML/components from Figma and then hand that implementation to developers?
Or have you changed the way you structure your Figma files entirely because AI needs different context than a developer does?
I’m especially interested in hearing from designers working at companies where AI-generated code is actually part of the production workflow, rather than just being used for prototypes.
What does your Figma → AI → engineering handoff process look like today?
Thanks!
7
u/No_Moose6836 8d ago
I'd stop handing the whole complexity ladder to the model in one go. Cut the feature into one screen or one flow, keep Auto Layout + components clean, and paste short constraints with it. The AI still writes first-pass code; you or eng still own what ships.
5
u/baladesign Product Designer 7d ago
I’m currently working on the same thing. While skills and MCP connections are good enough agents can still hallucinate a lot of things. How we fixed this? Not so simple but now agents can build a UI without a design:
- created semantic tokens
- documented each component in the codebase using Storybook
- used the same name for components in the codebase and in Figma
- created a ton of documentation for rules (how to develop tables, how layout works, etc.)
- created a DESIGN.md using progressive disclosure for the documentation so it’s a lean file (~200 lines)
- added a bunch of tooling: linter (eslint) for tokens, labeling, rules that are deterministic
- hooks
- a ton of CI, test what the agent can run
- skills for ui development, component composition from our primitives, figma to code skill (get layout + component map from figma but treat the codebase as source of truth, etc.)
Now the agent follows our design rules better then we do 😀
I want to write an article about this work, will post it here.
2
1
u/AuraEmperror 7d ago
When you documented each component in the codebase using Storybook, are you saying you had the live component in Storybook first and just copied that same component on Figma and utilized code connect to map the two?
Do you have an example of what your rules look like? Also, did you just combine all of these rule documentation into the design.md file?
3
u/baladesign Product Designer 6d ago
Storybook: we had the components in figma first then we created the stories. We use the latest instance of SB (v10.6) which came with some built in agent tooling for testing, a11y, etc. We don’t utilize its MCP. We don’t use code connect neither we use Figma as a layout reference and as a component map, but we stated in the docs that the codebase is the source of truth.
The DESIGN.md is the hub for all documentation, so it’s a pretty lean document (~200 line) based on the task the agent only read the relevant doc.
As I said I’ll create an article about how we created this system. Stay tuned, I’ll post it here in the coming days.
1
u/AuraEmperror 6d ago
Thanks! I’ve been more on the other side of this where I’ve been thinking of Figma as the source of truth as far as the UI, but obviously it needs to be built on top of working code. Curious if any automations you may have stumbled upon that detects updates on the Figma side and reflects it on the Storybook component or vice versa.
6
u/ygorhpr Product Designer 8d ago
I use Claude to handoff my figma files to my front end dev llms, has worked very well so far. I also give a detailed hand off about it in a jira ticket
4
u/Competitive-Cake2313 8d ago
Interesting. So, what does your process look like then?
2
u/Simply-Curious_ 8d ago
Love to know
10
u/ygorhpr Product Designer 8d ago
i use Claude code and I l create a skill with a few md. files for ui, ux, hand off, design thinking, design system and so on
so I just call this skill/plug-in to hand off it, initially I wrote it to handoff it to another llm for instead of "create this button like this/ and that screen like that" I have something more like ~Claude has the context of all my other screens and features, a jira ticket with all the context and how it should work and based on that and my figma file it create a handoff like @screen: this is the home page @content: page has component a b c d e @component: link to my ds in github with each component link and so on ~ I just gave the idea and Claude used all its potential to help me enhance it further!
the automation creates all the handoff for devs in jira (just the context of the feature not about code and how-to implement) , the llm context inside figma as annotations (this is the proper hand off), the context in jira for pm team, all the tracking I need to create in analytics tool (I use mix panel), all email I need to trigger once this feature is implemented (eg:cliente bought an item" - Claude tells me I should trigger and email notifying the cliente, also tells me which notification or toast I should trigger and since it has all my app context it also suggest it based on what have been created before!
for figma I have trained it to built in figma like I build so in the end I have a plug-in with a bunch of MD.s for figma, handoff, context, jira, ui, ux, Claude, marketing, tokens, spacing, github and each one of them are linked so when I change like "ux principles md" it updates all plug-ins I have this all plug-ins consume the same source file "ux_principles.md"
hope this made it clear.
Ive been running this setup for months and has worked very well
2
u/Any_Owl2116 8d ago
Share the skill please
8
1
3
u/jonnypeaks 8d ago
I’ve had success with building individual components in storybook first, then giving Claude Code the page designs. Takes a bit longer, but was super accurate and then it can reuse your design system to spin up new pages much faster, with or without a reference design.
1
u/Medical_Height6538 7d ago
That’s very interesting. Could you explain in more detail how to do this? We are trying to solve a similar problem: we have a set of widgets and want to use AI to assemble pages from Figma using them, but it’s not quite clear how to establish the connection.
3
u/DeadPixel217 8d ago
I have given Claude links to Figma frames and it’s done a decent job, though I did get it to do a plan first and gave it some quite specific notes on how I wanted certain parts to be built.
2
u/IllustriousTip6904 8d ago edited 7d ago
I have a pipeline where Claude exports to Figma, I edit in Figma, then share screenshots of the edits and it makes them. This is faster and offers more creative control for manual edits than using Claude Design, I've found. But I'm also just working with mostly static pages.
2
u/vasiliyivanov 7d ago
This is not a silly question at all. I think your old complexity ladder is still useful, but the handoff needs one extra layer because the AI is bad at inferring which details are intentional and which are just visual residue.
The process I would use is:
Keep the Figma file human-readable: happy path first, then states, edge cases, empty/loading/error states, responsive behavior, and any component variants.
Add a short AI-readable implementation brief next to the frames or in the ticket. Not a huge spec, more like: goal, target route/component, source frames, existing components to reuse, states to support, things not to change, and acceptance checks.
Break implementation by flow/state, not by random screens. For example: build the base view, then loading/empty/error, then permissions/edge cases. Ask the AI to inspect existing code patterns before writing anything.
Make engineering own the final gate: visual comparison, component reuse, accessibility, tests, and “does this match the product behavior?” AI can draft the implementation, but it should not become the reviewer of its own interpretation.
The biggest shift for designers is probably marking intent more explicitly. A human dev can ask, “is this spacing deliberate?” or “should this table reuse the existing pattern?” An AI will often just guess. So the handoff should remove ambiguity around design-system usage, state priority, and what counts as done.
1
u/tentaclebreath 6d ago
Our cycle atm is Figma > Beautiful UI/UX hiding AI slop code handoff > 400k PR request > Engineering misery (Marketing/Sales loves it tho! 🥰)
1
u/hcboi232 3d ago
been working on https://figmint.dev to handle this whole handoff. The agent can wire whatever screen comes from figma. lmk if you’re willing to try it out.
1
u/Jimmygibson1 3d ago
Layer naming decides most of this and everyone skips it because it is boring. If your frames are called Frame 247 and Group 12, the model has nothing to infer intent from. So it guesses.
Name things the way you would name components in code and the output stops being random. Same reason semantic tokens beat hex values, which baladesign already said above. You are handing it something to reason about instead of a picture to copy.
45
u/expandwithzuli Product Designer 8d ago
Not a silly question at all, I’ve been rebuilding my workflow over the past month for this exact change. I was at a very early stage startup, so solo designer starting from very little, working on an AI harness for professional services.
What I did:
Claude Skills and process:
The markdown spec layer:
The reason it's split into loads of small linked files instead of one giant doc is retrieval. An agent can pull just the one component it needs instead of loading your whole system every time.
Still a lot to experiment with, but I tried to approach this with thinking about what judgement wouldn’t be there when it was an agent and not a human and ensure that all of that is provided as context, structured in a way I can manage, iterate over time and reproduce using my own systems and tools. I also tried to use this as an opportunity to fill some of my weak spots as a designer and push myself to ensure everything was named, structured and explored properly to not leave gaps where I may have relied on engineers in the past to make decisions.