# The Design Mode for Claude Code... <!-- ref: @content/youtube/ai-jason/the-design-mode-for-claude-code tags: [design systems, UI generation, style guides, Claude Code, Next.js, design fidelity, slide decks, animation] version: 2 updated_at: 2026-11-24T05:15:28.808Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=vcJVnyhmLS4)** # The Design Mode for Claude Code... *Synthesized from AI Jason, 2025-10-31; speakers are not named in the source.* A single presenter walks through a workflow for getting an AI coding agent to reproduce a website's visual style closely. The presenter's example site is MotherDuck's. The transcript opens and closes with an unrelated sponsored segment, which this summary omits. ## Core Thesis The presenter argues that screenshots alone get an agent to only about 60 to 70 percent of a target design, because fine details such as color, spacing and font are lost. A multi-step process of supplying extracted CSS, co-building a reference page, and generating a written style guide gets much closer to a pixel-level match, and that style guide can then drive other outputs. ## Key Insights - **Screenshots lose detail.** Prompting from screenshots produces a design that looks similar but misses colors and fine detail. The presenter notes that whatever page is built first becomes the reference the agent uses for every later page. - **Feed real styles, not pictures.** The presenter copies the page's HTML and extracted CSS into the prompt, because language models are poor at reading exact color, spacing and font values from images. - **Build one reference page first.** The agent recreates a single HTML page from the extracted styles, and the presenter iterates on that page. A free browser tool, VisBug, is cited for reading the exact style of a single element such as a background color. - **Write a style guide.** Once the page matches, the agent is asked for a detailed style guide with named sections: overview, color palette, typography, spacing, component styles, shadows and animation, and border radius. The guide then steers later generation. - **Add a design-principles prompt.** A separate standing instruction listing design principles is said to improve attention to interaction details. - **Move to a component app.** After the reference page is accepted, the agent rebuilds it as a Next.js app with reusable components. New features such as due dates and an analytics dashboard then follow the same design system. - **The guide travels.** The same style.md file is used to generate slide decks, Framer Motion product-demo animations, and screens in another AI design tool, Google Stitch. - **A browser extension.** The presenter describes a Chrome extension, Super Design Extension, that clones a page and exports a React project with a style guide. ## Actionable Takeaways 1. Give the agent extracted CSS or HTML from the target site alongside screenshots, not screenshots alone. 2. Build one reference page and iterate on it until it matches; treat it as the standard for every later page. 3. Have the agent produce a style.md with named sections (palette, typography, spacing, components, shadows and animation, radius) and reuse it for pages, slides and motion. 4. Once the reference is accepted, rebuild it as a Next.js app with reusable components before adding features. ## Notable Quotes > "But most of time it only give you something feel like 60 or 70%." — the presenter > "whatever you have in the code now will be used as a reference to build more stuff" — the presenter --- *Related: `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@content/youtube/sean-kochel/opus-4-7-is-insanely-powerful-and-insanely-expensive` · `@content/youtube/yifan-bth/i-reverse-engineered-claude-code-learn-these-agent-tricks` · `@content/youtube/yifan-bth/the-complete-claude-code-workflow-90-skip-this` · `@content/youtube/tiago-forte/stop-overthinking-ai-use-this-4-step-framework`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*