Blog

How to make Claude Code UI look less generic

Write the look down, give Claude Code a reference, and review one screen before it builds. Seven steps that make a coding agent's UI your own.

To make Claude Code UI look less generic, give it something to go on before it writes code. Write your colors, font, spacing and components into the rules file it reads. Show it a reference. Then ask for one screen, review it, fix what looks default, and build the rest against the screen you approved.

Why the first try looks like every other app

Ask Claude Code for "a home screen for my language app" and one prompt has to do three jobs. It has to pick the look, lay out the screen and write the code. With nothing to go on, it reaches for the most common choices: rounded cards with the same padding, the framework's own font and colors, and a few parts nobody asked for.

That isn't a flaw you can prompt away in one line. It's what happens when the look is never decided. Why AI-built apps look generic covers the cause in more detail. This guide is the fix, step by step.

1. Write the look down

Claude Code reads CLAUDE.md, the rules file in your project. Put the decisions that should hold on every screen there:

  • Your colors, with a name for each one.
  • Your font, and the sizes you use for titles, body text and captions.
  • Your spacing steps, such as 4, 8, 16 and 24.
  • The components that already exist, so it reuses them instead of making new ones.
  • What it must not add: no extra banners, no stats row, no second button.

Short and exact beats long and vague. "Primary buttons are full width, 48 points tall, square corners" is a rule an agent can follow. "Make it feel premium" is not.

2. Give it a reference

Words only go so far. If you have a screenshot of an app whose feel you want, or a sketch, attach it.

In AgentDesign you can attach an image or a link to a comment, so the reference sits on the screen it applies to. The agent reads it with the comment. If your logo or brand work lives in another tool, this is how it reaches the agent.

3. Ask for one screen first, and tell it to wait

Don't ask for the whole app. Ask for the one screen people see most, and end the prompt with the sentence that matters:

Draw the Home screen for Sprout: today's lesson, the list of units, and a Continue button. Wait for my feedback before writing code.

One screen is cheap to change. Ten screens built on a default look are not. Settle the look here, and every later screen has something to match.

4. When it isn't sure, ask for options

A coding agent picks one answer and moves on. For a question that sets the look, ask it to show you a few instead.

AgentDesign has option boards for this. The agent puts several options side by side under your question, such as "How should answers look in a lesson?" with a word list, picture cards and typing. You pick one and say why, and your reason is kept with it. The next time the question comes up, the answer is already written down.

5. Point at what looks default

Now look at the screen and find the parts that look like every other app. Don't describe where they are. Point at them.

Choose Pin a Point and click the element, or Mark an Area and drag around it. The agent gets the exact elements you marked. Write one change per comment and say the result you want:

  • "This card has the same padding as every other card. Use 24 here and 16 inside."
  • "This blue is the framework default. Use our green from the rules file."
  • "Remove this stats row. I didn't ask for it."

The agent changes the design and replies in the same thread. Only you can resolve the comment. How to give UI feedback a coding agent follows has more on writing these.

6. Save what you settle

A fixed screen is a start. A look that holds across screens needs the decisions saved where the agent reads them every time.

In AgentDesign:

  • Colors, type and spacing are saved once, each with a Day and a Night value.
  • Shared components are designed once and used on every screen.
  • House rules are rules your agent reads before it works on the project. Only you can change them.
  • Decisions record what you settled and the questions still open.

When you approve a version, you can also export it as a DESIGN.md file with your colors (Day and Night) and component rules, for agents that read one.

7. Approve, build, then check the build

Before you say yes, open the screen's Revisions and use Compare beside the earlier revision. The change is outlined, so you can see if the agent touched anything you didn't ask for. Then mark the design Approved and tell Claude Code it can write the code.

A look you approved can still drift in the build. Ask Claude Code to screenshot the running app from a simulator, an emulator or your local web build. AgentDesign puts that screenshot beside the design and marks the differences, so a default color that slipped back in shows up before your users see it.

A short checklist

  • Colors, font, spacing and components are in CLAUDE.md.
  • The first prompt ends with "wait for my feedback before writing code".
  • One screen first, until the look is settled.
  • Options for the questions that set the look.
  • One change per comment, pinned on the element.
  • Tokens, components and rules saved where the agent reads them.
  • The built screen checked against the approved design.

Try it on your own app

AgentDesign is a Mac app where your coding agent draws each screen first. You point at what to change and approve it, and every version of every screen is kept. The free demo has every feature for one project and two versions, with no account and no time limit. A license is $29, paid once. See pricing and the free demo, or start with How to design UI with Claude Code before it writes code.