Blog

Giving Claude Code a design to work from

Words plagio team

Share X, LinkedIn

CLAUDE.md, a skill and a reference each fix a different part of the problem. Here is which one to reach for, and what Claude Code still can't know.

We make plagio, so read this with that in mind. Everything about other products was checked on 12 November 2026 against the sources at the end.

Claude Code writes the backend you asked for and then hands you a page that looks like every other page. The code is fine. The design is the average of everything the model has read, because that is all you gave it to work from.

Three things change that, and they are not interchangeable. One tells it what your product looks like, one tells it how to make design decisions, and one shows it a page that already works. Most people try the second and stop.

The design file

Put the real values in a markdown file and point CLAUDE.md at it: hex colours, the font names, the type scale, the spacing step, the radius, the shadow. Values, not adjectives. "Modern and clean" leaves every number to the model; `--radius: 6px` does not.

Keep it one file. A design spread over six files gets read in pieces, and the piece it misses is the one you cared about.

The skill

A skill is the part you would otherwise repeat in every prompt: which defaults to avoid, how to handle type and colour, when to animate. Anthropic published a frontend-design skill of roughly 400 tokens for exactly this, and it is worth reading before you write your own. A skill is judgement, not values. It cannot know your brand.

The reference

Then there is the question neither file answers: what should this look like? If you have seen a page you want to build like, give Claude Code that page's real values. A screenshot does not do it, because a picture leaves the model estimating the font, the sizes and the greys.

In practice this is one sentence in the prompt: "build the pricing section like stripe.com, using the measurements". The agent reads the page and works from what the browser applied.

What this does not fix

Claude Code will still take latitude you did not give it. Say which section changes and which must not, and finish one component before starting the next: every round of "make the whole thing nicer" pulls the page back towards the average. And if your brand is the product, none of this replaces a designer. It stops the page being nobody's.

Where plagio fits

plagio is an MCP server, and we make it. Claude Code calls it on a public page, it opens that page in a real browser, and it returns the markup, the design tokens, the hover states and the motion. That is the reference step above, done with measurements instead of a description. It does not replace your design file: keep both.

If you also use Cursor, Codex or Copilot, the same three pieces apply with different filenames.

Questions people ask

Where do design rules go in Claude Code?

CLAUDE.md, which can point at a separate design file. Keep the values in one file so it is read in one piece.

Do I need a skill as well as CLAUDE.md?

They do different jobs. CLAUDE.md holds your values; a skill holds the judgement you would otherwise retype in every prompt. Anthropic publishes a frontend-design skill you can read first.

Why does Claude Code ignore my screenshot?

A screenshot shows the result, not the values that produced it, so the model estimates the font, the sizes and the colours and lands near the original rather than on it.

Can Claude Code read a live website?

Not on its own. With an MCP server such as plagio it can open a public page in a real browser and get the markup, tokens, hover states and motion back as text.

Sources, checked 5 November 2026

Names and products belong to their owners. Prices and features change: if something here is out of date, write to support@plagio.dev and we'll fix it.

Give your agent a real reference.

Start the free week

Keep reading