Rost for agents
Most of the UI in my apps gets written with an agent beside me now. Rost has a skill for that: one markdown file that tells an agent how to build with Rost before it writes any UI. It reads what Rost has, installs components instead of drawing its own, uses tokens instead of colours, writes down a difference as a deviation, and runs the audit at the end.
Put it in your app:
npx github:Runceanu/rost skill
That writes .claude/skills/rost/SKILL.md, where Claude Code finds it. For every session on a machine, whatever folder it starts in, copy the same file to ~/.claude/skills/rost/SKILL.md. That's how I have it. Run it again to get the current version. Any other agent can read the same file: it's in this repo at skill/SKILL.md and on the site at rost.build/skill.md.
The skill leans on two things the site already has. /llms.txt lists every component and block in one line each, and every component has a markdown page at https://rost.build/components/<id>.md with its props, when to use it and when not to.
Pages with no build step
A single HTML file or a claude.ai artifact can't run the installer, and claude.ai's own design-system lookup won't find Rost, because Rost isn't an artifact there. The skill covers that case: it links rost.build/tokens.css (and brands.css), and takes a component's CSS and class names from its registry item at https://rost.build/r/<id>.json.
The audit
The skill ends with a check, which works without the skill too:
npx github:Runceanu/rost audit
npx github:Runceanu/rost audit --strict
It looks through the app's CSS and code for three things that ship without anyone noticing: a var(--...) that doesn't exist, a raw hex colour, and a token name Rost doesn't have. The first always fails it. --strict fails on all three, for an app that's already clean.
What isn't right yet
- It's written for Claude Code's skill folder. Other agents need to be pointed at the file.
- Three-digit hex like
#fffslips past the audit. Six and eight digits are caught. - The skill doesn't know which key an app uses in its contracts (
accounting-app,portfolio-site), so it asks.