CLAUDE LABJP
MEMORY — Claude Code closes a cluster of long-session memory leaks, including MCP stdio stderr piling up to 64 MB per server and LSP documents staying open indefinitelyTABLES — Very large markdown tables no longer stall rendering; tables over 200 rows now show the first 200 with a "… N more rows" noticeSPEED — Sessions carrying many deny/ask permission rules no longer lose seconds every turn: rule matchers are compiled once and cachedTOOLS — print/SDK sessions with many MCP tools get up to 7x faster tool rounds thanks to cached tool-pool assemblyARTIFACTS — Claude Code Artifacts turn session work into live, shareable web pages that update in place — useful for PR walkthroughs and dashboardsDEADLINE — Opus 4.7 fast mode is removed on July 24; speed: "fast" will error, so move to Opus 4.8 fast mode before thenMEMORY — Claude Code closes a cluster of long-session memory leaks, including MCP stdio stderr piling up to 64 MB per server and LSP documents staying open indefinitelyTABLES — Very large markdown tables no longer stall rendering; tables over 200 rows now show the first 200 with a "… N more rows" noticeSPEED — Sessions carrying many deny/ask permission rules no longer lose seconds every turn: rule matchers are compiled once and cachedTOOLS — print/SDK sessions with many MCP tools get up to 7x faster tool rounds thanks to cached tool-pool assemblyARTIFACTS — Claude Code Artifacts turn session work into live, shareable web pages that update in place — useful for PR walkthroughs and dashboardsDEADLINE — Opus 4.7 fast mode is removed on July 24; speed: "fast" will error, so move to Opus 4.8 fast mode before then
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 Design8Claude Code193design systemindie dev10workflow37

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-24
Working Between Claude Design and Claude Code — Splitting Diverge and Converge
Rough design in Claude Design, fine detail in Claude Code. Now that the two live close together in the desktop app, here is how to run them as a divide-of-labor between diverging and converging — bridges like Link Local code and Send to included.
Claude Code2026-07-07
I Could Detect Failures — Then the Alerts Grew So Loud I Stopped Noticing
The moment I could detect silent job failures, my phone started buzzing too often to be useful. Here is how I collapsed alerts by action rather than event, added hysteresis and quiet hours, and built a three-step escalation so only the pages worth waking me survive.
Claude Code2026-06-24
Productionizing a Claude Design Prototype — Single Source, CI, and OGP Auto-Generation
Turn a Claude Design prototype into something that survives production with Claude Code. The call to keep the generated runtime as your foundation, separating logic with a mixin, a single-source data design around a ledger CSV, and CI auto-updates with real-browser OGP capture — implementation included.
📚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 →