How it works
Agent Skills
A skill that teaches a coding agent how Forme works: the tokens, the radius ladder, the type scale, the motion rules and what never to do.
3 min read · 6 sections
An MCP server answers questions. A skill changes behaviour: it is the part that stops an agent from adding a hard-coded hex, wrapping a component instead of fixing it, or rebuilding the type scale one utility at a time.
The two are complements. The server is what the agent calls when it does not know something; the skill is what it has already read, so it does not ask.
What is in the set#
| File | What it covers |
|---|---|
SKILL.md | The entry point. What Forme is, when to reach for it, how to install, and the rules that matter. |
design.md | Every token, the type scale, radius, spacing, motion and direction. |
components.md | The catalogue with install commands, and which component to reach for which job. |
review.md | The greps to run against a diff before calling the work finished. |
Split rather than one file, because the rules an agent needs on every task are two screens and the rest is a screen each. Loading all of it up front would spend the context window on a menu.
Install it#
mkdir -p .claude/skills/forme-ui
curl -s https://formeui.com/r/skills/forme/SKILL.md -o .claude/skills/forme-ui/SKILL.mdOr fetch the entry point and paste it into AGENTS.md, CLAUDE.md, or your Cursor rules.
Fetch the whole set#
# what exists
curl -s https://formeui.com/r/skills/index.json
# one file
curl -s https://formeui.com/r/skills/forme/design.mdEvery file is plain markdown served as text/markdown. That is deliberate: a skill is a prompt, and a prompt wants to be readable, diffable and greppable. An agent that will never load this site can read the same files from the repository.
Or send one line#
If installing the skill is more ceremony than the task deserves, send your agent this and it will read the same rules — start.md is the mission, the setup and the complete skill in one file:
Read https://formeui.com/start.md then set up Forme in this project and help me build my first screen with it.The landing page carries a Copy prompt button that puts exactly that line on your clipboard.
The never-do list#
The part that changes behaviour most is short enough to quote:
- Do not add a Forme runtime dependency. It is the one thing that does not exist.
- Do not write a lookalike next to an installed Forme component. Install the real one.
- Do not wrap a Forme component to work around it. Fix it.
- Do not write
transition-colorsortransition: all. Colour feedback is instant; choreography uses the motion tokens. - Do not paint a gradient by hand. Gradients have three homes — the light recipes, data, and your marketing canvas. The recipes are in
foundation.css. - Do not write a
dark:colour. Every token already carries both modes in onelight-dark()declaration. - Do not rebuild a type step from
text-sm font-medium leading-5. - Do not use
ml-orleft-wherems-orstart-belongs. See RTL. - Do not paraphrase a component's source when you were asked to read it.
With the MCP server#
Used together, the skill says how Forme works and the server supplies what is in it today. The skill's catalogue table goes stale between releases; the server does not, which is why components.md points at it rather than pretending to be authoritative.