Muvan AI · Deep dive 3

Design to production with AI

My design reviews used to end as lists of fixes for engineering. Once Claude Code was deeply integrated into our repository, they ended in the product.

One token from Figma to the screen: the Figma variable, the CSS variable in the theme file, its Tailwind mapping, the line in the Tab component that uses it, and the rendered Tab
One token, from the Figma variable through the theme file and Tailwind to the rendered Tab.
THE LOOP

Five steps, every time

  1. Design in Figma, handoff included: every flow's screens, with the logic and behavior written beside them, down to what opens on top of the page and the conditions that decide each state. The engineers built from it, and so did I with Claude Code. A variable for every color, radius and type style, per theme and per mode.
  2. Build with Claude Code, connected to Figma, GitHub and Linear through MCP servers, inside rules I wrote for it: use the tokens, reuse the one canonical component, fix a component at its source instead of patching one screen, and stop and ask when the design doesn't say.
  3. Verify in the browser against the Figma frame, in four themes and two modes. Measured, not eyeballed: spacing in pixels, contrast ratios, GPU time.
  4. Ship as a pull request with a Linear ticket, a screen recording, tests and a list of every behavior it changes. An engineer merges it.
  5. Update Figma to match what shipped, in a "Shipped in code" section next to the design, so the next design starts from what's real.
My handoff board in Figma for the sneak message popup, which previews a new message from Lori while her chat is closed. On the left, States and guidelines. For the default state: when the chat is closed and there is a new message from the bot, the message appears under the chat button in the top nav bar; it softly disappears after 7 seconds or when closed manually; clicking it opens the chat; and notice the size limit and the text truncated with 3 dots. For the hover state: see the design system for buttons, and notice the state-layer color and the Close button. On the right, the popup in both states: Hello again! How can I assist you today?
From my handoff: Lori's message preview in both states, with the rules beside them for when it appears, when it fades and what a click does.

A visual task that touches logic is a logic change, and I treated it as one. I also added the check that builds the front end and runs its tests on every pull request, the engineers' as well as mine.

GitHub's list of my merged pull requests, newest first, with Closed 19: the Black Hole Halo, one design-system text field for every form, and the design reviews of Reports, My Dashboards, the Portfolio chips, Daily Insights, the Homepage and Portfolio, each merged with its checks passed
My merged pull requests in GitHub, newest first, each merged by an engineer.
ONE REVIEW

One review, start to finish

The Reports design review ran the whole loop. It started as a ticket I wrote in Linear, with the five steps, and became one pull request.

The Reports design review ticket in Linear, under How I'll run it: 1, Audit, every view and state against the Figma masters; 2, Triage into fixes, improvements and Figma updates; 3, Design; 4, Build, at the source, in shared components and tokens; 5, Verify and ship, with design sign-off before the pull request
The ticket I wrote: audit, triage, design, build, then verify and ship.

An engineer reviewed it, and I answered every thread: I fixed a race condition and two bugs, each with tests, and kept one design decision, with my reason. It was approved, merged and released to production.

A review thread in GitHub: the engineer's comment, hidden, and my answer: fixed, the request now carries an id that the answer and the failure carry, only the latest request's answer lands, and a new test lands two requests for the same dates out of order. Addressed by Claude Code
Another review thread: the engineer's comment, hidden, and my answer: kept on purpose, 80% is this token's light value in Figma, the designer's call; every component that reads the token was audited, and nothing hardcodes a value against it. Addressed by Claude Code
A race condition fixed with a new test, and a design decision kept, with its reason: the token's value in Figma.
The end of the pull request in GitHub: I requested a review, the engineer approved the changes, merged them with 5 checks passed, and a later production release mentions the pull request, Merged
Approved, merged with its checks passed, and carried into a production release.

The page that shipped, measured in the browser, against four lines of my review, quoted as written:

  1. “Clean padding between chips and navbar is 16px, and bottom general padding - 24px big screens - 16px small screens.”
  2. “Min/Max size of a section (for users with more than 3 report types) = 2 visible report cards clean (even if there is only 1).”
  3. “Use "active" state for active filters + "Clear" button near them.”
  4. “Less than 3 reports - Sections should be left-aligned inside the grid.”
The Reports page as it shipped, at 1920 by 963, with its spacing measured in the browser: 16 from the navigation bar to the filters, 24 from the filters to the sections and between them, every section two cards tall even when it holds one, and 24 at the bottom of the page. Beside it, the filtered state: filled chips with Clear all filters beside them, and one section aligned left
The page as it shipped, each line's number where it shows, and the filtered state beside it.
WHY

Closing the gap myself

My design reviews used to live in Figma as lists of fixes for engineering, and some were still open months later. Closing that gap myself was faster than waiting, and it meant the person who designed each detail also checked it in production.

Before
The top of my written design review of My Dashboards: fixes for padding, labels and alignment, and in red, no skeleton card while the first chart generates, small screens showing two charts in a row instead of three, charts that failed to generate, and property labels that appear only sometimes
My review of My Dashboards: real bugs next to the spacing fixes, like charts that failed to generate.
THE AI

What the AI does, and what it doesn't

Claude Code wrote most of the code and did the searching: every place a component is used, every token a value should map to. It didn't decide what the design should be, or approve its own work.

I packaged my process into reusable skills for it: the design review, a handoff for new components, and the standards for tables and charts.

The AI's part is on the record: every commit I wrote names Claude Code as co-author.

A commit in GitHub by bar-muvan and claude, on August 5: fix(ds), an 8px visible gap between the tab bar and the navigation's dropdown panels. The message explains that the panels were placed from the pill, whose box has 6px of bottom padding, so the visible gap was only 2px, and that the offset is now 14px. It ends with a Co-Authored-By line for Claude
The gap under the tab bar measured 2px where the design says 8, so I fixed it in the design system.

My rules didn't stay mine. The front end engineer and I agreed that I'd hand over my local rules file and they'd merge it into one shared file in the repository. That way, every engineer's AI work follows the same design rules: no one-off overrides, fix it in the component.

The app's Storybook with the Chips Design Review story open: the chip in eight states, from default and dropdown to selected, disabled and a long value that truncates, shown in dark, on a light surface, and on light glass over the colorful background, with a note on why there is no dark on-background mode
A design review that lives in code: the chip in every state, in the app's Storybook.
THE BACKEND

Designing what the backend has to send

Some designs need data the app doesn't send yet. When one of mine did, I wrote the backend's part as a ticket for engineering. Two examples: a read status for each user, so the Reports page can mark the reports you haven't opened, and saving a new chart at the end of the board.

A Linear ticket in engineering's backlog: Reports, a read status for each user, for the unread count and dots. It says the front end is built and tested in the Reports design review and stays hidden until the API says which reports a user has seen, then lists what the front end needs from the API, a backfill so older reports count as seen, the rule that one user opening a report must not clear it for anyone else, and when it's done
What the front end needs from the API. The unread dots were already built, hidden until it arrives.

My pull requests name the backend's part too, in their notes for reviewers.

Notes for reviewers on my Daily Insights pull request in GitHub: the insights payload has no type field, so the My Insight badge can't appear until the backend marks the insights its rules generate, and Shared With Me relies on one field alone, since the front end has no way to share
From the Daily Insights pull request: what the backend has to send before the My Insight badge can appear.
CHECKING

Things you only find by checking

My design reviews checked the built app against my handoff, in the browser, with real data. Next to the spacing fixes, the findings that mattered most were about behavior:

Product screens use invented data and names. In the GitHub and Linear screenshots, gray boxes hide colleagues' names and words, ticket and pull request numbers, and code; nothing else is changed.