Design skill or component library?

What a design skill gives a coding agent, what a component library gives it, where each one falls short, and when you want one, the other or both.

3 min readMarkdown

Left alone, a coding agent builds each screen fresh, and its screens drift apart: another font, looser spacing, a second kind of button. A design skill and a component library both stop that drift, at different places.

The short answer

Both stop a coding agent's screens drifting apart, at different places. A design skill tells the agent how screens should look before it writes a line; a component library gives it finished parts, each built once with its states, keyboard and focus.

At a glance

A design skillA component library
What it isInstructions your agent loads when the task needs themCode in your project, each part built once
In your appNothing: it works in any stackThe parts themselves
It settlesFonts, colours and spacingStates, keyboard and focus, the same on every screen
Left to the agentEvery control: how a select opens, where focus goesLayout, spacing and which part fits which job

Together: the skill gives the agent the look and the rules; the library gives it the parts that look carries.

What a design skill is

A skill is a folder of instructions, a SKILL.md file and what it points to, that a coding agent loads when the task needs it. A design skill tells the agent how screens should look before it writes a line: rules, and in some skills exact values (colours, type, spacing, corners) and plain CSS parts.

It changes how the agent decides
Fonts, colours and spacing come from the skill, not from a guess.
Nothing goes into your app
It works in any stack, even a single HTML file.
It stays words
The agent still writes every control itself, so how a select opens or where focus goes is decided again on every screen.

What a component library is

A component library is code in your project: buttons, selects, dialogs, tables and whole page frames, each built once with its states, keyboard and focus.

It gives the agent finished parts
The select on screen ten is the select from screen one, because it is the same code.
Behaviour comes built in
hover, focus, disabled, open and closed, keyboard use and screen-reader names.
It does not decide the layout
Unless something tells it how, the agent still picks spacing, page structure, and which part fits which job, and it may draw its own part when it does not know one exists.

How Goop fits

Goop's design skill gives an agent one look with exact values, light and dark; its components are the React and Tailwind CSS parts behind that look, with files that tell the agent to use them.

More reading

More comparisons

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.