ui-design-system
Installation
SKILL.md
UI Design System
Keep UI consistent with the application. Do not design each view as a one-off screen.
Process
- Find existing tokens, base components, domain components, variants, examples, and visual patterns before creating anything new.
- Use semantic token and variant names such as
primary,secondary,danger,muted,border, orsuccess; avoid names tied to one page or color accident. - Prefer extending an existing component API when it preserves consistency and does not create confusing variants.
- Create a new base component only when the pattern repeats, has interaction/accessibility logic, multiple states, or system-wide consistency risk.
- Document or test important states: default, hover, focus, active, disabled, loading, invalid, error, long text, empty content, dark/light theme, and small viewport.
- For global component changes, check downstream views and avoid changing shared behavior for one local case.