/gener8v-design-system:gener8v-design-systemfrom gener8v-design-system
Use when building or restyling any user interface for a GENER8V engagement — pages, components, dashboards, forms, flows, charts, decks. Supplies the tokens, class names and rules that keep generated UI on-brand and accessible. Triggers on "design system", "GENER8V styling", "make this on-brand", "build a page/screen/component", "style this", or any UI work inside a repository that depends on @gener8v/ui or links styles.css.
Ships in gener8v-design-system. 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 light, airy interface for a firm delivering AI into regulated, governed and auditable environments. Near-white ground, Inter at weight 500 for headings, an authored 4px space scale, 6px radii, one blue used as an action colour rather than as decoration.
This skill ships inside the design system's plugin, and the plugin holds the whole system.
Every design/…, docs/… and packages/… path in this skill and its references is relative
to the plugin root — two directories up from this skill's base directory
(<skill base directory>/../../design/templates/app-shell/), not to the project you are
working in. The consuming project only has node_modules/@gener8v/*; the templates, the class
table (design/readme.md), the component pages and the specs are in the plugin. Open them
there before you build.
Take every value from a token. Never write a hex, a font name, or a px value the tokens already carry. Link the stylesheet and use its class names; do not invent a parallel set.
<link rel="stylesheet" href="styles.css">
import '@gener8v/ui/styles.css';
import { Button, Card, Flow, BarChart } from '@gener8v/ui';
The React components render the same class names as the static HTML, so markup written against this system ports either direction without a visual rewrite.
The palette above is GENER8V's own — its theme file says so, hue 263 matching the cool ink of the firm's site. A client engagement wears the client's. That is a brand, and it is a palette and nothing else:
@import "@gener8v/ui/styles.css";
@import "@gener8v/tokens/brands/ledger.css";
Declare one in packages/tokens/src/brands.mjs — a hue, a chroma, the three pinned grounds, and
optionally an action colour. The build generates its sheet from the same neutralRamp the house
theme uses, so a brand's nine steps are this system's lightness curve in another hue rather than
hexes taken off a screenshot. pnpm check holds every brand to the same contrast ratios as the
house, against its own ground.
A brand may not move anything but colour. Not the space scale, not the radii, not the type scale, not a class name — those are what make a product recognisable as one of these whoever's colours it wears, and a brand that could move them would be a fork.
It is light-only unless the brand pins a dark ground. A warm paper has no dark counterpart that is still paper, and the system will not invent one.
Without this, a client product hand-rolls nine neutral steps in its own stylesheet, picks the two selectors that scope them to light mode, and keeps a lint exemption so it can hold raw hexes. Every later engagement then does that work again, differently.
These are not preferences. Breaking one produces work that is off-brand or inaccessible.
--color-action (#2664EC), not --color-accent. The accent
stays for focus rings, links and atmosphere. One primary button per view.--color-neutral-500 must not carry text — 3.17:1 on white. Secondary copy uses
--color-neutral-600 (.muted, .label).aria-current, aria-selected, aria-expanded,
aria-invalid, aria-sort. Style from the attribute so the visual and the accessibility
tree cannot disagree. There is no .is-active..section-band, a flat field, once a page.Answer, Record,
Publish. A navigation item is a noun — Decisions, Standards. Neither is a
sentence, a clause or a question. "Answer for it" makes a reader parse a phrase before
they can decide whether to press it; "Answer" does not.Tag; an action is a Button. Never a bare <button> styled to
look like a link. Where the two sit together — a row that reports a state and offers
the way out of it — they must differ in shape, not only in colour. Two small
coloured words side by side read as two statuses, and the reader cannot tell what is
being reported from what they can do about it.<select>'s open list and a
title attribute's tooltip are painted by the OS: no token reaches them, and neither
survives touch or a keyboard. Use Menu, Combobox, RadioCards and Tooltip.block-size: 100% needs a parent that has one. A component
that declares the first and never requests the second works in the demo and fails in
every real page — and a percentage resolves against a parent's height, so a parent
with only a min-height answers auto.Pick the row, open the file. Each one opens with a table — job, component, when not, what instead — then a section per component. Read the "not when" before you choose.
Then open the template the screen table names — <skill base directory>/../../design/templates/….
Copying its structure beats composing a screen from the component list.
| If you are building… | Read |
|---|---|
| a whole page, a shell, or the structure a page sits in | references/choosing/screens.md (10) |
| something that floats above the page — a modal, a side panel, a hint, a preview | references/choosing/overlays.md (5) |
| telling someone what happened, what state a thing is in, or that it is loading | references/choosing/status-and-feedback.md (16) |
| moving between places, switching views, or narrowing what a list shows | references/choosing/navigation.md (13) |
| figures, tables, charts, lists of records, or history | references/choosing/data.md (24) |
| an action someone presses or a value someone enters or picks | references/choosing/input.md (21) |
| a document, prose, code, sources or type someone reads | references/choosing/reading.md (10) |
| a conversation with an agent, or work that is running right now | references/choosing/agents-and-live-work.md (6) |
Empty, no results, error, partial or loading: open "Which state?" at the top of references/choosing/status-and-feedback.md.
A state is the region itself, not a banner or a toast.
| Screen | Start from |
|---|---|
| an application page — a list, a dashboard, a record | design/templates/app-shell/ |
| a multi-step form or wizard | design/templates/intake/ |
| a checkout or anything with a price | design/templates/purchase/ |
| a create form — describe, label, attach | design/templates/work-item-create/ |
| closing or approving a record, with an irreversible confirm | design/templates/work-item-close/ |
| a marketing or landing page | design/templates/landing/ |
| a presentation deck | design/templates/deck/ |
"What are you building?" above — which component for which job, and which one not to use. Start there when you know the task but not the component.
design/readme.md — the full class table and the do/don't list. Read this before
building a screen. It is gated by a lint, so it cannot drift from the stylesheet.
design/components/*.html — every component, every variant, as plain HTML. View source
and copy the markup; that is what these pages are for.
design/templates/ — copy-whole starting points: app shell, landing, deck, and three
worked flows (purchase, create a work item, close a work item). Start a screen from
one of these. examples/ is a packaging fixture, not a design reference.
references/choosing/<family>.md — per family: a table of job → component → not when →
instead, then each component's use, misuse, neighbours, React names and classes.
references/components.md — the class index with React names, if you only need the names.
docs/specs/*.md — anatomy, variants, keyboard maps per component family.
pnpm check
Runs seven gates: token round-trip, WCAG contrast, chart-palette validation, HTML↔React parity, a built-package smoke test, the test suite, and the graph benchmark.
design/_adherence.oxlintrc.json is generated and can be dropped into a client repo to
fail its lint on raw hex values, raw px, and fonts the system does not provide.
Do not add a component library, an icon set, a chart library, or a form-validation library.
The system already covers buttons, forms, navigation, tables, flows, feedback, disclosure,
data display, charts, a knowledge graph, a document library and integration/credential
management. If something genuinely is missing, add it to the system rather than to the
consuming app — and run pnpm check before calling it done.
references/choosing/agents-and-live-work.md (opens in a new tab)references/choosing/data.md (opens in a new tab)references/choosing/input.md (opens in a new tab)references/choosing/navigation.md (opens in a new tab)references/choosing/overlays.md (opens in a new tab)references/choosing/reading.md (opens in a new tab)references/choosing/screens.md (opens in a new tab)references/choosing/status-and-feedback.md (opens in a new tab)references/components.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub gener8v/gener8v.designer.design-system --plugin gener8v-design-system