design-system
/design-system
Builds and maintains the design system a product is assembled from — tokens for color, type, spacing and elevation, component contracts, and the rules that keep them coherent as the product grows. Use this when starting a new interface, when screens have drifted apart visually, when the same component exists three times in slightly different forms, or when a token or component needs adding without breaking what exists.
- Author
- cbrock84 ↗
- Repository
- headcount ↗
- Licence
- MIT
- Last repository change
- 18.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 18.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Builds and maintains the design system a product is assembled from — tokens for color, type, spacing and elevation, component contracts, and the rules that keep them coherent as the product grows. Use this when starting a new interface, when screens have drifted apart visually, when the same component exists three times in slightly different forms, or when a token or component needs adding without breaking what exists.
Original author description
Builds and maintains the design system a product is assembled from — tokens for color, type, spacing and elevation, component contracts, and the rules that keep them coherent as the product grows. Use this when starting a new interface, when screens have drifted apart visually, when the same component exists three times in slightly different forms, or when a token or component needs adding without breaking what exists.
How it works
- Tokens first
- Component contracts
- Growth rules
- Sources
- Tooling
- Never
- Return contract
SKILL.md preview
--- name: design-system description: Builds and maintains the design system a product is assembled from — tokens for color, type, spacing and elevation, component contracts, and the rules that keep them coherent as the product grows. Use this when starting a new interface, when screens have drifted apart visually, when the same component exists three times in slightly different forms, or when a token or component needs adding without breaking what exists. --- # Design system A design system is a set of constraints that makes consistency the cheap path. If the system is harder to follow than to ignore, it will be ignored. ## Tokens first Define the primitives before any component. Every visual decision references a token; nothing hard-codes a value. - **Color** — semantic names, not literal ones. `surface`, `surface-raised`, `text-primary`, `text-muted`, `border`, `accent`, `danger`. A token named `blue-500` cannot be re-themed. - **Type** — a scale with a stated ratio, and a line-height per step. Four to six steps. More than that and nobody can tell them apart. - **Spacing** — one scale, geometric, used for every gap and inset. Arbitrary spacing is the single most common source of "it looks off but I can't say why." - **Radius, elevation, motion** — small closed sets. Two or three each. Every token needs a light and dark value defined together. Adding dark mode later means auditing every surface. ## Component contracts A component in the system carries: the states it supports (default, hover, focus, active, disabled, loading, error, empty), the props that vary it, and what it will *not* do. The last one matters most — a component that accepts arbitrary overrides is a styling function, not a component. Every interactive component needs a visible focus state and a target big enough to hit. This is not a polish item; it is whether people can use it. ## Growth rules - A new component enters the system only after the same need appears three times. Before that it is local. - Changing a token is a system-wide change — treat it like an API change, because it is. - Never remove a token or component because it looks unused. You cannot see every consumer from inside the system. Deprecate, announce, then remove. ## Sources `references/sources.md` in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding. ## Tooling Design source: Figma, and similar. Component documentation and review: Storybook. Token pipelines: Style Dictionary, Tokens Studio, Figma variables exported to code, and similar. Visual regression: Chromatic, Percy, Playwright snapshots, and similar. The system is the code, not the design file. When the two disagree, the code is what ships. ## Never - Add a component for a single screen. A one-use component is a snippet, not a system. - Hard-code a value a token already covers. The exception becomes the next inconsistency. - Redefine what an existing token means instead of adding one. Changing a semantic silently redecorates everything downstream. - Ship a component without its states documented — empty, loading, error, disabled. ## Return contract Report tokens added or changed, components affected, anything now inconsistent with the system, and what needs migrating.
Files in this package (2)
- SKILL.md 3 KB
- references/sources.md 2 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · cbrock84/headcount | 90 | MIT |
| frontic/ui | 100 | MIT |
| akillness/jeo-skills | 100 | MIT |
| langwatch/langwatch | 100 | Apache-2.0 |
| borghei/Claude-Skills | 100 | MIT |
| alirezarezvani/claude-skills | 100 | MIT |
| sallaumen/elixir-agent-kit | 100 | MIT |
| davidelarocca/swift-harness | 100 | MIT |
| nextlevelbuilder/ui-ux-pro-max-skill | 100 | MIT |
Database snapshot: 13.11.2026 · package version 5a2d11830499 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 4 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100ui-design-system
UI design system creation and management. Use for design tokens, component specs, color palettes, typography scales, spacing systems, and visual consistency audits. - 90design-token
Define and organise tokens for colour, spacing, type, and elevation with naming and usage rules. Use when establishing the token layer. For auditing existing usage use `design-token-audit` (designer-toolkit); for multi-brand mapping use `theming-system`. - 100design-systems
Build and maintain a design system that keeps a product visually consistent and fast to build. Use when creating design tokens, component libraries, or UI guidelines. - 100frontend-design
UI component design principles, visual hierarchy, spacing, typography for Next.js apps. Use when building or reviewing React/Next.js components, setting up design tokens, or establishing visual consistency. - 100design-tokens
Project-level DESIGN.md tokens reference. When the project has a DESIGN.md file, agents producing UI / components / visuals must consult this skill to use canonical color/typography/spacing tokens rather than inventing new ones. Triggers on: UI generation, component creation,… - 100ui-design
Use when the user wants UI or UX design artifacts: design the UI for a spec, wireframes, screens, layouts, component specs, design tokens, a design system, typography, color, or spacing systems, for web, Flutter, React Native, or AngularJS.