designing-a-design-system
Skill3 starsChanged 9 days agoMITView on GitHub
Entry-point dispatcher for BUILDING or EXTENDING a design system — creating a token architecture, color system, type scale, spacing system, or component-sizing ladder from scratch, or adding a new token family to an existing system. Routes to the L0 primitives in build order: naming and taxonomy (token-naming-conventions), color (oklch-color-space, apca-contrast, wcag-contrast, palette-relationships, chroma-harmonization), non-color families (type-scale, line-height-grid, spacing-system, component-sizing-principles), interchange and versioning (dtcg-format, semver-design-tokens), and the quality bar (designing-elite-ui). Use when the task is authoring the system itself; for reviewing design output load reviewing-design-work; for using an existing system load consuming-a-design-system.
In this repository66 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- clud-bug-collaborationSkill
- critical-issues-onlySkill
- evidence-based-reviewSkill
- respect-existing-conventionsSkill
- skill-frontmatter-qualitySkill
- apca-contrastSkill
- api-contract-enforcementSkill
- brand-voice-reviewSkill
- chroma-harmonizationSkill
- clud-bug-collaborationSkill
- component-sizing-principlesSkill
- component-sizingSkill
- composing-a-screenSkill
- consuming-a-design-systemSkill
- conventions-templateSkill
- critical-issues-onlySkill
- curating-a-skill-catalogSkill
- designing-elite-uiSkill
- design-system-consistencySkill
- design-token-namingSkill
- dtcg-formatSkill
- empirical-design-principlesSkill
- evidence-based-reviewSkill
- finding-a-catalog-skillSkill
- frontend-a11ySkill
- guarding-a-regressionSkill
- ios-safari-surfacesSkill
- line-height-gridSkill
- logmindSkill
- motion-continuitySkill
- oklch-color-spaceSkill
- orchestrating-agent-delegationSkill
- orchestrating-a-multi-agent-runSkill
- orchestrating-elite-agent-qaSkill
- palette-relationshipsSkill
- pii-and-complianceSkill
- proving-an-absenceSkill
- respect-existing-conventionsSkill
- retiring-a-superseded-decisionSkill
- reviewing-design-workSkill
- semver-design-tokensSkill
- session-heartbeatSkill
- skillforgeSkill
- skill-frontmatter-qualitySkill
- spacing-systemSkill
- technical-writingSkill
- test-disciplineSkill
- thrill-designSkill
- token-frugal-toolingSkill
- token-naming-conventionsSkill
- type-scaleSkill
- udts-component-sizing-laddersSkill
- udts-dtcg-extensionsSkill
- udts-linter-rulesSkill
- udts-naming-conventionSkill
- udts-reviewSkill
- udts-semver-defaultsSkill
- udts-spacing-defaultsSkill
- The first 60 shown.
The file
Files
Designing a design system
You are building a design-token system from zero, or extending an existing one with a new token family — a color system, a type scale, a spacing system, a component-sizing ladder, or the naming taxonomy that ties them together. This skill orients you across the build pipeline in the order decisions actually depend on each other, and points at the skill that carries each station's real rules; it does not re-teach them here.
When to use
- Standing up a brand-new design-token system: naming, color, type, spacing, sizing, format, versioning.
- Adding a new token family to an existing system (a new hue, a new component-sizing ladder, a new density mode).
- Deciding the build order — naming before color, color before non-color families, both before format and versioning.
- Setting or auditing the visual quality bar a system's tokens are meant to guarantee.
When NOT to use
- Reviewing rendered UI or a PR against a system's existing rules — load reviewing-design-work instead.
- Wiring a product to a system someone else owns (install, theme, upgrade) — load consuming-a-design-system instead.
- This skill is for authoring the system itself, not for consuming or auditing one.
1. Naming & taxonomy
Pick every token's name and class before color work starts — the prefix is the load-bearing decision every downstream station reads off (contrast obligation, DTCG extension fields, and SemVer severity of a rename all derive from the name).
REQUIRED BACKGROUND: token-naming-conventions
One worked instantiation (incubating): udts-naming-convention.
2. Color
Pick the color space first, then set contrast targets with a dual-model stance — APCA as the primary generation target, WCAG as the legal-baseline cross-check — then generate the palette: hue-relationship math for the seed hue, chroma caps for equal-looking saturation across hues at each contrast stop.
REQUIRED BACKGROUND: oklch-color-space, apca-contrast, wcag-contrast, palette-relationships, chroma-harmonization
3. Non-color families
Typography is a paired pair — a modular size ratio plus a line-height grid that snaps to the same units. Spacing follows a two-unit (minor + major) model. Component sizing is a curated, not formula-derived, height ladder that pairs with both.
REQUIRED BACKGROUND: type-scale, line-height-grid, spacing-system, component-sizing-principles
A spacing ladder is what grouping gets read off, and grouping follows the ratio between competing gaps rather than their pixel values — so a ladder that multiplies across a density or breakpoint change preserves it, and one that adds a fixed offset compresses every ratio toward 1 and dissolves the structure. That is an authoring-time decision: get it wrong here and every consumer inherits it. empirical-design-principles carries the ratio a grouping claim has to clear, and the evidence for it.
Worked instantiations (incubating): udts-spacing-defaults, udts-component-sizing-ladders.
4. Format & versioning
Serialize the system to the DTCG interchange snapshot every consumer transforms from. Compute the version bump from the resolved-value diff, never from intuition.
REQUIRED BACKGROUND: dtcg-format, semver-design-tokens
Worked instantiations (incubating): udts-dtcg-extensions, udts-semver-defaults.
5. The elite bar
A token system exists so shipped UI clears a concrete visual standard, not so tokens exist for their own sake. Encode that standard in the tokens plus a short design-system doc, so builders and critics measure against one shared source of truth.
REQUIRED BACKGROUND: designing-elite-ui
6. Testing & maintenance
Snapshot-test against the DTCG export, lint contrast floors and alias cycles in CI, and run deprecation cycles per the SemVer discipline above rather than breaking consumers silently.
One system's enforcement layer (incubating): udts-linter-rules.
Cross-references
L0 primitives:
- token-naming-conventions — token name/class/kind shape.
- oklch-color-space — color space and hue-angle primitives.
- palette-relationships — hue-relationship math for a seed hue.
- chroma-harmonization — cross-hue chroma caps per contrast stop.
- type-scale — modular type-size ratio and stops.
- line-height-grid — grid-aligned line-height per font size.
- spacing-system — two-unit (minor + major) spacing model.
- component-sizing-principles — curated component-height and icon-size ladders.
- empirical-design-principles — the grouping ratio a spacing ladder has to preserve, and how to use a named principle forward rather than as a post-hoc defence of a ladder already chosen.
- dtcg-format — token interchange snapshot format.
- semver-design-tokens — version-bump severity from a resolved-value diff.
L0 critic lenses:
- apca-contrast — primary perceptual contrast target.
- wcag-contrast — legal-baseline contrast cross-check.
- designing-elite-ui — the visual quality bar tokens must clear.
L1 sibling dispatchers: reviewing-design-work, consuming-a-design-system.
L2 stances (incubating — one system's worked instantiation, not yet loadable guidance):
- udts-naming-convention, udts-spacing-defaults, udts-component-sizing-ladders, udts-dtcg-extensions, udts-semver-defaults, udts-linter-rules.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

