Design system
Build or audit a design system including component library, design tokens, naming conventions, contribution model, and documentation.
How to use it
Claude Code
- Run the line below. It pulls the whole folder into
~/.claude/skills/design-system-2, including the files SKILL.md points to. - Describe your job in plain words. Claude Code follows the skill from there.
npx degit rampstackco/claude-skills/skills/design-system#main ~/.claude/skills/design-system-2For one project only, change the path to .claude/skills/design-system-2. This skill also uses design-system-audit.md — copying SKILL.md alone won't be enough. See the folder on GitHub.
Claude (web or desktop app)
- On this page open ⋯ → Download .md.
- Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
- Pick the file and Save. Claude shows the name and description and runs a security scan.
- Check the skill is switched on.
- Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
- ChatGPT: make a Project and paste it into Instructions.
- Neither? Paste it at the top of a new chat — it works for that chat.
Not working?
- Check which app you pasted it into — the steps above name the right one.
- Some skills need the paid tier of Claude or ChatGPT.
Paste into Claude, ChatGPT or Cursor.
Source of Design system
Show the full text209 lines
| name | description | category | catalog_summary | display_order |
|---|---|---|---|---|
| design-system | Build or audit a design system including component library, design tokens, naming conventions, contribution model, and documentation. Use this skill whenever the user wants to build a design system, audit an existing system, define design tokens at the system level, structure a component library, or set up design system governance. Triggers on design system, component library, design tokens, atomic design, atoms, molecules, organisms, design system documentation, Storybook, Figma library, system governance, design contribution model. Also triggers when teams are inconsistent across products and a system is the answer. | design | Component library, design tokens, design system documentation | 1 |
Design System
Build, evolve, or audit a design system. Stack-agnostic in principle. Implementation is stack-specific (Figma, Storybook, code library, etc.) but the structure and governance principles transfer.
This skill is for building the system. For applying a system to specific pages or components, use design-standards. For brand visual identity, use brand-identity.
When to use
- Building a design system from scratch
- Auditing an existing system for gaps or fragmentation
- Defining design tokens at the system level
- Structuring a component library
- Establishing contribution and governance models
- Migrating from ad-hoc components to a documented system
When NOT to use
- Designing a single page or component (use
design-standards) - Brand identity work (use
brand-identity) - Component-level frontend implementation (use
frontend-component-build) - Pure design documentation for marketing (use
brand-style-guide)
Required inputs
- The brand identity (tokens, voice, imagery direction)
- The product surfaces the system needs to support (web, mobile, marketing, app, internal tools)
- The team and its working tools (Figma, code framework, doc platform)
- Existing components, even if undocumented
- Constraints (accessibility requirements, performance targets, browser support)
If brand identity is undefined, run brand-identity first.
The framework: 5 layers
A complete design system has five layers, stacked. Each layer feeds the layer above.
1. Foundations (tokens)
The atomic decisions. Color, type, spacing, radius, shadow, motion, breakpoints.
Why this layer matters:
- Tokens are the source of truth for everything above
- Token changes propagate everywhere automatically
- Without tokens, the system has no foundation
Output:
- A documented token set (see
design-standards/references/design-tokens-template.md) - Token implementation in code (CSS variables, JS objects, Style Dictionary, etc.)
- Token implementation in Figma (variables and styles)
- A primer doc explaining what tokens to use when
Common patterns:
- Two-tier tokens: base tokens (raw values) + semantic tokens (named uses). Example:
color-blue-600(base) +color-text-link(semantic). Components reference semantic tokens. Theme changes update semantic tokens, not base.
2. Elements (atoms)
The smallest functional building blocks. Buttons, inputs, labels, badges, icons, links, dividers.
Per element, document:
- Visual variants (primary, secondary, ghost, etc.)
- Size variants (small, medium, large)
- States (default, hover, focus, active, disabled, error, loading)
- Anatomy (the parts that make up the element)
- Spacing and proportions
- Accessibility (keyboard support, screen reader behavior, ARIA)
- Code usage (props, examples)
Output:
- Element library in Figma
- Element components in code
- Per-element documentation
3. Components (molecules + organisms)
Combinations of elements that form recognizable UI patterns. Cards, alerts, modals, navigation, forms, data tables, headers, footers.
Per component:
- Composition (which elements it uses)
- Variants and configurations
- Use cases (when to reach for this vs. an alternative)
- Layout behavior (responsive, contained, full-bleed)
- Anti-patterns (when NOT to use it)
Output:
- Component library
- Per-component documentation with usage guidance
4. Patterns (templates)
Larger structures that combine components. Sign-in flow, settings page, dashboard layout, marketing page sections.
Per pattern:
- The structure and components used
- The user journey it supports
- Layout grid and spacing
- Responsive behavior
- Variants (e.g., "with sidebar," "fullscreen," "modal")
Output:
- Pattern library or page templates
- Documentation showing complete examples
5. Documentation and governance
How the system gets used, contributed to, and maintained.
Documentation includes:
- Getting started guide for new team members
- How to use vs. how to extend
- Contribution model
- Versioning policy
- Migration paths when breaking changes happen
- Decision log for major system choices
Governance includes:
- Who owns the system (a team or rotation)
- How new components get proposed and approved
- How conflicts get resolved
- How the system evolves vs. stays stable
- Cadence of review and updates
Workflow
For a new design system
- Inventory the existing UI. Screenshot every component, button, form, modal across the product. The list of distinct UI patterns is your starting scope.
- Identify the duplicates. Same component built 5 different ways across the product. These are your high-value consolidation targets.
- Define foundations. Token set, with both base and semantic layers. Document each.
- Audit elements. From the inventory, identify the actual elements (buttons, inputs, etc.) and reduce variants to a managed set.
- Build the element library. Figma + code. Document each element.
- Identify priority components. The 10 to 15 components that appear most often. Build those first.
- Document patterns. Page-level templates that show the system in use.
- Establish governance. Owner, contribution model, review cadence.
- Roll out. Migrate existing surfaces to the system progressively.
For an existing design system audit
- Inventory what exists. What's documented, what's in Figma, what's in code, what's actually used in production.
- Map gaps. Where the system is incomplete. Where teams build outside the system because the system can't serve their need.
- Map fragmentation. Where the system has divergent implementations (Figma vs. code, web vs. mobile, multiple teams).
- Identify decay. Components that have drifted from the documented standard.
- Prioritize fixes. Foundation gaps first. High-use component drift second. Rarely-used component cleanup last.
- Plan rollout. Major changes need migration paths.
Failure patterns
- Building the system before the brand is set. Tokens depend on brand. Set brand first.
- Atoms-up extreme. Spending 6 months on tokens and elements before producing components anyone uses. Ship components people need; refine tokens iteratively.
- One-person system. A system without governance fails as soon as the original designer leaves. Establish ownership early.
- Stale documentation. A system with code that's diverged from the docs is worse than no system. Synchronize or kill the docs.
- Versioning everything. Treating every component as needing a major version. Most components evolve in place. Reserve versioning for breaking changes.
- Adopting "atomic design" dogmatically. Atoms / molecules / organisms is a useful mental model, not a rigid taxonomy. Don't argue about whether something is a molecule or an organism.
- Building in a vacuum. A system designed without input from the teams using it gets ignored. Co-design with consumers.
- No deprecation path. Old components linger in code forever because no one knows it's safe to remove them. Document deprecation explicitly.
- Token explosion. Defining 200 color tokens for a brand with 10 colors. Discipline. Most products need fewer tokens than they have.
Output format
A design system has multiple deliverables. Typically:
- Documentation site (Notion, dedicated site, GitHub Pages, Storybook addon, etc.)
- Figma library (or equivalent design tool)
- Code library (npm package, monorepo workspace, copy-paste components)
- Decision log (system-level decisions and the reasoning)
- Roadmap and changelog
For a design system audit, output is a markdown report at design-system-audit.md:
- Inventory of what exists (foundations, elements, components, patterns)
- Gap analysis
- Fragmentation analysis
- Drift analysis
- Prioritized remediation plan
- Governance recommendations
If required data is unavailable
This skill's output depends on data, measurements, or tool results it cannot generate on its own. When a required input, tool, or data source is unavailable or unverifiable, the sanctioned output is the deliverable with the gap stated: what was needed, what was actually obtained or verified, and which parts of the output are affected. Fabricating, estimating, or interpolating a required number to complete the deliverable is never sanctioned. A stated gap is a complete answer.
Reference files
references/system-architecture.md- The four-layer model (tokens, primitives, patterns, templates) and how to decide where new work belongs.references/system-audit-template.md- Template for auditing an existing design system.references/governance-playbook.md- Contribution model, ownership, and decision process for an active system.
| 1 | |
| 2 | name design-system |
| 3 | description "Build or audit a design system including component library, design tokens, naming conventions, contribution model, and documentation. Use this skill whenever the user wants to build a design system, audit an existing system, define design tokens at the system level, structure a component library, or set up design system governance. Triggers on design system, component library, design tokens, atomic design, atoms, molecules, organisms, design system documentation, Storybook, Figma library, system governance, design contribution model. Also triggers when teams are inconsistent across products and a system is the answer." |
| 4 | category design |
| 5 | catalog_summary "Component library, design tokens, design system documentation" |
| 6 | display_order 1 |
| 7 | |
| 8 | |
| 9 | # Design System |
| 10 | |
| 11 | Build, evolve, or audit a design system. Stack-agnostic in principle. Implementation is stack-specific (Figma, Storybook, code library, etc.) but the structure and governance principles transfer. |
| 12 | |
| 13 | This skill is for building the system. For applying a system to specific pages or components, use `design-standards`. For brand visual identity, use `brand-identity`. |
| 14 | |
| 15 | |
| 16 | |
| 17 | ## When to use |
| 18 | |
| 19 | Building a design system from scratch |
| 20 | Auditing an existing system for gaps or fragmentation |
| 21 | Defining design tokens at the system level |
| 22 | Structuring a component library |
| 23 | Establishing contribution and governance models |
| 24 | Migrating from ad-hoc components to a documented system |
| 25 | |
| 26 | ## When NOT to use |
| 27 | |
| 28 | Designing a single page or component (use `design-standards`) |
| 29 | Brand identity work (use `brand-identity`) |
| 30 | Component-level frontend implementation (use `frontend-component-build`) |
| 31 | Pure design documentation for marketing (use `brand-style-guide`) |
| 32 | |
| 33 | |
| 34 | |
| 35 | ## Required inputs |
| 36 | |
| 37 | The brand identity (tokens, voice, imagery direction) |
| 38 | The product surfaces the system needs to support (web, mobile, marketing, app, internal tools) |
| 39 | The team and its working tools (Figma, code framework, doc platform) |
| 40 | Existing components, even if undocumented |
| 41 | Constraints (accessibility requirements, performance targets, browser support) |
| 42 | |
| 43 | If brand identity is undefined, run `brand-identity` first. |
| 44 | |
| 45 | |
| 46 | |
| 47 | ## The framework: 5 layers |
| 48 | |
| 49 | A complete design system has five layers, stacked. Each layer feeds the layer above. |
| 50 | |
| 51 | ### 1. Foundations (tokens) |
| 52 | |
| 53 | The atomic decisions. Color, type, spacing, radius, shadow, motion, breakpoints. |
| 54 | |
| 55 | **Why this layer matters:** |
| 56 | Tokens are the source of truth for everything above |
| 57 | Token changes propagate everywhere automatically |
| 58 | Without tokens, the system has no foundation |
| 59 | |
| 60 | **Output:** |
| 61 | A documented token set (see `design-standards/references/design-tokens-template.md`) |
| 62 | Token implementation in code (CSS variables, JS objects, Style Dictionary, etc.) |
| 63 | Token implementation in Figma (variables and styles) |
| 64 | A primer doc explaining what tokens to use when |
| 65 | |
| 66 | **Common patterns:** |
| 67 | Two-tier tokens: base tokens (raw values) + semantic tokens (named uses). Example: `color-blue-600` (base) + `color-text-link` (semantic). Components reference semantic tokens. Theme changes update semantic tokens, not base. |
| 68 | |
| 69 | ### 2. Elements (atoms) |
| 70 | |
| 71 | The smallest functional building blocks. Buttons, inputs, labels, badges, icons, links, dividers. |
| 72 | |
| 73 | **Per element, document:** |
| 74 | Visual variants (primary, secondary, ghost, etc.) |
| 75 | Size variants (small, medium, large) |
| 76 | States (default, hover, focus, active, disabled, error, loading) |
| 77 | Anatomy (the parts that make up the element) |
| 78 | Spacing and proportions |
| 79 | Accessibility (keyboard support, screen reader behavior, ARIA) |
| 80 | Code usage (props, examples) |
| 81 | |
| 82 | **Output:** |
| 83 | Element library in Figma |
| 84 | Element components in code |
| 85 | Per-element documentation |
| 86 | |
| 87 | ### 3. Components (molecules + organisms) |
| 88 | |
| 89 | Combinations of elements that form recognizable UI patterns. Cards, alerts, modals, navigation, forms, data tables, headers, footers. |
| 90 | |
| 91 | **Per component:** |
| 92 | Composition (which elements it uses) |
| 93 | Variants and configurations |
| 94 | Use cases (when to reach for this vs. an alternative) |
| 95 | Layout behavior (responsive, contained, full-bleed) |
| 96 | Anti-patterns (when NOT to use it) |
| 97 | |
| 98 | **Output:** |
| 99 | Component library |
| 100 | Per-component documentation with usage guidance |
| 101 | |
| 102 | ### 4. Patterns (templates) |
| 103 | |
| 104 | Larger structures that combine components. Sign-in flow, settings page, dashboard layout, marketing page sections. |
| 105 | |
| 106 | **Per pattern:** |
| 107 | The structure and components used |
| 108 | The user journey it supports |
| 109 | Layout grid and spacing |
| 110 | Responsive behavior |
| 111 | Variants (e.g., "with sidebar," "fullscreen," "modal") |
| 112 | |
| 113 | **Output:** |
| 114 | Pattern library or page templates |
| 115 | Documentation showing complete examples |
| 116 | |
| 117 | ### 5. Documentation and governance |
| 118 | |
| 119 | How the system gets used, contributed to, and maintained. |
| 120 | |
| 121 | **Documentation includes:** |
| 122 | Getting started guide for new team members |
| 123 | How to use vs. how to extend |
| 124 | Contribution model |
| 125 | Versioning policy |
| 126 | Migration paths when breaking changes happen |
| 127 | Decision log for major system choices |
| 128 | |
| 129 | **Governance includes:** |
| 130 | Who owns the system (a team or rotation) |
| 131 | How new components get proposed and approved |
| 132 | How conflicts get resolved |
| 133 | How the system evolves vs. stays stable |
| 134 | Cadence of review and updates |
| 135 | |
| 136 | |
| 137 | |
| 138 | ## Workflow |
| 139 | |
| 140 | ### For a new design system |
| 141 | |
| 142 | **Inventory the existing UI.** Screenshot every component, button, form, modal across the product. The list of distinct UI patterns is your starting scope. |
| 143 | **Identify the duplicates.** Same component built 5 different ways across the product. These are your high-value consolidation targets. |
| 144 | **Define foundations.** Token set, with both base and semantic layers. Document each. |
| 145 | **Audit elements.** From the inventory, identify the actual elements (buttons, inputs, etc.) and reduce variants to a managed set. |
| 146 | **Build the element library.** Figma + code. Document each element. |
| 147 | **Identify priority components.** The 10 to 15 components that appear most often. Build those first. |
| 148 | **Document patterns.** Page-level templates that show the system in use. |
| 149 | **Establish governance.** Owner, contribution model, review cadence. |
| 150 | **Roll out.** Migrate existing surfaces to the system progressively. |
| 151 | |
| 152 | ### For an existing design system audit |
| 153 | |
| 154 | **Inventory what exists.** What's documented, what's in Figma, what's in code, what's actually used in production. |
| 155 | **Map gaps.** Where the system is incomplete. Where teams build outside the system because the system can't serve their need. |
| 156 | **Map fragmentation.** Where the system has divergent implementations (Figma vs. code, web vs. mobile, multiple teams). |
| 157 | **Identify decay.** Components that have drifted from the documented standard. |
| 158 | **Prioritize fixes.** Foundation gaps first. High-use component drift second. Rarely-used component cleanup last. |
| 159 | **Plan rollout.** Major changes need migration paths. |
| 160 | |
| 161 | |
| 162 | |
| 163 | ## Failure patterns |
| 164 | |
| 165 | **Building the system before the brand is set.** Tokens depend on brand. Set brand first. |
| 166 | **Atoms-up extreme.** Spending 6 months on tokens and elements before producing components anyone uses. Ship components people need; refine tokens iteratively. |
| 167 | **One-person system.** A system without governance fails as soon as the original designer leaves. Establish ownership early. |
| 168 | **Stale documentation.** A system with code that's diverged from the docs is worse than no system. Synchronize or kill the docs. |
| 169 | **Versioning everything.** Treating every component as needing a major version. Most components evolve in place. Reserve versioning for breaking changes. |
| 170 | **Adopting "atomic design" dogmatically.** Atoms / molecules / organisms is a useful mental model, not a rigid taxonomy. Don't argue about whether something is a molecule or an organism. |
| 171 | **Building in a vacuum.** A system designed without input from the teams using it gets ignored. Co-design with consumers. |
| 172 | **No deprecation path.** Old components linger in code forever because no one knows it's safe to remove them. Document deprecation explicitly. |
| 173 | **Token explosion.** Defining 200 color tokens for a brand with 10 colors. Discipline. Most products need fewer tokens than they have. |
| 174 | |
| 175 | |
| 176 | |
| 177 | ## Output format |
| 178 | |
| 179 | A design system has multiple deliverables. Typically: |
| 180 | |
| 181 | **Documentation site** (Notion, dedicated site, GitHub Pages, Storybook addon, etc.) |
| 182 | **Figma library** (or equivalent design tool) |
| 183 | **Code library** (npm package, monorepo workspace, copy-paste components) |
| 184 | **Decision log** (system-level decisions and the reasoning) |
| 185 | **Roadmap and changelog** |
| 186 | |
| 187 | For a design system audit, output is a markdown report at `design-system-audit.md`: |
| 188 | |
| 189 | Inventory of what exists (foundations, elements, components, patterns) |
| 190 | Gap analysis |
| 191 | Fragmentation analysis |
| 192 | Drift analysis |
| 193 | Prioritized remediation plan |
| 194 | Governance recommendations |
| 195 | |
| 196 | |
| 197 | |
| 198 | ## If required data is unavailable |
| 199 | |
| 200 | This skill's output depends on data, measurements, or tool results it cannot generate on its own. When a required input, tool, or data source is unavailable or unverifiable, the sanctioned output is the deliverable with the gap stated: what was needed, what was actually obtained or verified, and which parts of the output are affected. Fabricating, estimating, or interpolating a required number to complete the deliverable is never sanctioned. A stated gap is a complete answer. |
| 201 | |
| 202 | |
| 203 | |
| 204 | ## Reference files |
| 205 | |
| 206 | [`references/system-architecture.md`] - The four-layer model (tokens, primitives, patterns, templates) and how to decide where new work belongs. |
| 207 | [`references/system-audit-template.md`] - Template for auditing an existing design system. |
| 208 | [`references/governance-playbook.md`] - Contribution model, ownership, and decision process for an active system. |
| 209 |
Discussion
Browse more free Claude skills or everything in Design.



