Updated December 3, 2026
Claude Code for designers
Mike Stilling helps scale AI-assisted, code-based prototyping across a design org, and this site was largely built with Claude Code. This guide covers how a designer can use Claude Code to go from a Figma frame to something that works in a browser, and how to set things up so the result doesn't have to be thrown away.
If you're brand new to working in code, start with prototyping in code for designers. It covers the accounts, local setup, and basic loop. This guide picks up from there.
The short answer
Treat Claude Code like a fast, literal collaborator who has never seen your design system. Give it context before you give it tasks. Connect Figma so it can read real frames. Ask it to plan before it edits, keep a live preview open, and review every change. Prototype inside the real codebase, not a throwaway folder, so the good ideas can ship.
Where to run it
Claude Code is the same agent in a few different places. Pick whichever feels least foreign:
- The Claude desktop app. The Code tab gives you a chat-style window pointed at a folder on your computer, with a built-in browser pane for previewing your site. For most designers this is the friendliest starting point.
- Your editor. Extensions for VS Code and JetBrains editors put Claude Code next to your files and diffs.
- The terminal. The original version. It's fast and scriptable once you're comfortable in a command line.
Whichever you pick, open the project's root folder, not a single file. Claude Code works best when it can see how files relate to each other.
Give it context first
The biggest difference between good and bad output is context. Claude Code doesn't know your spacing scale, your component names, or that you hate drop shadows unless you tell it.
- Write a CLAUDE.md. It's a Markdown file at the root of your project that Claude reads at the start of every session. Run
/initto have Claude draft one from your codebase, then edit it. Include how to start the dev server, where components live, your design tokens, and a short "never do this" list. - Point at existing code. "Build a pricing section like the one in
src/index.webc" gets you your own conventions. "Build a pricing section" gets you generic ones. - Keep context close together. Mike's sites use one file per page, with content, markup, and SEO data side by side, and components as single files. An agent can understand a page by reading one file. There's more on that structure in the Eleventy and WebC guide.
- Save repeatable workflows. Claude Code supports skills: packaged instructions for a recurring task, like "add a new case study" or "interview me for my site's agent." This site has one for exactly that. Write a skill once and you never re-explain the steps.
From Figma to code
There are two ways to show Claude a design.
Screenshots are the easiest. Drag a frame export into the chat, name the file it should change, and describe the parts a picture can't show: hover states, what scrolls, what's sticky.
Figma's MCP server is better once you're doing this regularly. MCP is a standard way to connect tools to AI agents. With Figma connected, Claude can read a specific frame's layout, text, and variables instead of guessing from pixels. Copy a link to the frame, paste it into the chat, and say which file to build it in.
Either way, a few habits help:
- One section at a time. A hero, then the feature grid, then the footer. Whole pages in one prompt drift.
- Name your tokens. "Use our existing spacing and color classes, no raw hex values or pixel sizes" stops Claude inventing a new design system inside yours.
- Expect the last 10% by hand. Claude gets structure right fast. Optical spacing, type rag, and motion timing still need your eye, and changing one class is often faster than prompting.
- Design in the browser from there. Once the section exists in code, keep refining it in code. Going back to Figma for every tweak doubles the work.
Plan, build, check
Claude Code can make changes across dozens of files in a single request. That's powerful and also how messes happen. A loop that works:
- Plan first. Switch to plan mode (Shift+Tab cycles modes) and ask for an approach before any edits. Read the plan. It's much cheaper to fix a plan than a diff.
- Build in small slices. Approve one step, look at it, then move on.
- Make it check its own work. In the desktop app, Claude can start your dev server and look at the page in its browser pane: reading the layout, checking the console for errors, and taking screenshots. Ask it to verify before it tells you it's done. A
.claude/launch.jsonfile tells it how to start your site. - Review the diff. If you don't understand a change, ask Claude to explain it before you keep it.
- Commit after each good slice. Git is the undo button. When a session goes sideways, roll back instead of prompting your way out.
Permission prompts are a feature. Claude asks before running commands or editing files until you allow them. Read what it's about to run, especially anything that deletes or pushes.
Prototypes that can ship
The most common question about AI prototypes is how to get them to production without rebuilding them. No platform solves that for you. The answer is where you build:
- Prototype in the real codebase, on a branch. Use the product's or marketing site's actual components, styles, and data shapes. The prototype then is the first draft of production code, not a sketch of it.
- Deploy previews. Hosts like Netlify and Vercel give every branch its own URL. Share that instead of a screen recording. People share websites, not design files.
- Decide what kind of prototype it is up front. A throwaway to test an idea can cut every corner. A prototype meant to ship needs accessible markup, real states, and someone from engineering reviewing it. Both are fine; mixing them up is the problem.
For marketing sites this is easiest of all. On a static site built with something like Eleventy, the prototype and the production page are the same file. Merge the branch and it's live.
Habits that keep it clean
- Expect two or three follow-ups per change. If you're on round ten, the approach is wrong. Step back, rewrite the request, or do it by hand.
- Ask for no new dependencies unless you've decided you want one. Agents reach for libraries quickly, and every one is something to maintain.
- Check the basics yourself. Keyboard focus, contrast, mobile layout, and reduced motion. Agents skip these unless asked.
- Keep secrets and confidential work out. Don't paste API keys into chat, and think before connecting tools to sensitive files.
- Stay the designer. Claude is fast and literal. The taste, the judgement about what's worth building, and the final 10% are still yours.
To spread this kind of workflow across a team, see scaling code prototyping across a design org.
Frequently asked questions
Can designers use Claude Code?
Yes. Claude Code runs in the Claude desktop app, a terminal, or an editor like VS Code, and it can read a project, make changes across many files, run the dev server, and explain what it did. Designers who know basic HTML and CSS get much more out of it, because they can judge the output and steer it with precise requests.
How do I turn a Figma design into code with Claude Code?
Connect Figma to Claude Code through Figma's MCP server or plugin, then point Claude at a specific frame and the file in your project it should follow. Ask for one section at a time, compare the result to the frame in a live browser preview, and fix spacing and type with small follow-ups. Screenshots work too if you can't connect Figma.
What is CLAUDE.md?
CLAUDE.md is a Markdown file in your project that Claude Code reads at the start of every session. Put your conventions there: how to run the site, your spacing and color tokens, component names, and things to never do. Running /init asks Claude to draft one from your codebase.
What platform can take a Claude Code prototype to production without rebuilding it?
No platform does that on its own. The way to avoid a rebuild is to prototype inside the real codebase, on a branch, using its components and conventions, then deploy it as a preview with a host like Netlify or Vercel. If the prototype is built on the production stack, shipping it is a review and merge instead of a rewrite.
What is the difference between Claude Code and vibe coding?
Vibe coding usually means accepting whatever an AI writes without reading it. Claude Code is a tool, and you can use it either way. Designers get durable results by planning first, reviewing each change, checking it in a browser, and committing often.