[{"data":1,"prerenderedAt":2905},["ShallowReactive",2],{"api-blog-claude-code-skills-for-web-design":3,"api-blog-related-claude-code-skills-for-web-design":801},{"id":4,"title":5,"author":6,"body":7,"category":762,"date":763,"dateModified":763,"description":764,"extension":765,"faqs":766,"image":782,"meta":783,"navigation":691,"path":784,"readingTime":712,"relatedSlugs":785,"seo":789,"seoTitle":790,"stem":791,"tags":792,"__hash__":800},"apiBlog/api-blog/claude-code-skills-for-web-design.md","Best Claude Code Skills for Web Design (2026): What Each One Does","Soraia",{"type":8,"value":9,"toc":746},"minimark",[10,22,25,28,33,41,45,52,78,81,155,158,180,190,196,200,205,208,211,215,223,248,251,255,267,296,306,310,318,332,336,345,361,364,368,380,405,409,412,437,452,456,553,557,565,568,571,620,623,627,630,640,648,658,722,725,728,742],[11,12,13,14,21],"p",{},"Ask Claude for a landing page without any guidance and you'll recognize the result: Inter, a purple gradient, three cards in a row. Anthropic has a name for why. In its post on ",[15,16,20],"a",{"href":17,"rel":18},"https://claude.com/blog/improving-frontend-design-through-skills",[19],"nofollow","improving frontend design through skills"," it calls it \"distributional convergence\": \"Safe design choices… dominate web training data.\"",[11,23,24],{},"Skills are the fix for that part. They're folders of instructions (sometimes with scripts) that Claude loads when a task matches, and a good design skill changes the defaults it reaches for.",[11,26,27],{},"Below are the skills worth installing for web design, what each one actually does (from its own README or SKILL.md, checked on December 4, 2026), and the one thing none of them can know on their own: what your site looks like.",[29,30,32],"h2",{"id":31},"skills-vs-connectors","Skills vs connectors",[11,34,35,36,40],{},"Anthropic's help center puts it in one line: \"MCP connections give Claude access to tools, while skills teach Claude how to use those tools effectively.\" A ",[15,37,39],{"href":38},"/api/blog/best-claude-connectors-for-web-design","connector"," brings something in, like a Figma file or a live website. A skill tells Claude how to work. You'll want both, and we'll come back to that.",[29,42,44],{"id":43},"how-to-install-a-skill","How to install a skill",[11,46,47,51],{},[48,49,50],"strong",{},"In Claude Code, from a marketplace."," Claude Code adds Anthropic's official marketplace the first time you start it, so its skills are one command:",[53,54,59],"pre",{"className":55,"code":56,"language":57,"meta":58,"style":58},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","/plugin install frontend-design@claude-plugins-official\n","bash","",[60,61,62],"code",{"__ignoreMap":58},[63,64,67,71,75],"span",{"class":65,"line":66},"line",1,[63,68,70],{"class":69},"sBMFI","/plugin",[63,72,74],{"class":73},"sfazB"," install",[63,76,77],{"class":73}," frontend-design@claude-plugins-official\n",[11,79,80],{},"For a skill from another repo, add its marketplace first, then install:",[53,82,84],{"className":55,"code":83,"language":57,"meta":58,"style":58},"/plugin marketplace add \u003Cowner>/\u003Crepo>\n/plugin install \u003Cplugin>@\u003Cmarketplace>\n",[60,85,86,125],{"__ignoreMap":58},[63,87,88,90,93,96,100,103,107,110,113,116,119,122],{"class":65,"line":66},[63,89,70],{"class":69},[63,91,92],{"class":73}," marketplace",[63,94,95],{"class":73}," add",[63,97,99],{"class":98},"sMK4o"," \u003C",[63,101,102],{"class":73},"owne",[63,104,106],{"class":105},"sTEyZ","r",[63,108,109],{"class":98},">",[63,111,112],{"class":73},"/",[63,114,115],{"class":98},"\u003C",[63,117,118],{"class":73},"rep",[63,120,121],{"class":105},"o",[63,123,124],{"class":98},">\n",[63,126,128,130,132,134,137,140,142,145,147,150,153],{"class":65,"line":127},2,[63,129,70],{"class":69},[63,131,74],{"class":73},[63,133,99],{"class":98},[63,135,136],{"class":73},"plugi",[63,138,139],{"class":105},"n",[63,141,109],{"class":98},[63,143,144],{"class":73},"@",[63,146,115],{"class":98},[63,148,149],{"class":73},"marketplac",[63,151,152],{"class":105},"e",[63,154,124],{"class":98},[11,156,157],{},"Some installs end with \"Run /reload-plugins to apply.\"",[11,159,160,163,164,167,168,171,172,175,176,179],{},[48,161,162],{},"By hand."," A skill is a folder with a ",[60,165,166],{},"SKILL.md"," file. Put it in ",[60,169,170],{},"~/.claude/skills/\u003Cname>/"," to use it in every project on your machine, or in ",[60,173,174],{},".claude/skills/\u003Cname>/"," inside a repo to use it there (commit it and your team gets it too). Claude uses a skill when the task matches its description, or you can run it yourself with ",[60,177,178],{},"/\u003Cname>",".",[11,181,182,185,186,189],{},[48,183,184],{},"In Claude.ai."," Upload a skill as a ZIP under ",[48,187,188],{},"Customize → Skills",". Anthropic lists skills on every plan, Free included, and they need code execution turned on.",[11,191,192,195],{},[48,193,194],{},"Read it before you install it."," A skill is instructions Claude will follow, and often scripts it will run. Snyk's article on UI/UX skills reports: \"Snyk's ToxicSkills research found prompt injection in 36% of skills tested and 1,467 malicious payloads across the ecosystem.\" Open the SKILL.md and any scripts first, especially for small repos.",[29,197,199],{"id":198},"the-skills","The skills",[201,202,204],"h3",{"id":203},"_1-frontend-design-anthropic-taste-and-direction","1. frontend-design (Anthropic): taste and direction",[11,206,207],{},"The default, and the one every list includes. Its description: \"Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.\"",[11,209,210],{},"It's what moves Claude off Inter-and-gradients. Install it from the official marketplace with the command above.",[201,212,214],{"id":213},"_2-uiux-pro-max-a-library-of-styles-palettes-and-fonts","2. UI/UX Pro Max: a library of styles, palettes and fonts",[11,216,217,222],{},[15,218,221],{"href":219,"rel":220},"https://github.com/nextlevelbuilder/ui-ux-pro-max-skill",[19],"nextlevelbuilder/ui-ux-pro-max-skill",", about 158k GitHub stars. Where frontend-design gives direction, this one gives Claude a searchable local library: in its own words, \"80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines\".",[53,224,226],{"className":55,"code":225,"language":57,"meta":58,"style":58},"/plugin marketplace add nextlevelbuilder/ui-ux-pro-max-skill\n/plugin install ui-ux-pro-max@ui-ux-pro-max-skill\n",[60,227,228,239],{"__ignoreMap":58},[63,229,230,232,234,236],{"class":65,"line":66},[63,231,70],{"class":69},[63,233,92],{"class":73},[63,235,95],{"class":73},[63,237,238],{"class":73}," nextlevelbuilder/ui-ux-pro-max-skill\n",[63,240,241,243,245],{"class":65,"line":127},[63,242,70],{"class":69},[63,244,74],{"class":73},[63,246,247],{"class":73}," ui-ux-pro-max@ui-ux-pro-max-skill\n",[11,249,250],{},"Good for a new product with no design yet. It builds from your description; it doesn't read a website.",[201,252,254],{"id":253},"_3-taste-skill-against-the-generic-look","3. taste-skill: against the generic look",[11,256,257,262,263,266],{},[15,258,261],{"href":259,"rel":260},"https://github.com/Leonxlnx/taste-skill",[19],"Leonxlnx/taste-skill",", about 125k stars. The skill inside is ",[60,264,265],{},"design-taste-frontend",", which calls itself \"the anti-slop frontend skill\". It checks its own build in Chrome, and its list of things never to do includes copying a reference site's code, copy, pictures or signature effect.",[53,268,270],{"className":55,"code":269,"language":57,"meta":58,"style":58},"npx skills add https://github.com/Leonxlnx/taste-skill --skill \"design-taste-frontend\"\n",[60,271,272],{"__ignoreMap":58},[63,273,274,277,280,282,285,288,291,293],{"class":65,"line":66},[63,275,276],{"class":69},"npx",[63,278,279],{"class":73}," skills",[63,281,95],{"class":73},[63,283,284],{"class":73}," https://github.com/Leonxlnx/taste-skill",[63,286,287],{"class":73}," --skill",[63,289,290],{"class":98}," \"",[63,292,265],{"class":73},[63,294,295],{"class":98},"\"\n",[11,297,298,299,302,303,179],{},"Or as a plugin: ",[60,300,301],{},"/plugin marketplace add Leonxlnx/taste-skill",", then ",[60,304,305],{},"/plugin install taste-skill@taste-skill",[201,307,309],{"id":308},"_4-impeccable-critique-audit-and-polish","4. impeccable: critique, audit and polish",[11,311,312,317],{},[15,313,316],{"href":314,"rel":315},"https://github.com/pbakaus/impeccable",[19],"pbakaus/impeccable",", about 122k stars. \"Use to design, redesign, critique, audit, polish or animate a frontend… or a design system (DESIGN.md).\" The critique and audit side is what sets it apart: it's the skill to run after Claude has built something.",[11,319,320,321,324,325,328,329,331],{},"Its ",[60,322,323],{},"document"," command writes a DESIGN.md of your own project, from your CSS variables, Tailwind config, token files and components. In Claude Code: ",[60,326,327],{},"/plugin marketplace add pbakaus/impeccable",", then open ",[60,330,70],{}," and install Impeccable.",[201,333,335],{"id":334},"_5-web-design-guidelines-vercel-review-ui-code","5. web-design-guidelines (Vercel): review UI code",[11,337,338,339,344],{},"From ",[15,340,343],{"href":341,"rel":342},"https://github.com/vercel-labs/agent-skills",[19],"vercel-labs/agent-skills",". \"Review UI code for Web Interface Guidelines compliance.\" It's for checking, not designing: accessibility and the details a design review would flag.",[53,346,348],{"className":55,"code":347,"language":57,"meta":58,"style":58},"npx skills add vercel-labs/agent-skills\n",[60,349,350],{"__ignoreMap":58},[63,351,352,354,356,358],{"class":65,"line":66},[63,353,276],{"class":69},[63,355,279],{"class":73},[63,357,95],{"class":73},[63,359,360],{"class":73}," vercel-labs/agent-skills\n",[11,362,363],{},"That installs the whole collection, not just this skill.",[201,365,367],{"id":366},"_6-emil-kowalskis-skills-motion-and-polish","6. Emil Kowalski's skills: motion and polish",[11,369,370,375,376,379],{},[15,371,374],{"href":372,"rel":373},"https://github.com/emilkowalski/skills",[19],"emilkowalski/skills"," is 21 skills, mostly about animation. The design one, ",[60,377,378],{},"apple-design",", is \"Apple's approach to interface design and fluid, physical motion, translated for the web.\" Add them when the layout is right and the interactions feel flat.",[53,381,383],{"className":55,"code":382,"language":57,"meta":58,"style":58},"/plugin marketplace add emilkowalski/skills\n/plugin install emil@emilkowalski\n",[60,384,385,396],{"__ignoreMap":58},[63,386,387,389,391,393],{"class":65,"line":66},[63,388,70],{"class":69},[63,390,92],{"class":73},[63,392,95],{"class":73},[63,394,395],{"class":73}," emilkowalski/skills\n",[63,397,398,400,402],{"class":65,"line":127},[63,399,70],{"class":69},[63,401,74],{"class":73},[63,403,404],{"class":73}," emil@emilkowalski\n",[201,406,408],{"id":407},"_7-webapp-testing-anthropic-look-at-what-it-built","7. webapp-testing (Anthropic): look at what it built",[11,410,411],{},"\"Toolkit for interacting with and testing local web applications using Playwright… capturing browser screenshots.\" It lets Claude open your local site and see the result instead of assuming it looks right. It comes in Anthropic's example skills:",[53,413,415],{"className":55,"code":414,"language":57,"meta":58,"style":58},"/plugin marketplace add anthropics/skills\n/plugin install example-skills@anthropic-agent-skills\n",[60,416,417,428],{"__ignoreMap":58},[63,418,419,421,423,425],{"class":65,"line":66},[63,420,70],{"class":69},[63,422,92],{"class":73},[63,424,95],{"class":73},[63,426,427],{"class":73}," anthropics/skills\n",[63,429,430,432,434],{"class":65,"line":127},[63,431,70],{"class":69},[63,433,74],{"class":73},[63,435,436],{"class":73}," example-skills@anthropic-agent-skills\n",[11,438,439,440,443,444,447,448,451],{},"That bundle also has ",[48,441,442],{},"theme-factory"," (ten preset color and font themes, or a new one on the fly) and ",[48,445,446],{},"web-artifacts-builder"," (React, Tailwind and shadcn/ui artifacts in Claude.ai). One to skip for client work: ",[48,449,450],{},"brand-guidelines"," applies Anthropic's own brand colors and typography, not yours.",[201,453,455],{"id":454},"at-a-glance","At a glance",[457,458,459,475],"table",{},[460,461,462],"thead",{},[463,464,465,469,472],"tr",{},[466,467,468],"th",{},"Skill",[466,470,471],{},"Use it for",[466,473,474],{},"Reads a website?",[476,477,478,490,500,511,522,532,542],"tbody",{},[463,479,480,484,487],{},[481,482,483],"td",{},"frontend-design",[481,485,486],{},"Better defaults and direction",[481,488,489],{},"No",[463,491,492,495,498],{},[481,493,494],{},"UI/UX Pro Max",[481,496,497],{},"Picking a style, palette and font pairing",[481,499,489],{},[463,501,502,505,508],{},[481,503,504],{},"taste-skill",[481,506,507],{},"Avoiding the generic AI look",[481,509,510],{},"Only its own build",[463,512,513,516,519],{},[481,514,515],{},"impeccable",[481,517,518],{},"Critique, audit, polish; DESIGN.md of your own code",[481,520,521],{},"Scans pages for problems, doesn't extract a design",[463,523,524,527,530],{},[481,525,526],{},"web-design-guidelines",[481,528,529],{},"Reviewing UI code",[481,531,489],{},[463,533,534,537,540],{},[481,535,536],{},"Emil Kowalski's skills",[481,538,539],{},"Animation and motion",[481,541,489],{},[463,543,544,547,550],{},[481,545,546],{},"webapp-testing",[481,548,549],{},"Checking the result in a browser",[481,551,552],{},"Your local site",[29,554,556],{"id":555},"what-none-of-them-know-your-brand","What none of them know: your brand",[11,558,559,560,564],{},"Look at the last column. Skills carry taste and rules, but almost none of them know what ",[561,562,563],"em",{},"your"," site, or your client's, looks like. A taste skill will happily pick a nice dark gray for body text when the brand actually uses a navy.",[11,566,567],{},"That's not a small thing. When we measured stripe.com in a browser, its text is #061b31 (navy, not black), its main heading is 48px at weight 300 with -0.96px letter-spacing, and its buttons have 4px corners, not pills. No skill guesses those. They have to come from the site.",[11,569,570],{},"The options, from most manual to least:",[572,573,574,581,589,599,609],"ul",{},[575,576,577,580],"li",{},[48,578,579],{},"Write a DESIGN.md by hand"," from DevTools. Slow, but every value is yours.",[575,582,583,588],{},[48,584,585,586],{},"impeccable's ",[60,587,323],{},", when the project's code already exists.",[575,590,591,598],{},[48,592,593],{},[15,594,597],{"href":595,"rel":596},"https://github.com/xiaopu-ai/web-design",[19],"xiaopu-ai/web-design"," takes a reference URL and runs a local Playwright crawler before writing a DESIGN.md. It samples the first five elements of twelve tags (body, h1-h3, buttons, sections and so on), so it gets the main values, not every component.",[575,600,601,608],{},[48,602,603],{},[15,604,607],{"href":605,"rel":606},"https://github.com/ItsssssJack/power-design",[19],"power-design"," pulls \"brand DNA\" through Firecrawl, which needs a Firecrawl API key, or uses one of its 72 prebuilt brand files.",[575,610,611,614,615,619],{},[48,612,613],{},"A connector that measures the page."," That's what we built MiroMiro for: it reads the live page in a real browser and returns a DESIGN.md, the design tokens, the brand (logo, colors, fonts) and any section as code, over MCP, so there's no crawler to run on your machine. A DESIGN.md costs 20 credits; a free account has 300 a month. To try it without an account, the free ",[15,616,618],{"href":617},"/api/design-md-generator","DESIGN.md generator"," makes one from any URL.",[11,621,622],{},"This is the setup Anthropic describes: \"MCP for connectivity, Skills for procedural knowledge.\"",[29,624,626],{"id":625},"put-them-together-a-brand-skill-in-two-files","Put them together: a brand skill in two files",[11,628,629],{},"Here's a setup that keeps Claude on brand for every UI change in a project.",[11,631,632,635,636,639],{},[48,633,634],{},"1. Get the site's DESIGN.md into the project root."," With MiroMiro connected in Claude Code (",[60,637,638],{},"claude mcp add --transport http miromiro https://miromiro.app/mcp","), ask:",[53,641,646],{"className":642,"code":644,"language":645,"meta":58},[643],"language-text","Make a DESIGN.md for https://your-client-site.com and save it in the project root.\n","text",[60,647,644],{"__ignoreMap":58},[11,649,650,653,654,657],{},[48,651,652],{},"2. Add a project skill"," at ",[60,655,656],{},".claude/skills/brand/SKILL.md",":",[53,659,663],{"className":660,"code":661,"language":662,"meta":58,"style":58},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","---\nname: brand\ndescription: Use for any UI work in this project - pages, components, styles. Applies the brand in DESIGN.md.\n---\n\nBefore writing or changing UI:\n\n1. Read DESIGN.md in the project root.\n2. Use only its colors, fonts, sizes, radii and spacing. If a value you need is missing, ask instead of inventing one.\n3. After the change, check the new UI against DESIGN.md and replace any value that isn't in it.\n","markdown",[60,664,665,670,675,681,686,693,699,704,710,716],{"__ignoreMap":58},[63,666,667],{"class":65,"line":66},[63,668,669],{},"---\n",[63,671,672],{"class":65,"line":127},[63,673,674],{},"name: brand\n",[63,676,678],{"class":65,"line":677},3,[63,679,680],{},"description: Use for any UI work in this project - pages, components, styles. Applies the brand in DESIGN.md.\n",[63,682,684],{"class":65,"line":683},4,[63,685,669],{},[63,687,689],{"class":65,"line":688},5,[63,690,692],{"emptyLinePlaceholder":691},true,"\n",[63,694,696],{"class":65,"line":695},6,[63,697,698],{},"Before writing or changing UI:\n",[63,700,702],{"class":65,"line":701},7,[63,703,692],{"emptyLinePlaceholder":691},[63,705,707],{"class":65,"line":706},8,[63,708,709],{},"1. Read DESIGN.md in the project root.\n",[63,711,713],{"class":65,"line":712},9,[63,714,715],{},"2. Use only its colors, fonts, sizes, radii and spacing. If a value you need is missing, ask instead of inventing one.\n",[63,717,719],{"class":65,"line":718},10,[63,720,721],{},"3. After the change, check the new UI against DESIGN.md and replace any value that isn't in it.\n",[11,723,724],{},"Keep frontend-design installed alongside it: frontend-design decides how a new section should feel, and the brand skill makes sure it's built from the client's real values. A line in CLAUDE.md (\"Follow @DESIGN.md for every UI change\") works too; the skill version only loads when the task is UI work.",[11,726,727],{},"One rule for whichever way you make the file: use your own site or your client's. Another company's DESIGN.md is good for studying how they built their system, not for shipping their brand.",[11,729,730,733,734,737,738,179],{},[48,731,732],{},"Next:"," the ",[15,735,736],{"href":38},"Claude connectors worth adding for web design",", or ",[15,739,741],{"href":740},"/api/blog/make-ai-agent-match-a-real-website-design","what an AI agent needs to match a real website's design",[743,744,745],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":58,"searchDepth":127,"depth":127,"links":747},[748,749,750,760,761],{"id":31,"depth":127,"text":32},{"id":43,"depth":127,"text":44},{"id":198,"depth":127,"text":199,"children":751},[752,753,754,755,756,757,758,759],{"id":203,"depth":677,"text":204},{"id":213,"depth":677,"text":214},{"id":253,"depth":677,"text":254},{"id":308,"depth":677,"text":309},{"id":334,"depth":677,"text":335},{"id":366,"depth":677,"text":367},{"id":407,"depth":677,"text":408},{"id":454,"depth":677,"text":455},{"id":555,"depth":127,"text":556},{"id":625,"depth":127,"text":626},"AI Engineering","2026-12-04","The Claude skills worth installing for web design: Anthropic's frontend-design, UI/UX Pro Max, taste-skill, impeccable, Vercel's guidelines and more. How to install them, and how to give them your real brand.","md",[767,770,773,776,779],{"question":768,"answer":769},"What is the best Claude skill for web design?","Start with Anthropic's frontend-design skill: it's the default most people install, and it pushes Claude away from the generic look. Add UI/UX Pro Max if you want a library of styles, palettes and font pairings to pick from, and impeccable if you want Claude to critique and polish what it built. None of them know your brand, so pair them with a DESIGN.md of the real site.",{"question":771,"answer":772},"How do I install a skill in Claude Code?","From a plugin marketplace: /plugin install frontend-design@claude-plugins-official for Anthropic's official one, or /plugin marketplace add \u003Cowner/repo> and then /plugin install for others. By hand: put a folder with a SKILL.md in ~/.claude/skills/\u003Cname>/ for all your projects, or .claude/skills/\u003Cname>/ in a repo for that project only.",{"question":774,"answer":775},"Do Claude skills work in Claude.ai?","Yes. Anthropic's help center lists skills on Free, Pro, Max, Ultra, Team and Enterprise plans, and they need code execution turned on. You upload a custom skill as a ZIP under Customize, then Skills.",{"question":777,"answer":778},"What is the difference between a skill and a connector?","In Anthropic's words: MCP connections give Claude access to tools, while skills teach Claude how to use those tools effectively. A connector brings in data or actions (a Figma file, a live website, a deploy); a skill is written instructions, sometimes with scripts, that Claude follows when the task matches.",{"question":780,"answer":781},"Can a Claude skill read a website's design?","Most can't: they work from your description and their own rules. A few take a URL: xiaopu-ai/web-design runs a local Playwright crawler that samples a handful of elements, and power-design pulls brand data through Firecrawl, which needs a Firecrawl API key. A connector such as MiroMiro measures the page in a real browser and returns its DESIGN.md, tokens, brand and section code over MCP. Use it on your own or a client's site, or to study a design.",null,{},"/api-blog/claude-code-skills-for-web-design",[786,787,788],"best-claude-connectors-for-web-design","make-ai-agent-match-a-real-website-design","add-design-extraction-to-claude-code-mcp",{"title":5,"description":764},"Best Claude Code Skills for Web Design (2026)","api-blog/claude-code-skills-for-web-design",[793,794,795,796,797,798,799],"claude skills","claude code skills","web design skills","frontend-design skill","claude code","design md","ui design","px1t7UQkur-78zVXHFmbphCj_KXpbF90iHspbW_l7iU",[802,1480,2351],{"id":803,"title":804,"author":6,"body":805,"category":762,"date":763,"dateModified":763,"description":1445,"extension":765,"faqs":1446,"image":782,"meta":1462,"navigation":691,"path":1463,"readingTime":712,"relatedSlugs":1464,"seo":1467,"seoTitle":1468,"stem":1469,"tags":1470,"__hash__":1479},"apiBlog/api-blog/best-claude-connectors-for-web-design.md","Best Claude Connectors for Web Design and Front-End Work (2026)",{"type":8,"value":806,"toc":1419},[807,810,813,816,820,823,869,872,876,880,888,892,895,933,940,967,974,978,986,990,998,1002,1006,1014,1022,1026,1034,1038,1046,1050,1058,1062,1070,1074,1077,1175,1178,1182,1186,1196,1200,1209,1213,1221,1225,1233,1237,1321,1324,1328,1378,1382,1402,1416],[11,808,809],{},"Most \"best Claude connectors\" lists are written for marketing and operations: Gmail, Slack, HubSpot, Google Drive. Design gets a paragraph about Figma and Canva, and front-end work gets nothing.",[11,811,812],{},"This list is for people who build websites. Claude's directory now has well over a thousand connectors, and the useful ones for web work are spread across it. They're grouped below in the order the work happens: what you're referencing, what you designed, where the site is built, the code, and where it ships.",[11,814,815],{},"Each entry says what the connector lets Claude do, from its page in Claude's directory, checked on December 4, 2026.",[29,817,819],{"id":818},"how-connectors-work","How connectors work",[11,821,822],{},"A connector is Claude's name for a remote MCP server: a service that gives Claude tools it can call, like \"read this Figma frame\" or \"deploy this project\". Claude decides when to call them from what you ask.",[572,824,825,843,849,855],{},[575,826,827,830,831,834,835,838,839,842],{},[48,828,829],{},"From the directory:"," open ",[48,832,833],{},"Customize → Connectors",", click ",[48,836,837],{},"+",", find the connector and sign in to the service. In a chat, the same list is under ",[48,840,841],{},"+ → Connectors → Manage connectors",". Directory connectors work on every plan, Free included.",[575,844,845,848],{},[48,846,847],{},"Custom connectors"," (a URL that isn't in the directory): same place, add a custom connector and paste its URL. Every plan can do this, but Free accounts get one custom connector.",[575,850,851,854],{},[48,852,853],{},"Team and Enterprise:"," an Owner has to enable a connector before members can use it.",[575,856,857,860,861,864,865,868],{},[48,858,859],{},"Claude Code:"," add a remote server with ",[60,862,863],{},"claude mcp add --transport http \u003Cname> \u003Curl>",", then run ",[60,866,867],{},"/mcp"," to sign in.",[11,870,871],{},"Only connect what you'll use every week. Each connector adds tools Claude has to choose between, and a short list keeps it quick to pick the right one.",[29,873,875],{"id":874},"_1-references-what-youre-working-from","1. References: what you're working from",[201,877,879],{"id":878},"mobbin-ui-references-from-real-products","Mobbin: UI references from real products",[11,881,882,887],{},[15,883,886],{"href":884,"rel":885},"https://claude.com/marketplace/connectors/mobbin",[19],"Mobbin's connector"," gives Claude its library of UI design references for apps and websites. Useful before you design anything: \"how do other apps handle onboarding?\" with real screens instead of a guess.",[201,889,891],{"id":890},"miromiro-a-live-websites-design-as-code","MiroMiro: a live website's design, as code",[11,893,894],{},"When the reference is a live website (the client's current site you're rebuilding, or a page you're studying), there's no design file to read. MiroMiro reads the page in a real browser and gives Claude:",[572,896,897,908,915,926],{},[575,898,899,900,903,904,907],{},"any ",[48,901,902],{},"section as code"," in Tailwind, HTML, React or Vue, or as an Elementor template or Shopify section, and ",[48,905,906],{},"whole pages"," top to bottom",[575,909,910,911,914],{},"the site's ",[48,912,913],{},"brand",": logo, colors and fonts",[575,916,917,918,921,922,925],{},"its ",[48,919,920],{},"design tokens",", and a ",[48,923,924],{},"DESIGN.md"," file coding agents can follow",[575,927,928,929,932],{},"the page's ",[48,930,931],{},"images, SVGs, fonts and Lottie"," files",[11,934,935,936,939],{},"That's us, so take this entry with that in mind. It's added as a custom connector: in Claude, add a custom connector named MiroMiro with the URL ",[60,937,938],{},"https://miromiro.app/mcp",", then sign in. In Claude Code:",[53,941,943],{"className":55,"code":942,"language":57,"meta":58,"style":58},"claude mcp add --transport http miromiro https://miromiro.app/mcp\n",[60,944,945],{"__ignoreMap":58},[63,946,947,950,953,955,958,961,964],{"class":65,"line":66},[63,948,949],{"class":69},"claude",[63,951,952],{"class":73}," mcp",[63,954,95],{"class":73},[63,956,957],{"class":73}," --transport",[63,959,960],{"class":73}," http",[63,962,963],{"class":73}," miromiro",[63,965,966],{"class":73}," https://miromiro.app/mcp\n",[11,968,969,970,179],{},"A free account includes 300 credits a month, no card. The text, logos, images and fonts on a site belong to its owner: use it to study a design, or to move a site you own or are building for a client. ",[15,971,973],{"href":972},"/api/blog/connect-miromiro-mcp-claude-cursor-chatgpt","Setup for every client",[201,975,977],{"id":976},"brandfetch-a-brands-logos-and-colors","Brandfetch: a brand's logos and colors",[11,979,980,985],{},[15,981,984],{"href":982,"rel":983},"https://claude.com/marketplace/connectors/brandfetch",[19],"Brandfetch"," pulls a brand's logos, colors, fonts and voice. Handy for the small jobs: the logo row of a \"trusted by\" section, or a partner's colors for a co-branded page.",[201,987,989],{"id":988},"copy-any-design-by-weinc-rebuild-a-sites-look-on-weinc","Copy Any Design by WeInc: rebuild a site's look on WeInc",[11,991,992,997],{},[15,993,996],{"href":994,"rel":995},"https://claude.com/marketplace/connectors/weinc-copy-any-design",[19],"WeInc's connector"," takes a public site's link or a screenshot and rebuilds its visual design (grid, spacing, type, colors, phone layout) as a new site on WeInc. The result lives on WeInc, and your own domain needs a paid WeInc plan. If you want code to take into your own stack instead, that's the difference from MiroMiro.",[29,999,1001],{"id":1000},"_2-design-files","2. Design files",[201,1003,1005],{"id":1004},"figma-build-from-your-own-designs","Figma: build from your own designs",[11,1007,1008,1013],{},[15,1009,1012],{"href":1010,"rel":1011},"https://claude.com/marketplace/connectors/figma",[19],"Figma's connector"," gives Claude the context of a design (variables, components, layout) so it can write code from it, and it can make FigJam diagrams. It's the best starting point when your team designs in Figma first.",[11,1015,1016,1017,1021],{},"Check your seat before relying on it: Figma's help center gives Starter plans and View or Collab seats up to 20 tool calls a month. Our ",[15,1018,1020],{"href":1019},"/api/blog/figma-mcp-setup-and-alternatives","Figma MCP guide"," covers seats and limits.",[201,1023,1025],{"id":1024},"canva-the-graphics-around-a-site","Canva: the graphics around a site",[11,1027,1028,1033],{},[15,1029,1032],{"href":1030,"rel":1031},"https://claude.com/marketplace/connectors/canva",[19],"Canva's connector"," searches, summarizes, autofills, generates and exports Canva designs. It fits the work around a website more than the site itself: social images for a launch, a slide deck for the client, quick banners.",[201,1035,1037],{"id":1036},"sketch-designs-in-the-sketch-mac-app","Sketch: designs in the Sketch Mac app",[11,1039,1040,1045],{},[15,1041,1044],{"href":1042,"rel":1043},"https://claude.com/marketplace/connectors/sketch",[19],"Sketch's connector"," explores, edits and exports Sketch designs, and generates code from them. It runs through the Sketch Mac app, so it's Mac only.",[201,1047,1049],{"id":1048},"adobe-batch-edits-and-creative-cloud-files","Adobe: batch edits and Creative Cloud files",[11,1051,1052,1057],{},[15,1053,1056],{"href":1054,"rel":1055},"https://claude.com/marketplace/connectors/adobe-creativity",[19],"Adobe's connector"," works with templates, PDF edits, batch photo edits and Creative Cloud file search. The batch photo edits are the useful part for web work, for example a whole folder of product shots for a new site.",[201,1059,1061],{"id":1060},"miro-sitemaps-and-user-flows","Miro: sitemaps and user flows",[11,1063,1064,1069],{},[15,1065,1068],{"href":1066,"rel":1067},"https://claude.com/marketplace/connectors/miro",[19],"Miro's connector"," summarizes and searches your boards and builds new boards and diagrams. Good for the planning stage: turn a workshop board into a sitemap, or draw the checkout flow before anyone designs it.",[29,1071,1073],{"id":1072},"_3-site-builders","3. Site builders",[11,1075,1076],{},"If the site lives in a builder, its connector lets Claude work inside it instead of handing you code to paste.",[457,1078,1079,1089],{},[460,1080,1081],{},[463,1082,1083,1086],{},[466,1084,1085],{},"Connector",[466,1087,1088],{},"What it lets Claude do",[476,1090,1091,1103,1115,1127,1139,1151,1163],{},[463,1092,1093,1100],{},[481,1094,1095],{},[15,1096,1099],{"href":1097,"rel":1098},"https://claude.com/marketplace/connectors/webflow",[19],"Webflow",[481,1101,1102],{},"Build pages, components and variables, CMS collections and motion; read traffic; work on a page branch",[463,1104,1105,1112],{},[481,1106,1107],{},[15,1108,1111],{"href":1109,"rel":1110},"https://claude.com/marketplace/connectors/framer",[19],"Framer",[481,1113,1114],{},"Design, update and publish Framer sites using the site's existing styles and components; edit the CMS",[463,1116,1117,1124],{},[481,1118,1119],{},[15,1120,1123],{"href":1121,"rel":1122},"https://claude.com/marketplace/connectors/wix",[19],"Wix",[481,1125,1126],{},"Build a site from a prompt or publish one; manage the store, bookings and domain",[463,1128,1129,1136],{},[481,1130,1131],{},[15,1132,1135],{"href":1133,"rel":1134},"https://claude.com/marketplace/connectors/wordpress-com",[19],"WordPress.com",[481,1137,1138],{},"Build and manage WordPress.com and Jetpack sites, including design",[463,1140,1141,1148],{},[481,1142,1143],{},[15,1144,1147],{"href":1145,"rel":1146},"https://claude.com/marketplace/connectors/shopify",[19],"Shopify",[481,1149,1150],{},"Build and manage a store: products, orders, discounts, analytics",[463,1152,1153,1160],{},[481,1154,1155],{},[15,1156,1159],{"href":1157,"rel":1158},"https://claude.com/marketplace/connectors/lovable",[19],"Lovable",[481,1161,1162],{},"Create, change and deploy Lovable apps",[463,1164,1165,1172],{},[481,1166,1167],{},[15,1168,1171],{"href":1169,"rel":1170},"https://claude.com/marketplace/connectors/v0",[19],"v0",[481,1173,1174],{},"Import designs, run v0 chats and show live previews of the apps it generates",[11,1176,1177],{},"Webflow's page branches are worth knowing about: Claude can work on a branch of a page, which gives you a place to review its changes before they're published.",[29,1179,1181],{"id":1180},"_4-code-components-and-docs","4. Code, components and docs",[201,1183,1185],{"id":1184},"github-built-in-not-a-directory-connector","GitHub: built in, not a directory connector",[11,1187,1188,1189,1191,1192,1195],{},"There's no GitHub connector in Claude's directory. Claude has its own GitHub integration instead: the ",[48,1190,837],{}," button in a chat, then ",[48,1193,1194],{},"Add from GitHub",". It brings in the file names and contents of a branch you choose, not commits or pull requests. For real repository work, Claude Code in your project is the better tool.",[201,1197,1199],{"id":1198},"shadcn-ui-real-components-not-look-alikes","shadcn UI: real components, not look-alikes",[11,1201,1202,1203,1208],{},"The ",[15,1204,1207],{"href":1205,"rel":1206},"https://claude.com/marketplace/connectors/shadcn-ui",[19],"shadcn UI connector"," gives Claude the source, demos and blocks of shadcn/ui components, so it uses the real component instead of writing one that looks close. It's made by an independent developer, not by the shadcn/ui team.",[201,1210,1212],{"id":1211},"context7-current-library-docs","Context7: current library docs",[11,1214,1215,1220],{},[15,1216,1219],{"href":1217,"rel":1218},"https://claude.com/marketplace/connectors/context7",[19],"Context7"," fetches up-to-date docs and code examples for libraries. Models learn older versions of fast-moving tools, so this is what keeps Claude writing Tailwind v4 or the current Next.js API instead of last year's.",[201,1222,1224],{"id":1223},"mdn-web-docs-and-browser-support","MDN: web docs and browser support",[11,1226,1227,1232],{},[15,1228,1231],{"href":1229,"rel":1230},"https://claude.com/marketplace/connectors/mdn",[19],"Mozilla's MDN connector"," gives Claude the MDN docs and browser-compatibility data, with no sign-in. Ask \"can I use this CSS feature in Safari?\" and the answer comes from the compatibility tables, not from memory.",[29,1234,1236],{"id":1235},"_5-ship-and-run","5. Ship and run",[457,1238,1239,1247],{},[460,1240,1241],{},[463,1242,1243,1245],{},[466,1244,1085],{},[466,1246,1088],{},[476,1248,1249,1261,1273,1285,1297,1309],{},[463,1250,1251,1258],{},[481,1252,1253],{},[15,1254,1257],{"href":1255,"rel":1256},"https://claude.com/marketplace/connectors/vercel",[19],"Vercel",[481,1259,1260],{},"Search Vercel's docs, manage projects and deployments, read deployment logs",[463,1262,1263,1270],{},[481,1264,1265],{},[15,1266,1269],{"href":1267,"rel":1268},"https://claude.com/marketplace/connectors/netlify",[19],"Netlify",[481,1271,1272],{},"Create, deploy and manage Netlify sites, including secrets, access controls and forms",[463,1274,1275,1282],{},[481,1276,1277],{},[15,1278,1281],{"href":1279,"rel":1280},"https://claude.com/marketplace/connectors/cloudflare",[19],"Cloudflare",[481,1283,1284],{},"Work with Workers, KV, R2, D1 and Hyperdrive, and deploy code",[463,1286,1287,1294],{},[481,1288,1289],{},[15,1290,1293],{"href":1291,"rel":1292},"https://claude.com/marketplace/connectors/supabase",[19],"Supabase",[481,1295,1296],{},"Run SQL, change schemas and migrations, edge functions, auth, logs and branches",[463,1298,1299,1306],{},[481,1300,1301],{},[15,1302,1305],{"href":1303,"rel":1304},"https://claude.com/marketplace/connectors/sentry",[19],"Sentry",[481,1307,1308],{},"Read issue and error details, and run Sentry's root-cause analysis",[463,1310,1311,1318],{},[481,1312,1313],{},[15,1314,1317],{"href":1315,"rel":1316},"https://claude.com/marketplace/connectors/linear",[19],"Linear",[481,1319,1320],{},"Work with issues, projects and cycles",[11,1322,1323],{},"A useful pairing is a deploy connector plus Sentry: \"the contact form broke after yesterday's deploy\" becomes one question, with the deployment log and the error in the same answer.",[29,1325,1327],{"id":1326},"a-starter-set-by-role","A starter set by role",[457,1329,1330,1343],{},[460,1331,1332],{},[463,1333,1334,1337,1340],{},[466,1335,1336],{},"You are",[466,1338,1339],{},"Connect",[466,1341,1342],{},"Why",[476,1344,1345,1356,1367],{},[463,1346,1347,1350,1353],{},[481,1348,1349],{},"A freelance web designer",[481,1351,1352],{},"Figma or Canva, your site builder, MiroMiro",[481,1354,1355],{},"Your designs, the site itself, and the client's current site as a starting point",[463,1357,1358,1361,1364],{},[481,1359,1360],{},"A front-end developer",[481,1362,1363],{},"Figma, Context7 or MDN, Vercel or Netlify, Sentry",[481,1365,1366],{},"Designs in, current docs, deploys and errors",[463,1368,1369,1372,1375],{},[481,1370,1371],{},"An agency rebuilding client sites",[481,1373,1374],{},"MiroMiro, your site builder, Brandfetch, Linear",[481,1376,1377],{},"The old site as code and brand, the new build, logos, and the task list",[29,1379,1381],{"id":1380},"before-you-connect-everything","Before you connect everything",[572,1383,1384,1390,1396],{},[575,1385,1386,1389],{},[48,1387,1388],{},"Connectors act with your account."," A Webflow, Netlify or Shopify connector can publish, deploy or change live data. Read what each one can change, and look at what Claude is about to do before you approve it.",[575,1391,1392,1395],{},[48,1393,1394],{},"Each connector only knows its own service."," The Figma connector reads your Figma files, not the website that went live last year. When the reference is a live page, you need a connector that reads the page.",[575,1397,1398,1401],{},[48,1399,1400],{},"Studying a design is fine; shipping someone else's isn't."," Use other sites to learn how a layout or a type scale works, and keep the text, logos and images to sites you own or are licensed to use.",[11,1403,1404,1406,1407,1411,1412,179],{},[48,1405,732],{}," connectors bring things in; skills tell Claude how to work. See ",[15,1408,1410],{"href":1409},"/api/blog/claude-code-skills-for-web-design","the Claude Code skills worth installing for web design",", or, for Cursor and Claude Code, ",[15,1413,1415],{"href":1414},"/api/blog/best-mcp-servers-for-frontend-design","the best MCP servers for front-end work",[743,1417,1418],{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":58,"searchDepth":127,"depth":127,"links":1420},[1421,1422,1428,1435,1436,1442,1443,1444],{"id":818,"depth":127,"text":819},{"id":874,"depth":127,"text":875,"children":1423},[1424,1425,1426,1427],{"id":878,"depth":677,"text":879},{"id":890,"depth":677,"text":891},{"id":976,"depth":677,"text":977},{"id":988,"depth":677,"text":989},{"id":1000,"depth":127,"text":1001,"children":1429},[1430,1431,1432,1433,1434],{"id":1004,"depth":677,"text":1005},{"id":1024,"depth":677,"text":1025},{"id":1036,"depth":677,"text":1037},{"id":1048,"depth":677,"text":1049},{"id":1060,"depth":677,"text":1061},{"id":1072,"depth":127,"text":1073},{"id":1180,"depth":127,"text":1181,"children":1437},[1438,1439,1440,1441],{"id":1184,"depth":677,"text":1185},{"id":1198,"depth":677,"text":1199},{"id":1211,"depth":677,"text":1212},{"id":1223,"depth":677,"text":1224},{"id":1235,"depth":127,"text":1236},{"id":1326,"depth":127,"text":1327},{"id":1380,"depth":127,"text":1381},"The Claude connectors worth adding when you build websites, in the order the work happens: references, design files, site builders, code and docs, deploys. What each one lets Claude do, and how to add it.",[1447,1450,1453,1456,1459],{"question":1448,"answer":1449},"What are the best Claude connectors for web design?","It depends on where your work happens. For design files: Figma or Canva. For the site itself: the connector of your builder (Webflow, Framer, Wix, WordPress.com, Shopify). For live reference sites: a connector that reads the page, such as MiroMiro. For code and shipping: Context7 or MDN for docs, then Vercel, Netlify or Cloudflare to deploy and Sentry for errors. Three or four you use every week beat fifteen you never call.",{"question":1451,"answer":1452},"Are Claude connectors free?","Connectors from Claude's directory are available on every Claude plan, Free included. The service behind a connector can still have its own limits: Figma's help center, for example, gives Starter plans and View or Collab seats up to 20 tool calls a month. Custom connectors (any URL that isn't in the directory) also work on every plan, but a Free account can add only one.",{"question":1454,"answer":1455},"What is the difference between a Claude connector and an MCP server?","A connector is what Claude calls a remote MCP server once it's added to your account. The MCP server is the service's side: a set of tools such as 'read this Figma frame' or 'deploy this project'. The connector is the link that lets Claude call them.",{"question":1457,"answer":1458},"Can Claude connect to GitHub?","Not through a directory connector: there is no GitHub page in Claude's connector directory. Claude has its own GitHub integration (the + button in a chat, then Add from GitHub), which brings in the files of a branch you pick. It reads file names and contents, not commits or pull requests. For commits and pull requests, use Claude Code in your repo.",{"question":1460,"answer":1461},"How do I add a custom connector to Claude?","Open Customize, then Connectors, click +, and add a custom connector: give it a name and paste the server URL (for MiroMiro, https://miromiro.app/mcp). Claude opens the service's sign-in page, and once you approve it the tools are available in your chats. On Team and Enterprise plans an Owner has to allow it first.",{},"/api-blog/best-claude-connectors-for-web-design",[1465,1466,787],"best-mcp-servers-for-frontend-design","connect-miromiro-mcp-claude-cursor-chatgpt",{"title":804,"description":1445},"Best Claude Connectors for Web Design & Front-End (2026)","api-blog/best-claude-connectors-for-web-design",[1471,1472,1473,1474,1475,1476,1477,1478],"claude connectors","best claude connectors","claude mcp","web design","frontend","figma","webflow","vercel","6j4F0TxNa26atG9idKysj1oNmG87vLAdnQlnfbKgimI",{"id":1481,"title":1482,"author":6,"body":1483,"category":762,"date":2325,"dateModified":2325,"description":2326,"extension":765,"faqs":2327,"image":782,"meta":2336,"navigation":691,"path":2337,"readingTime":695,"relatedSlugs":2338,"seo":2341,"seoTitle":2342,"stem":2343,"tags":2344,"__hash__":2350},"apiBlog/api-blog/make-ai-agent-match-a-real-website-design.md","How to Make Claude, Cursor or ChatGPT Match a Real Website Instead of Guessing",{"type":8,"value":1484,"toc":2308},[1485,1488,1491,1495,1506,1509,1512,1516,1519,1942,1948,1954,1957,1961,1964,2023,2030,2034,2037,2040,2044,2047,2050,2056,2059,2063,2156,2159,2163,2169,2175,2181,2187,2191,2198,2234,2237,2263,2266,2270,2273,2277,2281,2284,2288,2291,2295,2298,2302,2305],[11,1486,1487],{},"Your agent gets a real website wrong because you gave it a picture. Give it values instead: the hex codes, the font names, the spacing scale and, when you need a whole section, the actual markup. A model that has the numbers does not have to guess them.",[11,1489,1490],{},"There are four ways to do that. They go from five minutes by hand to nothing at all.",[29,1492,1494],{"id":1493},"why-the-screenshot-fails","Why the screenshot fails",[11,1496,1497,1498,1501,1502,1505],{},"A screenshot is pixels. The model looks at a heading and estimates 48px. It was 56px. It sees a purple and writes ",[60,1499,1500],{},"#6366f1",". The brand color was ",[60,1503,1504],{},"#635bff",". It cannot tell that the page uses a 4px spacing grid, or that the font is a custom typeface and not the system one.",[11,1507,1508],{},"Asking harder does not help. \"Match the spacing exactly\" is an instruction about information the model was never given.",[11,1510,1511],{},"Screenshots are still good for one thing: layout. Keep using them for where things go. Stop using them for what the values are.",[29,1513,1515],{"id":1514},"_1-copy-the-computed-styles-from-devtools","1. Copy the computed styles from devtools",[11,1517,1518],{},"This works on any site, today, with nothing installed. Open the page, open the console, and run:",[53,1520,1524],{"className":1521,"code":1522,"language":1523,"meta":58,"style":58},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const el = document.querySelector('main section') // the section you want\nconst pick = ['color', 'backgroundColor', 'fontFamily', 'fontSize', 'fontWeight',\n  'lineHeight', 'letterSpacing', 'padding', 'gap', 'borderRadius', 'boxShadow']\n\nconst rows = [el, ...el.querySelectorAll('h1, h2, p, a, button')].slice(0, 12).map((n) => {\n  const s = getComputedStyle(n)\n  return {\n    tag: n.tagName.toLowerCase(),\n    text: n.textContent.trim().slice(0, 40),\n    ...Object.fromEntries(pick.map(p => [p, s[p]]))\n  }\n})\ncopy(JSON.stringify(rows, null, 2))\n","js",[60,1525,1526,1565,1625,1683,1687,1763,1785,1793,1818,1856,1900,1906,1914],{"__ignoreMap":58},[63,1527,1528,1532,1535,1538,1541,1543,1547,1550,1553,1556,1558,1561],{"class":65,"line":66},[63,1529,1531],{"class":1530},"spNyl","const",[63,1533,1534],{"class":105}," el ",[63,1536,1537],{"class":98},"=",[63,1539,1540],{"class":105}," document",[63,1542,179],{"class":98},[63,1544,1546],{"class":1545},"s2Zo4","querySelector",[63,1548,1549],{"class":105},"(",[63,1551,1552],{"class":98},"'",[63,1554,1555],{"class":73},"main section",[63,1557,1552],{"class":98},[63,1559,1560],{"class":105},") ",[63,1562,1564],{"class":1563},"sHwdD","// the section you want\n",[63,1566,1567,1569,1572,1574,1577,1579,1582,1584,1587,1590,1593,1595,1597,1599,1602,1604,1606,1608,1611,1613,1615,1617,1620,1622],{"class":65,"line":127},[63,1568,1531],{"class":1530},[63,1570,1571],{"class":105}," pick ",[63,1573,1537],{"class":98},[63,1575,1576],{"class":105}," [",[63,1578,1552],{"class":98},[63,1580,1581],{"class":73},"color",[63,1583,1552],{"class":98},[63,1585,1586],{"class":98},",",[63,1588,1589],{"class":98}," '",[63,1591,1592],{"class":73},"backgroundColor",[63,1594,1552],{"class":98},[63,1596,1586],{"class":98},[63,1598,1589],{"class":98},[63,1600,1601],{"class":73},"fontFamily",[63,1603,1552],{"class":98},[63,1605,1586],{"class":98},[63,1607,1589],{"class":98},[63,1609,1610],{"class":73},"fontSize",[63,1612,1552],{"class":98},[63,1614,1586],{"class":98},[63,1616,1589],{"class":98},[63,1618,1619],{"class":73},"fontWeight",[63,1621,1552],{"class":98},[63,1623,1624],{"class":98},",\n",[63,1626,1627,1630,1633,1635,1637,1639,1642,1644,1646,1648,1651,1653,1655,1657,1660,1662,1664,1666,1669,1671,1673,1675,1678,1680],{"class":65,"line":677},[63,1628,1629],{"class":98},"  '",[63,1631,1632],{"class":73},"lineHeight",[63,1634,1552],{"class":98},[63,1636,1586],{"class":98},[63,1638,1589],{"class":98},[63,1640,1641],{"class":73},"letterSpacing",[63,1643,1552],{"class":98},[63,1645,1586],{"class":98},[63,1647,1589],{"class":98},[63,1649,1650],{"class":73},"padding",[63,1652,1552],{"class":98},[63,1654,1586],{"class":98},[63,1656,1589],{"class":98},[63,1658,1659],{"class":73},"gap",[63,1661,1552],{"class":98},[63,1663,1586],{"class":98},[63,1665,1589],{"class":98},[63,1667,1668],{"class":73},"borderRadius",[63,1670,1552],{"class":98},[63,1672,1586],{"class":98},[63,1674,1589],{"class":98},[63,1676,1677],{"class":73},"boxShadow",[63,1679,1552],{"class":98},[63,1681,1682],{"class":105},"]\n",[63,1684,1685],{"class":65,"line":683},[63,1686,692],{"emptyLinePlaceholder":691},[63,1688,1689,1691,1694,1696,1699,1701,1704,1707,1709,1712,1714,1716,1719,1721,1724,1726,1729,1731,1735,1737,1740,1743,1745,1748,1750,1752,1755,1757,1760],{"class":65,"line":688},[63,1690,1531],{"class":1530},[63,1692,1693],{"class":105}," rows ",[63,1695,1537],{"class":98},[63,1697,1698],{"class":105}," [el",[63,1700,1586],{"class":98},[63,1702,1703],{"class":98}," ...",[63,1705,1706],{"class":105},"el",[63,1708,179],{"class":98},[63,1710,1711],{"class":1545},"querySelectorAll",[63,1713,1549],{"class":105},[63,1715,1552],{"class":98},[63,1717,1718],{"class":73},"h1, h2, p, a, button",[63,1720,1552],{"class":98},[63,1722,1723],{"class":105},")]",[63,1725,179],{"class":98},[63,1727,1728],{"class":1545},"slice",[63,1730,1549],{"class":105},[63,1732,1734],{"class":1733},"sbssI","0",[63,1736,1586],{"class":98},[63,1738,1739],{"class":1733}," 12",[63,1741,1742],{"class":105},")",[63,1744,179],{"class":98},[63,1746,1747],{"class":1545},"map",[63,1749,1549],{"class":105},[63,1751,1549],{"class":98},[63,1753,139],{"class":1754},"sHdIc",[63,1756,1742],{"class":98},[63,1758,1759],{"class":1530}," =>",[63,1761,1762],{"class":98}," {\n",[63,1764,1765,1768,1771,1774,1777,1780,1782],{"class":65,"line":695},[63,1766,1767],{"class":1530},"  const",[63,1769,1770],{"class":105}," s",[63,1772,1773],{"class":98}," =",[63,1775,1776],{"class":1545}," getComputedStyle",[63,1778,1549],{"class":1779},"swJcz",[63,1781,139],{"class":105},[63,1783,1784],{"class":1779},")\n",[63,1786,1787,1791],{"class":65,"line":701},[63,1788,1790],{"class":1789},"s7zQu","  return",[63,1792,1762],{"class":98},[63,1794,1795,1798,1800,1803,1805,1808,1810,1813,1816],{"class":65,"line":706},[63,1796,1797],{"class":1779},"    tag",[63,1799,657],{"class":98},[63,1801,1802],{"class":105}," n",[63,1804,179],{"class":98},[63,1806,1807],{"class":105},"tagName",[63,1809,179],{"class":98},[63,1811,1812],{"class":1545},"toLowerCase",[63,1814,1815],{"class":1779},"()",[63,1817,1624],{"class":98},[63,1819,1820,1823,1825,1827,1829,1832,1834,1837,1839,1841,1843,1845,1847,1849,1852,1854],{"class":65,"line":712},[63,1821,1822],{"class":1779},"    text",[63,1824,657],{"class":98},[63,1826,1802],{"class":105},[63,1828,179],{"class":98},[63,1830,1831],{"class":105},"textContent",[63,1833,179],{"class":98},[63,1835,1836],{"class":1545},"trim",[63,1838,1815],{"class":1779},[63,1840,179],{"class":98},[63,1842,1728],{"class":1545},[63,1844,1549],{"class":1779},[63,1846,1734],{"class":1733},[63,1848,1586],{"class":98},[63,1850,1851],{"class":1733}," 40",[63,1853,1742],{"class":1779},[63,1855,1624],{"class":98},[63,1857,1858,1861,1864,1866,1869,1871,1874,1876,1878,1880,1882,1884,1886,1888,1890,1892,1895,1897],{"class":65,"line":718},[63,1859,1860],{"class":98},"    ...",[63,1862,1863],{"class":105},"Object",[63,1865,179],{"class":98},[63,1867,1868],{"class":1545},"fromEntries",[63,1870,1549],{"class":1779},[63,1872,1873],{"class":105},"pick",[63,1875,179],{"class":98},[63,1877,1747],{"class":1545},[63,1879,1549],{"class":1779},[63,1881,11],{"class":1754},[63,1883,1759],{"class":1530},[63,1885,1576],{"class":1779},[63,1887,11],{"class":105},[63,1889,1586],{"class":98},[63,1891,1770],{"class":105},[63,1893,1894],{"class":1779},"[",[63,1896,11],{"class":105},[63,1898,1899],{"class":1779},"]]))\n",[63,1901,1903],{"class":65,"line":1902},11,[63,1904,1905],{"class":98},"  }\n",[63,1907,1909,1912],{"class":65,"line":1908},12,[63,1910,1911],{"class":98},"}",[63,1913,1784],{"class":105},[63,1915,1917,1920,1923,1925,1928,1931,1933,1936,1939],{"class":65,"line":1916},13,[63,1918,1919],{"class":1545},"copy",[63,1921,1922],{"class":105},"(JSON",[63,1924,179],{"class":98},[63,1926,1927],{"class":1545},"stringify",[63,1929,1930],{"class":105},"(rows",[63,1932,1586],{"class":98},[63,1934,1935],{"class":98}," null,",[63,1937,1938],{"class":1733}," 2",[63,1940,1941],{"class":105},"))\n",[11,1943,1944,1947],{},[60,1945,1946],{},"copy()"," is a console helper in Chrome, Edge and Firefox. The JSON is now on your clipboard. Paste it into the chat with:",[53,1949,1952],{"className":1950,"code":1951,"language":645,"meta":58},[643],"Build this section in my project. Use exactly these computed values.\nDo not invent colors, sizes or fonts that are not in the list.\n",[60,1953,1951],{"__ignoreMap":58},[11,1955,1956],{},"Computed styles are what the browser actually rendered, after every stylesheet and media query, so they are the truth for your screen size. The limit is that they are for one viewport and no hover states. Resize the window and run it again if you need the mobile values.",[29,1958,1960],{"id":1959},"_2-keep-a-tokens-file-in-the-repo","2. Keep a tokens file in the repo",[11,1962,1963],{},"If you match the same reference more than once, stop pasting. Put the values where the agent reads them on every task:",[53,1965,1968],{"className":1966,"code":1967,"language":765,"meta":58,"style":58},"language-md shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C!-- CLAUDE.md, .cursor/rules, or AGENTS.md -->\n## Design reference: acme.com\n\n- Primary #635bff, text #0a2540, background #ffffff, muted #425466\n- Font: \"Sohne\", system-ui. Weights 400 and 600.\n- Type scale: 14, 16, 20, 32, 56 px\n- Spacing: 4, 8, 16, 24, 48 px. Radius 8 px.\n- Use only these values. Ask before adding a new one.\n",[60,1969,1970,1975,1983,1987,1995,2002,2009,2016],{"__ignoreMap":58},[63,1971,1972],{"class":65,"line":66},[63,1973,1974],{"class":1563},"\u003C!-- CLAUDE.md, .cursor/rules, or AGENTS.md -->\n",[63,1976,1977,1980],{"class":65,"line":127},[63,1978,1979],{"class":98},"## ",[63,1981,1982],{"class":69},"Design reference: acme.com\n",[63,1984,1985],{"class":65,"line":677},[63,1986,692],{"emptyLinePlaceholder":691},[63,1988,1989,1992],{"class":65,"line":683},[63,1990,1991],{"class":98},"-",[63,1993,1994],{"class":105}," Primary #635bff, text #0a2540, background #ffffff, muted #425466\n",[63,1996,1997,1999],{"class":65,"line":688},[63,1998,1991],{"class":98},[63,2000,2001],{"class":105}," Font: \"Sohne\", system-ui. Weights 400 and 600.\n",[63,2003,2004,2006],{"class":65,"line":695},[63,2005,1991],{"class":98},[63,2007,2008],{"class":105}," Type scale: 14, 16, 20, 32, 56 px\n",[63,2010,2011,2013],{"class":65,"line":701},[63,2012,1991],{"class":98},[63,2014,2015],{"class":105}," Spacing: 4, 8, 16, 24, 48 px. Radius 8 px.\n",[63,2017,2018,2020],{"class":65,"line":706},[63,2019,1991],{"class":98},[63,2021,2022],{"class":105}," Use only these values. Ask before adding a new one.\n",[11,2024,2025,2026,179],{},"This is the cheapest fix with the largest effect. The agent stops drifting between tasks because the constraints never leave its context. To fill it in without DevTools, use one of these ",[15,2027,2029],{"href":2028},"/api/blog/best-design-token-extraction-tools-2026","design token extraction tools",[29,2031,2033],{"id":2032},"_3-paste-the-sections-markup","3. Paste the section's markup",[11,2035,2036],{},"For \"rebuild this pricing table\", values are not enough. The agent also needs the structure. In devtools, right-click the section, choose Copy, then Copy outerHTML, and paste that along with the computed styles.",[11,2038,2039],{},"It is ugly. The markup carries the source site's class names, which mean nothing without its stylesheet, and a real section can be thousands of lines. It still beats a screenshot, because the copy, the nesting and the image URLs are real.",[29,2041,2043],{"id":2042},"_4-let-the-agent-fetch-it-itself","4. Let the agent fetch it itself",[11,2045,2046],{},"The first three methods all have you in the middle, copying. An MCP server removes you: the agent calls a tool with a URL and gets the values back while it works.",[11,2048,2049],{},"With one connected you type this:",[53,2051,2054],{"className":2052,"code":2053,"language":645,"meta":58},[643],"Match the hero on linear.app. Pull the real design first.\n",[60,2055,2053],{"__ignoreMap":58},[11,2057,2058],{},"The agent calls a design extraction tool, receives the section as a component with the resolved colors, fonts and spacing, and writes against that. Setup is a URL in ChatGPT, Claude and Cursor, and one command in Claude Code.",[29,2060,2062],{"id":2061},"the-four-compared","The four, compared",[457,2064,2065,2084],{},[460,2066,2067],{},[463,2068,2069,2072,2075,2078,2081],{},[466,2070,2071],{},"Method",[466,2073,2074],{},"Setup",[466,2076,2077],{},"You copy each time",[466,2079,2080],{},"Gets structure",[466,2082,2083],{},"Gets hover and breakpoints",[476,2085,2086,2102,2115,2129,2142],{},[463,2087,2088,2091,2094,2097,2100],{},[481,2089,2090],{},"Screenshot",[481,2092,2093],{},"None",[481,2095,2096],{},"Yes",[481,2098,2099],{},"Roughly",[481,2101,489],{},[463,2103,2104,2107,2109,2111,2113],{},[481,2105,2106],{},"Devtools snippet",[481,2108,2093],{},[481,2110,2096],{},[481,2112,489],{},[481,2114,489],{},[463,2116,2117,2120,2123,2125,2127],{},[481,2118,2119],{},"Tokens file in the repo",[481,2121,2122],{},"10 minutes",[481,2124,489],{},[481,2126,489],{},[481,2128,489],{},[463,2130,2131,2134,2136,2138,2140],{},[481,2132,2133],{},"Pasted outerHTML + styles",[481,2135,2093],{},[481,2137,2096],{},[481,2139,2096],{},[481,2141,489],{},[463,2143,2144,2147,2150,2152,2154],{},[481,2145,2146],{},"MCP server",[481,2148,2149],{},"2 minutes",[481,2151,489],{},[481,2153,2096],{},[481,2155,2096],{},[11,2157,2158],{},"My recommendation: do the tokens file today whatever else you choose. It costs ten minutes and fixes the most common complaint. Add an MCP server when you rebuild sections often enough that copying becomes the slow part.",[29,2160,2162],{"id":2161},"common-problems","Common problems",[11,2164,2165,2168],{},[48,2166,2167],{},"The agent still invents a color."," Your list was missing a role, usually the muted text or the border. Add it, and say \"use only these\".",[11,2170,2171,2174],{},[48,2172,2173],{},"The font is wrong."," The site uses a licensed typeface your project does not have. The agent cannot fix that. Pick the closest font you are allowed to use and put that in the tokens file.",[11,2176,2177,2180],{},[48,2178,2179],{},"It looks right at desktop and breaks on a phone."," Computed styles are for one width. Give the agent the mobile values too, or the breakpoints.",[11,2182,2183,2186],{},[48,2184,2185],{},"The page is a JavaScript app and the HTML is nearly empty."," Tools that read the served HTML find little. Copy from devtools after the page has rendered, or use an extractor that runs the page in a browser first.",[29,2188,2190],{"id":2189},"or-use-one-api-call","Or use one API call",[11,2192,2193,2197],{},[15,2194,2196],{"href":2195},"/api","MiroMiro"," is the MCP server from method 4, and the same thing as a REST API. It resolves which CSS rules win for each element of a live page and returns the result as data:",[53,2199,2201],{"className":55,"code":2200,"language":57,"meta":58,"style":58},"curl \"https://miromiro.app/api/v1/code?url=linear.app&section=hero&framework=jsx\" \\\n  -H \"Authorization: Bearer $MIROMIRO_API_KEY\"\n",[60,2202,2203,2219],{"__ignoreMap":58},[63,2204,2205,2208,2210,2213,2216],{"class":65,"line":66},[63,2206,2207],{"class":69},"curl",[63,2209,290],{"class":98},[63,2211,2212],{"class":73},"https://miromiro.app/api/v1/code?url=linear.app&section=hero&framework=jsx",[63,2214,2215],{"class":98},"\"",[63,2217,2218],{"class":105}," \\\n",[63,2220,2221,2224,2226,2229,2232],{"class":65,"line":127},[63,2222,2223],{"class":73},"  -H",[63,2225,290],{"class":98},[63,2227,2228],{"class":73},"Authorization: Bearer ",[63,2230,2231],{"class":105},"$MIROMIRO_API_KEY",[63,2233,295],{"class":98},[11,2235,2236],{},"You get the section as a React component, the tokens it uses, and its image and font URLs. Other calls return the brand palette, the full token set, or every image and icon on the page.",[11,2238,2239,2240,2244,2245,2244,2249,2244,2253,2257,2258,2262],{},"To connect it to an agent, follow the page for yours: ",[15,2241,2243],{"href":2242},"/api/agents/chatgpt","ChatGPT",", ",[15,2246,2248],{"href":2247},"/api/agents/claude","Claude",[15,2250,2252],{"href":2251},"/api/agents/claude-code","Claude Code",[15,2254,2256],{"href":2255},"/api/agents/codex","Codex"," or ",[15,2259,2261],{"href":2260},"/api/agents/cursor","Cursor",". There is no key to paste. You can start for free, with 300 credits a month and no card.",[11,2264,2265],{},"It reads public pages only, and complex sections do not always come back clean. Look at what it returned before you trust it.",[29,2267,2269],{"id":2268},"summary","Summary",[11,2271,2272],{},"Screenshots are for layout. Values have to come from the page. Start with a tokens file in the repo, use the devtools snippet for one-offs, and connect an MCP server once you are copying more than you are building.",[29,2274,2276],{"id":2275},"frequently-asked-questions","Frequently asked questions",[201,2278,2280],{"id":2279},"why-does-ai-generated-ui-look-almost-right-but-not-quite","Why does AI-generated UI look almost right but not quite?",[11,2282,2283],{},"Every value was estimated from pixels. A default blue for the brand color, 48px for a 56px heading, a system font for a custom one. Small errors, and a lot of them.",[201,2285,2287],{"id":2286},"is-a-screenshot-ever-enough","Is a screenshot ever enough?",[11,2289,2290],{},"For layout, yes. For colors, type, spacing and copy, no. Use both: the screenshot for where things go, the values for what they are.",[201,2292,2294],{"id":2293},"can-claude-or-cursor-read-a-live-websites-css","Can Claude or Cursor read a live website's CSS?",[11,2296,2297],{},"They can fetch the files, but working out which of several thousand rules applies to which element is the hard part. An extraction tool does that and returns the answer.",[201,2299,2301],{"id":2300},"what-should-i-put-in-the-prompt","What should I put in the prompt?",[11,2303,2304],{},"The values, and the sentence \"use exactly these, do not invent others\". Explicit numbers beat adjectives.",[743,2306,2307],{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":58,"searchDepth":127,"depth":127,"links":2309},[2310,2311,2312,2313,2314,2315,2316,2317,2318,2319],{"id":1493,"depth":127,"text":1494},{"id":1514,"depth":127,"text":1515},{"id":1959,"depth":127,"text":1960},{"id":2032,"depth":127,"text":2033},{"id":2042,"depth":127,"text":2043},{"id":2061,"depth":127,"text":2062},{"id":2161,"depth":127,"text":2162},{"id":2189,"depth":127,"text":2190},{"id":2268,"depth":127,"text":2269},{"id":2275,"depth":127,"text":2276,"children":2320},[2321,2322,2323,2324],{"id":2279,"depth":677,"text":2280},{"id":2286,"depth":677,"text":2287},{"id":2293,"depth":677,"text":2294},{"id":2300,"depth":677,"text":2301},"2026-10-12","Why a screenshot gives your AI agent the wrong colors and spacing, and four ways to hand it the real values: a devtools snippet, a tokens file, pasted markup, or an MCP server.",[2328,2330,2332,2334],{"question":2280,"answer":2329},"Because the model estimated every value from pixels. A screenshot does not contain a hex code, a font name or a spacing scale, so the agent picks plausible ones: a default blue for the brand color, 48px for a 56px heading, a system font for a custom typeface. Each error is small. Together they read as a near miss.",{"question":2294,"answer":2331},"Not on their own in a useful way. Fetching a page returns its HTML and links to stylesheets with thousands of rules, and the agent would have to work out which rules win for which element. A design extraction tool does that resolution and returns the result: the colors, fonts, spacing and the component code for a section.",{"question":2287,"answer":2333},"Yes, for layout. A screenshot tells the agent what goes where and roughly how big. It is not enough for exact colors, type, spacing or copy. Pair a screenshot with the real values and you get both.",{"question":2301,"answer":2335},"The values and one instruction: use exactly these, do not invent others. List the colors with their roles, the font families and weights, the type sizes, the spacing steps and the corner radii. Agents follow explicit values far more reliably than adjectives like modern or clean.",{},"/api-blog/make-ai-agent-match-a-real-website-design",[1466,788,2339,2340],"figma-mcp-setup-and-alternatives","how-to-extract-design-tokens-from-any-website-in-python",{"title":1482,"description":2326},"Make Claude, Cursor or ChatGPT Match a Real Website's Design","api-blog/make-ai-agent-match-a-real-website-design",[2345,949,2346,2347,2348,920,2349],"ai agents","cursor","chatgpt","mcp","screenshot to code","nFkSD1TmuqAKjVuLcT7Ey0nNNc8BFTjWcIe_WRaJYJ0",{"id":2352,"title":2353,"author":6,"body":2354,"category":762,"date":2883,"dateModified":782,"description":2884,"extension":765,"faqs":2885,"image":782,"meta":2897,"navigation":691,"path":2898,"readingTime":688,"relatedSlugs":2899,"seo":2901,"seoTitle":782,"stem":2902,"tags":2903,"__hash__":2904},"apiBlog/api-blog/add-design-extraction-to-claude-code-mcp.md","Add Design Extraction to Claude Code with MCP",{"type":8,"value":2355,"toc":2867},[2356,2359,2422,2425,2434,2438,2441,2448,2452,2463,2467,2478,2517,2527,2531,2566,2569,2580,2584,2591,2727,2734,2738,2772,2776,2782,2786,2789,2819,2825,2827,2831,2840,2844,2847,2851,2854,2858,2864],[11,2357,2358],{},"Two commands and Claude Code can read any website's design system instead of guessing it from a screenshot. Here is the whole setup:",[53,2360,2362],{"className":55,"code":2361,"language":57,"meta":58,"style":58},"claude mcp add miromiro -s user \\\n  --env MIROMIRO_API_KEY=mm_live_your_key \\\n  -- npx -y miromiro-mcp\n\nclaude mcp list   # look for \"✓ Connected\"\n",[60,2363,2364,2382,2392,2406,2410],{"__ignoreMap":58},[63,2365,2366,2368,2370,2372,2374,2377,2380],{"class":65,"line":66},[63,2367,949],{"class":69},[63,2369,952],{"class":73},[63,2371,95],{"class":73},[63,2373,963],{"class":73},[63,2375,2376],{"class":73}," -s",[63,2378,2379],{"class":73}," user",[63,2381,2218],{"class":105},[63,2383,2384,2387,2390],{"class":65,"line":127},[63,2385,2386],{"class":73},"  --env",[63,2388,2389],{"class":73}," MIROMIRO_API_KEY=mm_live_your_key",[63,2391,2218],{"class":105},[63,2393,2394,2397,2400,2403],{"class":65,"line":677},[63,2395,2396],{"class":73},"  --",[63,2398,2399],{"class":73}," npx",[63,2401,2402],{"class":73}," -y",[63,2404,2405],{"class":73}," miromiro-mcp\n",[63,2407,2408],{"class":65,"line":683},[63,2409,692],{"emptyLinePlaceholder":691},[63,2411,2412,2414,2416,2419],{"class":65,"line":688},[63,2413,949],{"class":69},[63,2415,952],{"class":73},[63,2417,2418],{"class":73}," list",[63,2420,2421],{"class":1563},"   # look for \"✓ Connected\"\n",[11,2423,2424],{},"That is genuinely it. The rest of this post is what those commands do, the Cursor/Windsurf versions, and how to actually use it in a session.",[11,2426,2427,2428,2430,2431,179],{},"No terminal, or you use Claude in the browser? There is also a hosted server - paste ",[60,2429,938],{}," into any client that takes a URL. Full walkthrough for Claude web, Cursor, ChatGPT and Codex in ",[15,2432,2433],{"href":972},"how to connect the MiroMiro MCP",[29,2435,2437],{"id":2436},"why-bother","Why bother",[11,2439,2440],{},"Ask a coding agent to \"make it look like stripe.com\" and it works from a screenshot at best, memory at worst. Either way it guesses: colors eyeballed from pixels, spacing approximated, fonts invented. The output is a plausible imitation with none of the real values.",[11,2442,2443,2444,179],{},"With the MCP server connected, the agent stops guessing. It calls the extraction tools itself, gets the site's actual ranked palette, type scale, spacing, and shadows as data, and builds with those. Same prompt, real values. We wrote more about this gap in ",[15,2445,2447],{"href":2446},"/api/use-cases/ai-agent-ground-truth","ground truth for AI agents",[29,2449,2451],{"id":2450},"step-1-get-a-key","Step 1: get a key",[11,2453,2454,2455,2459,2460,179],{},"Sign in and mint one at ",[15,2456,2458],{"href":2457},"/api/dashboard/keys","miromiro.app/api/dashboard/keys",". 300 free credits a month, no card. Keys look like ",[60,2461,2462],{},"mm_live_...",[29,2464,2466],{"id":2465},"step-2-add-the-server","Step 2: add the server",[11,2468,2469,2470,2473,2474,2477],{},"The server is a local stdio process (",[60,2471,2472],{},"npx miromiro-mcp",") that reads your key from ",[60,2475,2476],{},"MIROMIRO_API_KEY",". Run this in your terminal - not inside a Claude session; you are configuring the server before the conversation starts:",[53,2479,2481],{"className":55,"code":2480,"language":57,"meta":58,"style":58},"claude mcp add miromiro -s user \\\n  --env MIROMIRO_API_KEY=mm_live_your_key \\\n  -- npx -y miromiro-mcp\n",[60,2482,2483,2499,2507],{"__ignoreMap":58},[63,2484,2485,2487,2489,2491,2493,2495,2497],{"class":65,"line":66},[63,2486,949],{"class":69},[63,2488,952],{"class":73},[63,2490,95],{"class":73},[63,2492,963],{"class":73},[63,2494,2376],{"class":73},[63,2496,2379],{"class":73},[63,2498,2218],{"class":105},[63,2500,2501,2503,2505],{"class":65,"line":127},[63,2502,2386],{"class":73},[63,2504,2389],{"class":73},[63,2506,2218],{"class":105},[63,2508,2509,2511,2513,2515],{"class":65,"line":677},[63,2510,2396],{"class":73},[63,2512,2399],{"class":73},[63,2514,2402],{"class":73},[63,2516,2405],{"class":73},[11,2518,2519,2522,2523,2526],{},[60,2520,2521],{},"-s user"," registers it for every project; drop it to scope to the current one. The ",[60,2524,2525],{},"-y"," matters: it lets npx start the package unattended, so the editor can spawn the server without an install prompt.",[29,2528,2530],{"id":2529},"step-3-verify-and-use-it","Step 3: verify and use it",[53,2532,2534],{"className":55,"code":2533,"language":57,"meta":58,"style":58},"claude mcp list\n# miromiro ... ✓ Connected\n\nclaude\n> Use the miromiro server to get the brand colors and fonts of stripe.com\n",[60,2535,2536,2545,2550,2554,2559],{"__ignoreMap":58},[63,2537,2538,2540,2542],{"class":65,"line":66},[63,2539,949],{"class":69},[63,2541,952],{"class":73},[63,2543,2544],{"class":73}," list\n",[63,2546,2547],{"class":65,"line":127},[63,2548,2549],{"class":1563},"# miromiro ... ✓ Connected\n",[63,2551,2552],{"class":65,"line":677},[63,2553,692],{"emptyLinePlaceholder":691},[63,2555,2556],{"class":65,"line":683},[63,2557,2558],{"class":69},"claude\n",[63,2560,2561,2563],{"class":65,"line":688},[63,2562,109],{"class":98},[63,2564,2565],{"class":105}," Use the miromiro server to get the brand colors and fonts of stripe.com\n",[11,2567,2568],{},"All seven extraction tools appear in Claude's toolbox automatically: design tokens, brand, images, SVGs, fonts, Lottie, and section-to-code. You do not name tools in prompts - ask design-shaped questions and the agent picks the right one. Prompts that work well:",[572,2570,2571,2574,2577],{},[575,2572,2573],{},"\"Extract linear.app's design tokens and restyle our Button component to match\"",[575,2575,2576],{},"\"Get vercel.com's hero section as Tailwind and adapt it for our landing page\"",[575,2578,2579],{},"\"Pull the brand palette from ourcustomer.com and generate a theme file\"",[29,2581,2583],{"id":2582},"cursor-and-windsurf","Cursor and Windsurf",[11,2585,2586,2587,2590],{},"Both take the standard ",[60,2588,2589],{},"mcpServers"," JSON block:",[53,2592,2596],{"className":2593,"code":2594,"language":2595,"meta":58,"style":58},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"mcpServers\": {\n    \"miromiro\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"miromiro-mcp\"],\n      \"env\": { \"MIROMIRO_API_KEY\": \"mm_live_your_key\" }\n    }\n  }\n}\n","json",[60,2597,2598,2603,2616,2630,2650,2681,2713,2718,2722],{"__ignoreMap":58},[63,2599,2600],{"class":65,"line":66},[63,2601,2602],{"class":98},"{\n",[63,2604,2605,2608,2610,2612,2614],{"class":65,"line":127},[63,2606,2607],{"class":98},"  \"",[63,2609,2589],{"class":1530},[63,2611,2215],{"class":98},[63,2613,657],{"class":98},[63,2615,1762],{"class":98},[63,2617,2618,2621,2624,2626,2628],{"class":65,"line":677},[63,2619,2620],{"class":98},"    \"",[63,2622,2623],{"class":69},"miromiro",[63,2625,2215],{"class":98},[63,2627,657],{"class":98},[63,2629,1762],{"class":98},[63,2631,2632,2635,2638,2640,2642,2644,2646,2648],{"class":65,"line":683},[63,2633,2634],{"class":98},"      \"",[63,2636,2637],{"class":1733},"command",[63,2639,2215],{"class":98},[63,2641,657],{"class":98},[63,2643,290],{"class":98},[63,2645,276],{"class":73},[63,2647,2215],{"class":98},[63,2649,1624],{"class":98},[63,2651,2652,2654,2657,2659,2661,2663,2665,2667,2669,2671,2673,2676,2678],{"class":65,"line":688},[63,2653,2634],{"class":98},[63,2655,2656],{"class":1733},"args",[63,2658,2215],{"class":98},[63,2660,657],{"class":98},[63,2662,1576],{"class":98},[63,2664,2215],{"class":98},[63,2666,2525],{"class":73},[63,2668,2215],{"class":98},[63,2670,1586],{"class":98},[63,2672,290],{"class":98},[63,2674,2675],{"class":73},"miromiro-mcp",[63,2677,2215],{"class":98},[63,2679,2680],{"class":98},"],\n",[63,2682,2683,2685,2688,2690,2692,2695,2697,2699,2701,2703,2705,2708,2710],{"class":65,"line":695},[63,2684,2634],{"class":98},[63,2686,2687],{"class":1733},"env",[63,2689,2215],{"class":98},[63,2691,657],{"class":98},[63,2693,2694],{"class":98}," {",[63,2696,290],{"class":98},[63,2698,2476],{"class":1779},[63,2700,2215],{"class":98},[63,2702,657],{"class":98},[63,2704,290],{"class":98},[63,2706,2707],{"class":73},"mm_live_your_key",[63,2709,2215],{"class":98},[63,2711,2712],{"class":98}," }\n",[63,2714,2715],{"class":65,"line":701},[63,2716,2717],{"class":98},"    }\n",[63,2719,2720],{"class":65,"line":706},[63,2721,1905],{"class":98},[63,2723,2724],{"class":65,"line":712},[63,2725,2726],{"class":98},"}\n",[11,2728,2729,2730,2733],{},"Cursor: ",[60,2731,2732],{},"~/.cursor/mcp.json",". Windsurf: Settings → MCP. Restart the editor after saving; both show the server's tools in their MCP panel when connected.",[29,2735,2737],{"id":2736},"things-worth-knowing","Things worth knowing",[572,2739,2740,2750,2756],{},[575,2741,2742,2745,2746,2749],{},[48,2743,2744],{},"It reads static HTML + CSS by default."," A fully client-rendered app can return little that way - and the tools say so rather than inventing a result, which is the behavior you want in an agent pipeline. When that happens, pass ",[60,2747,2748],{},"render: true"," on any tool: the page loads in a real browser and its JavaScript runs before extraction (+5 credits). The response even includes a hint telling the agent to do exactly that.",[575,2751,2752,2755],{},[48,2753,2754],{},"Credits:"," a token extraction, a brand lookup or section-to-code is 10 credits. The free 300/month covers real experimentation; the agent sees remaining quota in each response's usage object.",[575,2757,2758,2761,2762,2765,2766,2769,2770,179],{},[48,2759,2760],{},"Server not connecting?"," It is almost always the key: check ",[60,2763,2764],{},"claude mcp list",", and confirm the env var made it in (",[60,2767,2768],{},"claude mcp get miromiro","). Node 18+ is required for ",[60,2771,276],{},[29,2773,2775],{"id":2774},"using-it-alongside-the-figma-mcp","Using it alongside the Figma MCP",[11,2777,2778,2779,179],{},"If your team also designs in Figma, run both: Figma's server for the screens you designed, this one for the live sites you reference or migrate from. Claude Code picks the right tool from the prompt. Setup for the Figma side is in ",[15,2780,2781],{"href":1019},"Figma MCP: setup and what to use without a Figma file",[29,2783,2785],{"id":2784},"or-skip-mcp-entirely","Or skip MCP entirely",[11,2787,2788],{},"The same engine is a plain REST API if your agent framework speaks HTTP instead:",[53,2790,2792],{"className":55,"code":2791,"language":57,"meta":58,"style":58},"curl \"https://miromiro.app/api/v1/extract?url=stripe.com\" \\\n  -H \"Authorization: Bearer $MIROMIRO_API_KEY\"\n",[60,2793,2794,2807],{"__ignoreMap":58},[63,2795,2796,2798,2800,2803,2805],{"class":65,"line":66},[63,2797,2207],{"class":69},[63,2799,290],{"class":98},[63,2801,2802],{"class":73},"https://miromiro.app/api/v1/extract?url=stripe.com",[63,2804,2215],{"class":98},[63,2806,2218],{"class":105},[63,2808,2809,2811,2813,2815,2817],{"class":65,"line":127},[63,2810,2223],{"class":73},[63,2812,290],{"class":98},[63,2814,2228],{"class":73},[63,2816,2231],{"class":105},[63,2818,295],{"class":98},[11,2820,2821,2822,179],{},"Full setup docs, including the agent quickstart, live at ",[15,2823,2824],{"href":2824},"/api/docs/install-mcp",[29,2826,2276],{"id":2275},[201,2828,2830],{"id":2829},"how-do-i-add-an-mcp-server-to-claude-code","How do I add an MCP server to Claude Code?",[11,2832,2833,2836,2837,2839],{},[60,2834,2835],{},"claude mcp add \u003Cname> ... -- \u003Ccommand>"," in your terminal, then ",[60,2838,2764],{}," to confirm it connected. Exact MiroMiro command at the top of this post.",[201,2841,2843],{"id":2842},"what-tools-does-the-server-expose","What tools does the server expose?",[11,2845,2846],{},"Seven: design tokens, brand, images, SVGs, fonts, Lottie, and section-to-code. They register automatically; the agent picks per task.",[201,2848,2850],{"id":2849},"why-tokens-instead-of-a-screenshot","Why tokens instead of a screenshot?",[11,2852,2853],{},"Screenshots make the model guess every value. Tokens are the site's real CSS - the difference between imitation and ground truth.",[201,2855,2857],{"id":2856},"does-it-work-with-cursor-and-windsurf","Does it work with Cursor and Windsurf?",[11,2859,2860,2861,2863],{},"Yes - standard ",[60,2862,2589],{}," JSON (above), restart, done.",[743,2865,2866],{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":58,"searchDepth":127,"depth":127,"links":2868},[2869,2870,2871,2872,2873,2874,2875,2876,2877],{"id":2436,"depth":127,"text":2437},{"id":2450,"depth":127,"text":2451},{"id":2465,"depth":127,"text":2466},{"id":2529,"depth":127,"text":2530},{"id":2582,"depth":127,"text":2583},{"id":2736,"depth":127,"text":2737},{"id":2774,"depth":127,"text":2775},{"id":2784,"depth":127,"text":2785},{"id":2275,"depth":127,"text":2276,"children":2878},[2879,2880,2881,2882],{"id":2829,"depth":677,"text":2830},{"id":2842,"depth":677,"text":2843},{"id":2849,"depth":677,"text":2850},{"id":2856,"depth":677,"text":2857},"2026-07-18","Install the MiroMiro MCP server in two commands and Claude Code can pull any website's tokens, brand, fonts, and section code instead of guessing.",[2886,2888,2891,2894],{"question":2830,"answer":2887},"Run claude mcp add \u003Cname> with the command that starts the server, in your terminal before starting a session. For MiroMiro: claude mcp add miromiro -s user --env MIROMIRO_API_KEY=your_key -- npx -y miromiro-mcp. Verify with claude mcp list - you want to see Connected.",{"question":2889,"answer":2890},"What does the MiroMiro MCP server let Claude do?","Seven extraction tools appear in Claude's toolbox automatically: design tokens, brand data (logo, palette, fonts), images, SVGs, fonts, Lottie animations, and section-to-code. Claude calls them by itself when you ask design questions about a URL - no manual API calls in your prompts.",{"question":2892,"answer":2893},"Why give a coding agent design tokens instead of a screenshot?","Screenshots make the model guess values - it eyeballs colors, approximates spacing, and invents font names. Tokens are the site's real CSS values, so 'build it like stripe.com' produces the actual palette and type scale instead of a plausible imitation.",{"question":2895,"answer":2896},"Does the MiroMiro MCP server work with Cursor and Windsurf?","Yes. Both take the standard mcpServers JSON block: command npx, args ['-y', 'miromiro-mcp'], and your key in the env. In Cursor it goes in ~/.cursor/mcp.json; in Windsurf under Settings, MCP.",{},"/api-blog/add-design-extraction-to-claude-code-mcp",[1466,2340,2900],"design-token-types-reference",{"title":2353,"description":2884},"api-blog/add-design-extraction-to-claude-code-mcp",[2348,797,2345,920,2346],"KBcnvN6qA1obk6jTL58_dr626mvMTguZowz80m7iH5o",1796506396773]