clarity.
40stay together.
24has its place.
14Change the weight. Keep the hierarchy.
A voice, down to the letter.
Keep the type family and hierarchy coherent. Let scale and weight do different jobs.
StyleSeed compiles your rules per task and measures the screens agents build.
npx -y skills add bitjaru/styleseed -a codex claude-code -y --copy#0457F8The next action, in your color.
Primary actions · 5.49:1 contrastColor has a role. Type has a rhythm. Space has a scale. Keep the choices that make your product yours.
See how rules travel402414Change the weight. Keep the hierarchy.
Keep the type family and hierarchy coherent. Let scale and weight do different jobs.
space-16Recorded scale · payments-console
A shared scale makes relationships visible. Measure where a screen starts to drift.
Compare the screens your agent built against the decisions you kept.
Baseline 4
index
4px
Shared set
notifications
4px
Shared set
settings
8px
different
Gap diagrams at 4× scale. At rest. Error states are included in the full report.
node engine/.claude/skills/styleseed/workflows/ss-verify/scripts/drift-report.mjs --project-root <project> --states error index.html notifications.html settings.htmlThese are measurements, not a score. A different value is a question for the owner of the design system.
1 of 6 screens drift from the baseline on spacing base (settings). Values outside the shared set: radii (index); fonts (index); control heights (notifications, settings). On index, notifications, settings the primary action appears only in a state; the accent was read from the state variant.
Viewports: 1440×900 / 390×844
| Axis | Baseline | index | index?state=error | notifications | notifications?state=error | settings | settings?state=error |
|---|---|---|---|---|---|---|---|
| accent | #00736b | none | #00736b | none | #00736b | none | #00736b |
| ink | #090c0b | #090c0b | #4d5150 (different) | #090c0b | #4d5150 (different) | #090c0b | #4d5150 (different) |
| canvas | #eff5f4 | #eff5f4 | #eff5f4 | #eff5f4 | #eff5f4 | #eff5f4 | #eff5f4 |
| spacing base | 4 | 4 | 8 (different) | 4 | 8 (different) | 8 (different) | 8 (different) |
| spacing scale | 4, 8, 12, 16, 24 | 4, 8, 12, 16 | 8, 16, 24, 32 (+32) | 4, 8, 12, 16, 24 | 8, 16, 24, 32, 48 (+32, 48) | 8, 16, 24, 32 (+32) | 8, 16, 24, 32, 64 (+32, 64) |
| type sizes | 12, 13, 14, 16 | 12, 13, 14, 16 | 12, 13, 14, 16, 24 (+24) | 12, 13, 14, 16 | 12, 14, 16, 24 (+24) | 13, 14, 16 | 12, 14, 16, 24 (+24) |
| radii | 0, 4, 6, 8 | 0, 4, 6, 8, 999 (+999) | 0, 4, 6, 8, 999 (+999) | 0, 4, 6, 8 | 0, 4, 6, 8, 999 (+999) | 0, 6, 8 | 0, 4, 6, 8, 999 (+999) |
| fonts | Pretendard Variable | Pretendard Variable, ui-monospace (+ui-monospace) | Pretendard Variable | Pretendard Variable | Pretendard Variable | Pretendard Variable | Pretendard Variable |
| control heights | 36, 44 | 36, 44 | 36, 44 | 18, 36, 44 (+18) | 36, 44 | 24, 32, 36, 44 (+24, 32) | 36, 44 |
node engine/.claude/skills/styleseed/workflows/ss-verify/scripts/drift-report.mjs --project-root <project> --states error index.html notifications.html settings.htmlBaseline: registry roles from .styleseed/palettes/payments-dashboard.json for colours, majority across screens for the rest. States re-measured: error.
These are measurements of computed styles, not a score. The accent is what filled primary actions are painted with, then what links are coloured with; a screen whose primary action only appears in a state (a save bar, a dialog) reads `none` at rest, so re-measure it with `--states`. A `different` value is a question for the owner of the design system, who may already have approved it. State variants (`?state=…`) count toward the verdict on the accent only; their text and spacing distributions describe the state, not the screen. No page text, screenshots, or URLs beyond the ones passed in are written.
Statuses: `same`, `near` (within a shade of the baseline), `different`, `none` (not derived on that screen), `+values` (present here, absent from the shared set).
Measured with playwright/index.mjs.
## Off-scale spacing per screen
- index?state=error: 12, 4
- notifications?state=error: 12, 4
- settings: 4, 12
- settings?state=error: 12, 4
## Screens
- index — file:///Users/Shared/styleseed-demo-v6/payments-console/index.html
- index?state=error — file:///Users/Shared/styleseed-demo-v6/payments-console/index.html?state=error
- notifications — file:///Users/Shared/styleseed-demo-v6/payments-console/notifications.html
- notifications?state=error — file:///Users/Shared/styleseed-demo-v6/payments-console/notifications.html?state=error
- settings — file:///Users/Shared/styleseed-demo-v6/payments-console/settings.html
- settings?state=error — file:///Users/Shared/styleseed-demo-v6/payments-console/settings.html?state=errorEvery rule has an ID. Every invariant has a fail state. Your agent gets the rules that belong to the screen it is building.
INV-01Never fabricate data.
INV-02Status never relies on colour alone.
INV-03Essential actions stay visible and named.
INV-04Controls keep visible labels, readable contrast, a visible focus state, keyboard order that follows visual order, and a safe way to recover from errors.
INV-05Semantic roles (accent, status, canvas, type roles) do not change between screens without a recorded decision.
CRAFTButtons, inputs, and selects in one context share a height.
CRAFTNavigation, status, and action symbols come from the project's icon family with accessible labels; emoji are content, not icons.
CRAFTIcons in one navigation, list, or toolbar come from one family; outline and filled variants coexist only to mark state.
CRAFTMotion uses one duration and easing family, names the properties it transitions, communicates state or sequence, never delays the first read, and provides a complete reduced-motion result.
Compiled from `engine/rules/catalog.json` for grammar operations-console · adapter product-ui · domain productivity · page detail. Invariants bind everywhere; defaults apply to this selection and yield to a recorded project decision. Each line carries its id for checks and reviews; `blocks` is a fail state independent of any score.
# Rules in scope
Compiled from `engine/rules/catalog.json` for grammar operations-console · adapter product-ui · domain productivity · page detail. Invariants bind everywhere; defaults apply to this selection and yield to a recorded project decision. Each line carries its id for checks and reviews; `blocks` is a fail state independent of any score.
## Invariants
- **INV-01-no-fabricated-data** (blocks · inferred): Never fabricate data. Placeholder metrics, invented deltas, and stock content are not evidence; use real product content or fixtures labelled as such. Source: engine/DESIGN-LANGUAGE.md#18
- **INV-02-status-not-color-only** (blocks · inferred): Status never relies on colour alone. Pair every status colour with text, an icon, or a shape that carries the same meaning. Source: engine/DESIGN-LANGUAGE.md#18
- **INV-03-essential-actions-visible** (blocks · inferred): Essential actions stay visible and named. Do not hide the next action behind hover, overflow, or an icon without an accessible name. Checks: SS006. Source: engine/DESIGN-LANGUAGE.md#18
- **INV-04-controls-operable** (blocks · inferred): Controls keep visible labels, readable contrast, a visible focus state, keyboard order that follows visual order, and a safe way to recover from errors. Checks: SS005. Source: engine/DESIGN-LANGUAGE.md#18
- **INV-05-no-unexplained-role-drift** (blocks · inferred): Semantic roles (accent, status, canvas, type roles) do not change between screens without a recorded decision. Unexplained local variation is not a role. Checks: ss-verify/scripts/drift-report.mjs --gate. Source: engine/DESIGN-LANGUAGE.md#18
## Defaults for this selection
- **CRAFT-control-heights** (strong · inferred · any selection): Buttons, inputs, and selects in one context share a height. Touch surfaces provide at least 44px targets; pointer-first dense desktop controls may be smaller when still operable. Exceptions: inline text controls inside dense tables when the row itself is the target. Checks: ss-verify/scripts/drift-report.mjs --gate. Source: engine/CRAFT-BASELINE.md
- **CRAFT-functional-icons** (strong · inferred · any selection): Navigation, status, and action symbols come from the project's icon family with accessible labels; emoji are content, not icons. Exceptions: user content and reactions; approved brand illustrations. Checks: ss-verify/scripts/drift-report.mjs --faults. Source: engine/VISUAL-CRAFT.md
- **CRAFT-icon-family** (strong · inferred · any selection): Icons in one navigation, list, or toolbar come from one family; outline and filled variants coexist only to mark state. Exceptions: coordinated outline and filled variants that mark the selected state; brand marks shown as content. Checks: ss-verify/scripts/drift-report.mjs --faults. Source: engine/CRAFT-BASELINE.md
- **CRAFT-motion-family** (strong · inferred · any selection): Motion uses one duration and easing family, names the properties it transitions, communicates state or sequence, never delays the first read, and provides a complete reduced-motion result. Checks: SS003, SS004, ss-verify/scripts/transition-jumps.mjs. Source: engine/CRAFT-BASELINE.md
58 → 86 on our own gate 5.3 points in BENCH-V1 for Codex and Claude Code
These are historical results. A score is not design approval.
Use both: the official frontend-design skill helps establish visual direction; StyleSeed records your choices in the repo, compiles the rules for each task, and checks the result across screens and sessions.
Why not just use the official frontend-design skill? Use both. It helps establish visual direction; StyleSeed records your choices in the repo, compiles the rules for each task, and checks the result across screens and sessions. It does not replace a designer. People still decide which differences are intentional.
Install once. Keep your choices in the project.
npx -y skills add bitjaru/styleseed -a codex -y --copyInstall StyleSeed: `npx -y skills add bitjaru/styleseed -a codex claude-code -y --copy`. Use /styleseed in Claude Code or $styleseed in Codex. Help apply our design decisions, not replace our design system. Inspect approved tokens, components, and choices first; report unsupported choices instead of silently remapping them. Resolve the selected artifact's contract when a registry exists; use STYLESEED.md only for a legacy project. Choose only unresolved grammar, adapter, recipe, and palette inputs. If the direction is open, use ss-studio and require my selection; compile unmodeled references with ss-reference. Build from the resolved contract, score to ≥80, and inspect the rendered result and relevant interactions. Report evidence and unresolved decisions; a score is not my approval.Use this when you need the full workflow in one portable prompt.

AI Chatchat

Field Notes 04research report

Finance Dashboarddashboard

Fitness Trackermobile

Food Deliverymobile

Issue Trackerworkflow

Marketing Landingmarketing

Music Playermobile

After Dark / 25event poster

Notes Editoreditor

Orbit Launch Deckproduct launch deck

Pricingmarketing

Settingssettings

Signal Resetsocial explainer

Mobile Walletmobile