I ship most of our UI with Claude Code. Somewhere this year, that stopped being the slow part. Our designer became the slow part — not because they were slow, but because the loop between us was.
Here's what the loop looked like:
- I'd build a feature with an agent in an afternoon.
- Our designer would review it… from screenshots I pasted in Slack, because the Figma file was already a week behind the app.
- Their fixes came back as comments: "make this 8px tighter", "use the secondary colour", "this should be a ghost button".
- I'd translate those back into prompts for the agent. Something always got lost.
What we actually wanted
Two things, really:
- The real app in Figma, always current. Not a design that once matched the code, but what the code draws today.
- The designer's changes as something an agent can build exactly. Not a frame to interpret. A list of what changed.
Code → Figma: rendering what the browser drew
Our components already live in Storybook, so that became the input. A CLI renders each story in headless Chromium and reads what the browser actually drew: computed layout, text runs, styles, images, SVGs. It compiles that into Figma layers:
- stories become components with variants (from their args),
- flex and grid become auto layout,
- the design tokens become Figma variables,
- full pages are stories too.
A Figma plugin draws the result on a page called "Live", updated on every commit. Feature branches show up as their own lanes before they're merged.
The hard part was everything browsers and Figma disagree on. So each page keeps the browser screenshot next to it, and the sync reports where the two differ, so nobody has to trust it blindly.
Figma → code: send the change, not the frame
Every design-to-code tool we tried hands the agent a whole frame and lets it guess what the designer meant. The agent rewrites parts nobody touched.
Because Live is generated from the real app, we know exactly what the designer started from. So when they claim a page, edit their own copy and click Ready for dev, CoDesignFlo diffs the copy against the original and sends only the changes — properties, layers, text, colours as tokens — to the developer's coding agent over MCP. No Code Connect mapping needed: the layers already came from the code.
It isn't done until it's checked
The agent builds the change its own way and runs sync. Each sync rebuilds Live from the code and compares it with what the designer asked for:
2 of 3 of the designer's changes in the code
The proposal closes by itself only when they match. That last part changed how we work more than anything else: the designer doesn't have to re-review everything, and I don't have to wonder whether I got it all.
It works like pull requests for design. Neither of us has to be online at the same time.
What it doesn't do (yet)
- It needs Storybook and the Figma desktop app. React is what we've tested most.
- Live is close, not pixel-perfect everywhere.
- It's young: it's been our daily tool for 1 week, and now it's other teams' turn to find the rough edges :)
Try it
The Figma plugin, the CLI/MCP server and the core engine are open source (MIT): https://github.com/orkestralai/codesignflo. The hosted service is free for developers.
The plugin has a Try a demo mode with a sample app and a simulated developer, so a designer can see the whole loop in two minutes: codesignflo.com
If you ship UI with agents and have a designer on the team, I'd love to hear how you handle the hand-off today.
Top comments (1)
Sending only the diffed layer and token properties over MCP stops the agent from rewriting the whole frame, right up until "the agent builds the change its own way" turns into a one-off variant or inline utility wrapper beside your existing Storybook primitive. We watched coding agents pass visual screenshot diffs on UI tickets while quietly duplicating shared layout components and token mappings underneath because the visual output matched to the pixel. A design-to-code loop only stays clean over fifty commits when the MCP payload pins the exact existing component file and prop signature the agent is allowed to extend before it edits.