/fe:design-systemfrom Frontend Skills
Governance of a product's shared UI — the tiers (foundations, assets, icons, base, components, blocks, layouts, pages), a base library installed as source with local edits tracked, consumer count deciding placement, one component configured by props over variant families, fixed size, radius and tone vocabularies, skeletons, status colours apart from accents, visual identity as tokens and assets, and adding, retiring and spotting drift. Use when adding or placing a component, token or variant, or when screens stop matching.
Ships in Frontend Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A product reads as one system when every screen is built from the same decisions — the same tokens, the same components, the same vocabulary — and nothing is a one-off. This skill owns that cohesion: the tiers components live in, what earns a place in the shared layer, and how the system grows and sheds without drifting. The mechanics of each layer belong to the skills linked below.
Before applying this skill, read the project's root AGENTS.md, the AGENTS.md closest to the files in question, and any doc they link for this skill's topic. Names, values and choices — budgets, tiers, tokens, voice, paths — come from those files, never from this skill.
Each tier composes from the tiers below it — any of them, directly (a block may use a base Button) — and never from a tier above.
| Tier | Holds |
|---|---|
foundations/ | The tokens, shown as stories — colour, type, spacing, elevation, motion (tailwind) |
assets/ | Brand marks and illustrations as components |
icons/ | The icon set, and any hand-drawn brand glyphs |
base/ | Atoms that render one thing — Button, Badge, Input, Link, Skeleton |
components/ | Compositions of base that own their state — Card, Dialog, DataTable, FieldGroup |
blocks/ | Compositions of components, and page regions — Navbar, Sidebar, a metric card |
layouts/ | The page shells apps render — a dashboard shell, an auth shell |
pages/ | Whole pages several apps render as they are (a maintenance page) — in a shared package only |
components/; built from components → blocks/; a page shell → layouts/. There's no patterns or composite tier.src/ui/ for what only it uses (code-structure) — except pages/, which an app's routes already are.--overwrite.Select restyled as a dropdown, a Card with a slot. Check the shared package and the library first; build only what neither has.tone, size, radius, variant — never a family of near-copies (PrimaryButton, DangerButton). A difference in look is a value of a prop; a difference in behaviour may be a new component.size from one ladder (xs–3xl), radius from one scale, tone from one set of roles. The same word means the same thing on a button, a badge and a card; the words map to classes in one scales file (tailwind), and a component that accepts fewer narrows its prop's type.reusables).<Component>Skeleton with the real one's dimensions, so loading never shifts the layout.accessibility).The brand's look — palette, type, logo, imagery and motion personality — is defined once, as tokens (tailwind) and assets, and every screen takes it from there:
logos-and-icons).frontend-design).Voice and UI copy are copywriting's, from the project's brand voice and word list.
| The need | Becomes |
|---|---|
| A value that expresses a decision (a role, a step, a timing) | A token |
| A recurring element with structure or behaviour | A component, in the tier its composition puts it |
| A difference in look within one component | A value on an existing vocabulary, or a new prop |
| A genuine single use | A one-off from existing tokens; an arbitrary value only when no token fits, with a comment saying why |
Recurrence is the test: the second use promotes a one-off, never the first guess that something might be reused.
naming) → add it to the shared layer → its story in the same change, with a keyboard story and a passing axe check for anything interactive (storybook, accessibility) → consume it. A change to the shared layer is reviewed by whoever owns the system and recorded in its changelog, so consumers see what changed.@deprecated with its replacement, move every consumer, and delete it once nothing uses it. Removing or renaming a shared component is a breaking change, made with every consuming app in one change.The signs: literal values in feature code, two components doing one job, off-scale spacing or type, mismatched radius or shadow, a second font or icon set, a status colour used as decoration, pages that don't match. Consolidate drift back into the system rather than adding to it. Catch it automatically where possible — a lint rule against arbitrary values and palette classes, and visual tests on the stories — and the audits look for the rest (frontend-audit, conventions-audit, accessibility-audit).
patterns tier; promote a component before its second consumer; copy a library component from its docs; fork an installed file for a project-only need; build variant families; put copy or links inside a shared component; let colour alone carry a status; introduce a second font, icon set or spacing rhythm.Tokens and CSS tailwind · building one component reusables · visual quality frontend-design · where src/ui/ sits in an app code-structure · stories storybook · contrast and status signals accessibility · logo files logos-and-icons · names naming.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub timonwa/engineering-skills --plugin fe20 skills in this plugin
/accessibilityBuilding UI that meets WCAG 2.2 AA beyond the markup — text alternatives, contrast checked on the tokens in both themes, reflow and zoom, keyboard and focus (order, visibility, dialogs, skip link, not obscured), target size, pointer and motion, labels, errors people see, accessible sign-in, ARIA states and live regions, and the gates that verify it: lint, Storybook axe at error, keyboard stories and screen-reader passes. Use when building or reviewing any interactive UI, a form, a dialog or a colour token./accessibility-auditManually invoked. Red-team accessibility audit of an app or a diff against WCAG 2.2 AA, organised by POUR with each check citing its success criterion — structure and landmarks, contrast on the tokens in both themes, reflow and zoom, keyboard, focus and dialogs, pointer and target size, forms and errors that are seen, status messages, and the lint, Storybook and end-to-end gates. Verifies each finding and writes a prioritized report./content-auditManually invoked. Copy audit of an app, its emails or a diff, against the project's own voice, word list and banned words and the plain-language standards (GOV.UK, NN/g, WCAG) — point-first writing, marketing claims and calls to action, buttons and links, form labels and errors, empty, success and loading states, sentence case and mechanics, accessible words and alt text, translation-safe strings, and each transactional email's sender, subject, preheader and body. Verifies each finding and writes a prioritized report.Other plugins' skills for the same job