design-system-engineering
Installation
SKILL.md
Design System Engineering
Overview
Treat the Design System as a product contract between design and code. Establish only the foundation the product needs, prove it on representative screens, and promote recurring patterns deliberately.
Workflow
- Inspect existing tokens, themes, components, Storybook, Figma references, tests, and platforms.
- Reuse and evolve an existing system. Never introduce a competing token namespace or component library without recording the incompatibility and migration path.
- Define the smallest coherent token layers:
- raw primitives: palette, type scale, spacing, radius, elevation, motion;
- semantic tokens: surface, text, border, focus, status, interactive;
- component tokens: only where a component needs a stable contract.
- Build components around a clear API, variants, states, semantics, responsive behavior, and accessible contrast.
- Keep product-specific components separate from generic primitives. Promote a pattern only after recurrence and a real consumer prove it.
- Validate with one simple screen, one data-heavy screen, one form-heavy screen, and one critical workflow when those screens exist.
- Record breaking changes, deprecations, migrations, and platform differences.