Help us improve
Share bugs, ideas, or general feedback.
From agent-skills
Guides building and maintaining a design system—coordinating tokens, components, documentation, and tooling for UI consistency across products.
npx claudepluginhub tyler-r-kendrick/agent-skills --plugin agent-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/agent-skills:design-systemThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A design system is the single source of truth for an organization's UI — combining design tokens, component libraries, documentation, and tooling into a cohesive ecosystem. It ensures consistency, accelerates development, and bridges the gap between design and engineering.
AGENTS.mdREADME.mddesign-tokens/AGENTS.mddesign-tokens/README.mddesign-tokens/metadata.jsondesign-tokens/rules/_sections.mddesign-tokens/rules/_template.mddesign-tokens/rules/design-tokens-add-description-to-non-obvious-tokens-so-designers-and.mddesign-tokens/rules/design-tokens-organize-tokens-into-global-semantic-component-tiers-so.mddesign-tokens/rules/design-tokens-set-type-on-groups-rather-than-individual-tokens-to.mddesign-tokens/rules/design-tokens-use-aliases-extensively.mddesign-tokens/rules/design-tokens-use-deprecated-with-a-migration-message-before-removing.mddesign-tokens/rules/design-tokens-use-the-w3c-dtcg-format.mddesign-tokens/rules/design-tokens-validate-token-files-against-the-dtcg-spec-before.mdfigma/AGENTS.mdfigma/README.mdfigma/metadata.jsonfigma/rules/_sections.mdfigma/rules/_template.mdfigma/rules/figma-export-variables-via-the-rest-api-in-ci-to-detect-token.mdProvides architecture for design systems: three-tier tokens, light/dark themes, Figma-to-code pipelines via Style Dictionary, component APIs, Storybook integration, versioning.
Manages design systems by detecting reusable UI patterns, extracting design tokens, organizing components with Atomic Design, and warning on hard-coded values or duplicates. Activates on component libraries, style guides, or patterns.
Build or audit a design system: component library, design tokens, naming conventions, contribution model, documentation. Use when teams are inconsistent across products.
Share bugs, ideas, or general feedback.
A design system is the single source of truth for an organization's UI — combining design tokens, component libraries, documentation, and tooling into a cohesive ecosystem. It ensures consistency, accelerates development, and bridges the gap between design and engineering.
┌─────────────────────────────────────────────────┐
│ Design (Figma) │
│ Variables, components, styles, auto-layout │
├─────────────────────────────────────────────────┤
│ Tokens (W3C DTCG / Style Dictionary) │
│ Color, typography, spacing, elevation, motion │
├─────────────────────────────────────────────────┤
│ Components (React, Vue, Angular, Web Comp.) │
│ Buttons, inputs, modals, cards, layouts │
├─────────────────────────────────────────────────┤
│ Documentation (Storybook) │
│ Stories, usage guidelines, interaction tests │
└─────────────────────────────────────────────────┘
Figma Variables ──► W3C DTCG JSON ──► Style Dictionary ──► CSS / SCSS / iOS / Android
│
Figma Components ──► Code Connect / Mitosis ──────────────► React / Vue / Angular / Svelte
│
▼
Storybook
(catalog + interaction tests)
Design tokens are the atomic values of a design system — colors, spacing, typography, elevation, motion. They flow through three tiers:
| Tier | Example | Purpose |
|---|---|---|
| Global | blue-500: #3b82f6 | Raw palette values |
| Alias / Semantic | color-primary: {blue-500} | Intent-based references |
| Component | button-bg: {color-primary} | Scoped to a specific component |
Build components in one framework (e.g., React) and use Storybook for documentation and testing.
Use an intermediary format to target multiple frameworks from a single source:
| Tool | Role |
|---|---|
| Figma | Visual design, variables, prototyping, Dev Mode |
| W3C Design Tokens | Vendor-neutral token format (DTCG spec) |
| Style Dictionary | Transform tokens into platform-specific outputs |
| Storybook | Component catalog, docs, visual/interaction testing |
| Mitosis | Write-once component compiler for multiple frameworks |
| Tokens Studio | Figma plugin for managing tokens in DTCG format |
| Chromatic | Visual regression testing for Storybook stories |
design-system/
tokens/
global/
colors.tokens.json # W3C DTCG format
typography.tokens.json
spacing.tokens.json
semantic/
theme-light.tokens.json
theme-dark.tokens.json
style-dictionary.config.mjs # Token build pipeline
src/
components/
Button/
Button.tsx # Component implementation
Button.stories.tsx # Storybook stories
Button.test.tsx # Unit / interaction tests
.storybook/
main.ts
preview.ts