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.
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.
- Best forA quick prototype, a single page, or a stack the library does not coverA design skillalone
- Best forAn app you will keep and grow, in the library's stackA component librarywith rules that point the agent at it
- Best forBoth, when you canA design skill+A component librarythe pairing we build Goop around
At a glance
| A design skill | A component library | |
|---|---|---|
| What it is | Instructions your agent loads when the task needs them | Code in your project, each part built once |
| In your app | Nothing: it works in any stack | The parts themselves |
| It settles | Fonts, colours and spacing | States, keyboard and focus, the same on every screen |
| Left to the agent | Every control: how a select opens, where focus goes | Layout, 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.