plugins/design-expert/skills/design-system/SKILL.md
Token-strategy core — OKLCH color rules, neutral tinting, accent-commitment levels, type scale, 8pt spacing grid, touch targets, and the canonical output format of design-system.md (the file the harness gates on). This is routing step 1 of design-method/SKILL.md — read it before design-web/design-webapp/design-ios/design-android, before picking or auditing a single color/type/spacing value.
npx skillsauth add fusengine/agents design-systemInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Single source for token strategy — not values, values live in references/*.md and are
read from there, never re-derived here. design-method/SKILL.md reads this file
unconditionally as routing step 1, once per task, before dispatching to any move or
target skill — that read is also what advances the harness past phase 0. If a design
question is purely about a token (a color, a type pair, a spacing value) this file plus its
reference index already answers it; otherwise continue back into design-method's routing.
oklch(L% C H). Never hex/HSL/RGB for anything you're
defining fresh (existing legacy tokens in an inherited codebase are a different problem —
don't rewrite what wasn't asked for).#000/#fff.design-method/references/register/brand.md §4 and
register/product.md §1 for which strategy each register defaults to and when to
deviate.references/oklch-system.md. Concrete per-sector values:
references/sector-palettes.md. Contrast floors: references/contrast-ratios.md — WCAG
AA 4.5:1 body text / 3:1 large text + UI components (AAA 7:1 where feasible).references/typography-pairs.md. Forbidden/flagged fonts — canonical
list, don't restate it anywhere else in this plugin: references/forbidden-fonts.md.references/spacing-density.md — product defaults dense, brand defaults editorial (see
register/brand.md §4 and register/product.md §1).iOS 44×44pt · Android 48×48dp · WCAG 2.5.8 minimum 24×24 CSS px regardless of platform.
design-system.md output — canonical formatThis is the generated file the harness gates on (gates-pipeline.ts triggers on any read
path ending design-system.md; gates.ts validates its contents). Every requirement below
is a present/absent check, not a suggestion — missing one fails the gate silently
downstream, with no error surfaced at write time.
## Design Reference
Inspiration: https://example.com/the-actual-site-browsed-in-generate-step-2
### Colors
--color-accent: oklch(0.62 0.19 250);
--color-neutral-900: oklch(0.18 0.01 250);
... (full token set — chroma > 0 required on at least the accent token)
### Typography
--font-display: "Fraunces", ui-serif;
--font-body: "Public Sans", ui-sans-serif;
... (never the four hard-forbidden families below, whichever fonts are actually chosen)
The 4 hard requirements (all must hold):
## Design Reference present verbatim.https?:// URL — the real inspiration source browsed in
design-web/references/design-inspiration.md step 2, not a placeholder.oklch(...) token with chroma > 0 — a chroma-0 neutral alone does not
satisfy this; the accent (or any committed-strategy token) must carry chroma.Inter, Roboto, Arial, or Open Sans anywhere in the file —
this is the harness-checked subset of the full 6-font hard-forbidden tier in
references/forbidden-fonts.md (which also bans Lato/Poppins, not harness-checked
but still enforced by this skill).Check this list explicitly before writing design-system.md — don't rely on having "used
OKLCH generally" earlier in the task; the gate reads the file, not the process.
| Concern | File |
|---|---|
| OKLCH mechanics | references/oklch-system.md |
| Contrast ratios (WCAG) | references/contrast-ratios.md |
| Sector palettes (concrete OKLCH) | references/sector-palettes.md |
| Typography pairs | references/typography-pairs.md |
| Forbidden/flagged fonts (canonical) | references/forbidden-fonts.md |
| Spacing / density profiles | references/spacing-density.md |
| Identity brief questionnaire | references/identity-brief.md |
| Design Read + the 3 dials (VARIANCE/DENSITY/MOTION) | references/design-read-dials.md |
| Color-token mapping | references/color-mapping.md |
| Gradients | references/gradients-guide.md |
| Fluid typography | references/fluid-typography.md |
| Breakpoints | references/breakpoint-patterns.md |
| Container queries | references/container-queries.md |
| Multi-brand theming | references/multi-brand.md |
| Complex themes (dark mode etc.) | references/complex-themes.md |
| Motion personality | references/motion-personality.md |
| UI hierarchy / spacing rhythm | references/ui-hierarchy.md, references/ui-spacing.md |
| UI trends 2026 | references/ui-trends-2026.md |
| Visual technique matrix | references/visual-technique-matrix.md |
| Edge cases (empty/error/loading) | references/edge-cases.md |
| Image handling | references/image-handling.md |
| Tailwind config / utilities / perf | references/tailwind-config.md, tailwind-utilities.md, tailwind-performance.md |
| Per-sector design-system.md templates | references/templates/*.md |
This read is design-method/SKILL.md routing step 1, not a standalone task — return there
for Register resolution, Gate 0, and move dispatch. A pure token question is already
answered by the sections above; everything else (page structure, moves, register floors)
lives in design-method and the target-platform skills.
testing
Copy self-audit and ban-lists — filler verbs/hype adjectives, slop placeholder names, fake-precise numbers, Title Case headlines, humor in error copy ('Oops!'), em-dash crutch, one copy register per page.
development
Logged-in web apps — dashboards, auth flows, settings, onboarding, data tables, command palettes, modals, toasts. Register `product`: density and glance-speed over marketing polish, no hero/CTA-tricks, every data surface covers empty/loading/error explicitly, tables and dataviz follow preattentive-processing rules.
development
Marketing sites, landing pages, campaign pages — register `brand` (design IS the product). Structure comes from the register's POV + a macrostructure pick, never from copying an inspiration site's section flow. Hero discipline, deviated section order, asymmetric grids, and a silhouette lookalike-test gate before ship.
testing
The final quality gate before any design deliverable is reported done — two ISOLATED assessments (deterministic detection never in the same head as the subjective/visual read), P0-P3 findings with NO aggregate score ever, a bounded visual loop (max 2 fix cycles), and a mandatory in-loop challenger gate (fresh-context, blind PNG) before any 'done' claim.