How do I make Claude Code build on-brand UI?

What Anthropic's frontend-design skill does, why Claude Code UI still comes out off-brand, and how to give it your tokens, fonts, logo and rules.

Daryl Budiman
Updated · 9 min read

TLDR

Anthropic's frontend-design skill makes Claude Code plan and build distinctive UI instead of the average AI page. Install it with /plugin marketplace add anthropics/skills, then /plugin install example-skills@anthropic-agent-skills.

The skill invents a palette and type when the brief leaves them open. That's right for a new product and wrong for one that already has a brand.

Put your tokens in one file, ship your real font and logo files, and write a short brand section in CLAUDE.md that says your tokens are the brief.

Klayson gives Claude Code the rest of the brand (voice, imagery, examples) as a guide it reads over MCP with get_brand and get_page, and check_design compares each page with it.

Check every page at 1440 and 390 px: your font loading, contrast, clipping, and your logo file instead of a redrawn one.

Give Claude Code your brand once: your tokens, fonts, logo and voice, read before every page it builds.

You installed Anthropic's frontend-design skill, asked Claude Code for a pricing page, and got something that looks designed. Bold type, a palette with an opinion, none of the usual purple gradient. It also looks nothing like your product. The skill makes Claude Code design with intent, but it doesn't know your brand, and when nothing pins the brand down it invents one. To get on-brand UI, give Claude Code your real tokens, font files and logo in the repo, a short brand section in CLAUDE.md, a brand guide it can read over MCP, and a check on every page it builds.

I make Klayson, a brand MCP server for Claude Code, which comes up in step 4. Every other step works without it.

What is Anthropic's frontend design skill?

frontend-design is a skill Anthropic publishes in its anthropics/skills repository. A skill is a folder with a SKILL.md file of instructions that Claude loads when the task matches. This one is for intentional visual design when you build new UI or reshape an existing one.

Anthropic introduced it in Improving frontend design through Skills on November 12, 2025. The problem it names is distributional convergence: without guidance, a model reaches for the most common choices in its training data, so AI-built pages drift toward the same fonts like Inter, purple gradients on white, and little motion. That first version was about 400 tokens.

The version in the repo on November 21, 2026 is longer and more specific. It asks Claude to:

  • Work like the design lead at a studio that gives every client a distinct identity.
  • Ground the design in the subject: its industry, materials and vocabulary.
  • Plan before code: 4 to 6 named hex colors, the typefaces and their roles, a layout concept, and a few principles. Then review the plan against the brief and revise anything generic.
  • Avoid the common tells of generated pages, such as a cream background with a serif and a terracotta accent, identical rounded cards with the same soft shadow, all-caps labels over every heading, and an arrow added to every button.
  • Hold a quality floor: responsive down to mobile, visible keyboard focus, reduced motion respected, accessible contrast.
  • Write interface copy in plain, active words that say what each button does.

How do you install the frontend design skill in Claude Code?

Add Anthropic's repository as a plugin marketplace, then install the plugin that contains the skill. From the repo's README:

  1. In Claude Code, run /plugin marketplace add anthropics/skills.
  2. Run /plugin install example-skills@anthropic-agent-skills.
  3. Ask for UI work. Claude loads the skill when the task matches, or you can name it: "use the frontend-design skill".

The example-skills plugin also brings brand-guidelines, canvas-design, theme-factory, webapp-testing and others. What each of those design skills does, and how to pair one with your brand, is in Claude design skills. The same README says the example skills are already available on paid Claude.ai plans.

Why does Claude Code UI design still look generic or off-brand?

Generic and off-brand are two different failures, and the skill fixes only the first.

Without the skill, Claude Code drifts to the average page, the look people call AI slop. With it, Claude makes deliberate choices, but they're its own. The skill tells Claude to choose typefaces that aren't the usual defaults and to propose its own palette. That's right for a new product with no identity. It's wrong for a product that has one.

The skill does give way to a brief that pins a direction. In its words, "the brief's own words always win." So the fix isn't removing the skill. It's making your brand the brief, every time, without retyping it.

Say your app's brand is navy #12213F, a coral accent used only on primary actions, and a licensed sans you load from /fonts. You ask for a settings page. The skill's plan step proposes five hex values and two typefaces suited to a settings page for a finance app. If your tokens aren't in front of Claude, none of those five are yours. The page is distinctive and wrong.

There's a second reason. Claude Code treats CLAUDE.md as context, not enforced configuration, per Anthropic's memory docs. The same docs say longer files reduce adherence, suggest keeping each CLAUDE.md under 200 lines, and note that specific, concise instructions are followed more consistently. A brand rule on line 480 is a rule Claude may not weigh.

How do you give Claude Code your brand?

Five steps. Each one ends with a way to check it worked.

1. Put the tokens in code, once

Your colors, type scale, spacing and radius should live in one place: CSS variables, a Tailwind theme, or a tokens file. Name colors by role (--color-action, --color-surface), not by hue, so Claude can tell which one a button uses.

Check: search the codebase for hex values outside the tokens file. Each one teaches Claude that improvising is allowed.

2. Ship the real files

Put your font files in the repo with an @font-face rule, and your logo as SVG files in one folder. A font name alone lets the browser fall back to whatever is installed. A logo described in words gets rebuilt as text.

Check: load the page with the network panel open and confirm your font files load. Look at the logo in the page source. It should be your file, not text in a similar font.

3. Write a brand section in CLAUDE.md

Keep it short and literal. A project CLAUDE.md lives at ./CLAUDE.md or ./.claude/CLAUDE.md and loads in every session. If the rules only matter for UI files, put them in .claude/rules/ with a paths field, so they load when Claude works on matching files. A section you can adapt:

  • Brand tokens live in app/tokens.css. Use them. Never add a hex value, font family or shadow outside that file.
  • Fonts: our sans from /fonts for everything, headlines included. No other typeface.
  • Logo: /public/brand/logo.svg and logo-white.svg exactly as they are. Never retype, recolor or redraw the logo.
  • Coral (--color-action) is for the primary action only, one per screen.
  • When the frontend-design skill is active, our tokens are the brief. Use its process for layout and hierarchy, never for palette or type.
  • Before building a page, read the brand guide. After building it, check it.

Check: start a fresh session and ask Claude Code what color a primary button should be. It should name the token, not a hex it made up.

4. Give Claude Code a brand guide it can read

CLAUDE.md is good for rules about code. It's a poor home for the whole brand: the voice, the photography, how your ads differ from your app, and the examples that show the rules in use. That belongs in a brand guide an agent reads one page at a time.

This is the step Klayson does. Add the Klayson brand MCP to Claude Code:

  • claude mcp add --transport http klayson https://api.klayson.com/mcp

Or install the Klayson plugin:

  • claude plugin marketplace add makedovey/plugin
  • claude plugin install klayson@klayson

Claude Code then calls get_brand for the overview and the list of pages, and get_page for the ones the job needs, such as web, components or typography. It works the other way too: capture_codebase sends your repo's tokens, fonts, logo files and components into the brand guide, so Claude Design, ChatGPT and every other agent read the brand as your code has it.

Connect Klayson to Claude Code

The by-hand way: keep a docs/brand.md with your voice, imagery rules and two or three screenshots of pages you like, and import it from CLAUDE.md with @docs/brand.md. Imported files load in full with the file that imports them, so keep it short.

Check: in a new session, ask Claude Code what your brand's rules for buttons are. The answer should come from your guide, not from general advice.

5. Check every page it builds

Ask Claude Code to screenshot the page at 1440 and 390 px wide and compare it with a page you already shipped. Then check what a screenshot hides: the font that actually rendered, contrast, and text that clips on a phone.

With Klayson, check_design renders the HTML or a URL and lists what's wrong, each with its fix: the brand's fonts not on screen, overflow at 390 px, clipped text, low contrast, generic AI tells, and the logo or pictures redrawn instead of used. Claude Code fixes them and checks again.

Check: the list comes back empty, or every item left on it is one you chose to keep.

Frontend design skill or brand guide: which do you need?

Both, for different jobs.

frontend-design skillYour brand guide
What it knowsHow to avoid generic layouts and typeYour colors, fonts, logo, voice and examples
What it decidesPalette, type and layout when the brief leaves them openNothing. It tells the agent what is fixed
Best forA new product with no identity yetA product that already has one
Where it livesA skill in Claude CodeYour repo, CLAUDE.md, or a brand MCP such as Klayson

Run the skill with your brand as its brief and you keep the parts you want from it: deliberate layout, a clear hierarchy and a quality floor, inside your brand.

Can Claude Design and Claude Code share one design system?

Yes. In Claude Code, /design-sync pulls your design system from the codebase into Claude Design, and /design creates, edits and syncs design projects, per Anthropic's Claude Design page. A design made in Claude Design can be handed to Claude Code, which continues from it instead of rebuilding from a screenshot.

That keeps components and tokens in step. It doesn't carry your voice, imagery rules, or your ad and social pages, which is where a brand guide earns its place. For the Claude Design side, see How to make Claude Design follow your brand.

Doing it with Klayson

I make Klayson so a team's brand lives in one place every agent can read. You turn your website, a brand guide PDF or deck, or your codebase into a brand guide. It has pages for the overview, logo, colors with roles, typography with the real font files, voice, imagery, products, layout, components and sections, plus one page per medium (web, app, ads, social, slides, email, print), each with your own examples.

Klayson doesn't write your UI. Claude Code does. Klayson holds the brand, hands Claude Code the page it needs, and checks the result. When you approve a page, save_to_library keeps it as an example for the next one.

Free is $0 with no card, up to 3 brands and 100 agent calls a week. Pro is $20 a seat a month, and Enterprise is custom. Setup is on Connect Klayson to Claude Code and in the installation docs.

Final thoughts

The frontend-design skill raised the floor on what Claude Code ships. It can't know whose product it's designing. Put your tokens and files in the repo, write the rules down short, give Claude Code your brand guide, and check every page.

Daryl

FAQ

Yes. It's in Anthropic's public anthropics/skills repository on GitHub, and the README says the example skills are already available on paid Claude.ai plans. The license terms are in LICENSE.txt in the skill's folder.

Start free

or set up with
Frontend Design Skill: Make Claude Code UI On Brand | Klayson