CLAUDE LABJP
MCP — Enterprise-managed MCP connectors arrive: admins provision once, users get zero-touch access on first login (Okta, Team/Enterprise beta)LEGAL — 20+ legal MCP connectors and 12 practice-area plugins ship for research, contracts, and matter managementAGENTS — Code w/ Claude unveils Managed Agents: plan the work, fan out to hundreds of subagents, verify before returningLIMIT — The 5-hour Claude Code rate window is doubled for Pro, Max, Team, and seat-based EnterpriseBILLING — The June 15 Agent SDK credit split was paused; this usage stays within your subscription limitsFIX — Claude Code stability fixes continue: stuck spinners, subagent transcripts, and remote task statusMCP — Enterprise-managed MCP connectors arrive: admins provision once, users get zero-touch access on first login (Okta, Team/Enterprise beta)LEGAL — 20+ legal MCP connectors and 12 practice-area plugins ship for research, contracts, and matter managementAGENTS — Code w/ Claude unveils Managed Agents: plan the work, fan out to hundreds of subagents, verify before returningLIMIT — The 5-hour Claude Code rate window is doubled for Pro, Max, Team, and seat-based EnterpriseBILLING — The June 15 Agent SDK credit split was paused; this usage stays within your subscription limitsFIX — Claude Code stability fixes continue: stuck spinners, subagent transcripts, and remote task status
Articles/Claude Code
Claude Code/2026-06-20Intermediate

Handing Claude Design Mockups Straight to Claude Code: Folding the Design-to-Code Loop

The June 17 Claude Design update added codebase-aware generation. Here's how to make your tokens the single source of truth, hand mockups to Claude Code, and collapse the design-to-code round trip — with code you can copy.

Claude Design6Claude Code160design systemindie dev8workflow34

Premium Article

Maintaining the UI for four sites on my own, the thing I most want to cut isn't building features — it's the round trip between deciding how a screen looks and implementing it. You set a corner radius and button padding in a design tool, switch back to code, retype the same numbers, build, compare, and find it's slightly off again. That translation loss eats more time than the features themselves.

The Claude Design update announced on June 17 hits this directly. It added design-system import, tighter Claude Code integration, direct canvas editing, and more export formats — and most importantly, Claude Design can now work from your local codebase. Generated assets reflect elements of your existing product, and you can hand them straight to Claude Code to implement (it's a beta for Pro, Max, Team, and Enterprise).

But wiring the tools together doesn't erase the round trip by itself. What actually helped me, running four sites as an indie developer, was setting things up so that both tools look at the same vocabulary. This is that setup, with code you can copy.

Why the round trip is heavy

Design and code drift apart not for lack of taste, but because the source of truth is duplicated. The design side has "radius 12px, primary button #5B5BD6," and the code side hardcodes the same values somewhere else. Fix one and the other goes stale; ask an AI to implement and you get something close-but-wrong.

That's exactly what codebase-aware Claude Design changes. It can read the tokens you keep in code, and Claude Code reads the same tokens. Unify the source of truth and the two tools line up by reference, not by translation. The first move isn't to play with the new feature — it's this unification.

The workflow at a glance

The order first; each step is fleshed out below.

StepWhat you doSource of truth
1Make design tokens the single sourcedesign/tokens.json
2Generate CSS variables from itsrc/styles/tokens.css (generated)
3Pin design context into CLAUDE.mdCLAUDE.md
4Hand a Claude Design mockup to Claude Codehandoff prompt
5Align the generated UI and verify itverification script

Steps 1–3 are a one-time environment setup; steps 4–5 repeat per screen. The more you invest up front, the less rework happens later.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
If you keep redoing work between design and code, you'll be able to drive both Claude Design and Claude Code from one shared vocabulary of tokens
You'll get a copy-ready handoff workflow: a tokens.json transform, a CLAUDE.md design-context block, and the handoff prompt itself
You'll catch UI that drifts from your design system early, with a verification step instead of your eyes
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Claude Code2026-06-14
Measuring a Week of Headless Usage the Night Before the Billing Change
With headless Claude Code moving to monthly credits on June 15, I spent a week logging how many tokens my unattended runs actually consume, so I could pick a plan based on numbers instead of a guess.
Claude Code2026-04-24
Claude Code's TodoList Quality Comes Down to Task Granularity — Patterns That Actually Worked
The TodoList tool in Claude Code can backfire when used carelessly. Three field-tested patterns — task granularity, verification steps, and update timing — that shift the output from 'looks organized' to 'actually delivered'.
Claude Code2026-04-24
Write the Repro Test Before Delegating Bug Fixes to Claude Code
After watching Claude Code spin its wheels on ambiguous bug reports, I started writing the failing test myself before delegating. This post walks through the design principles, a concrete repro test, and the three-stage workflow I run in production.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →