dev:design-system-guardrails
Enforces single-source-of-truth UI — design tokens for every style value, one component library, variants instead of call-site restyling.
Part of dev.
4 reference documents, about 463 lines.
The skill itself does not contain them. It reads your question and names the one or two worth opening — which is the point, because loading everything below to answer one question would cost more than the answer is worth.
Overviews
| Document | Covers | Lines |
|---|---|---|
component-patterns.md | Component patterns — variants inside, layout outside | 121 |
design-tokens.md | Design tokens — one source of truth for styles | 106 |
enforcement.md | Enforcement — making the rules physical | 103 |
storybook-structure.md | Storybook structure — the component workshop and source of truth | 133 |
Reading these
You do not open these yourself in normal use — /dev:design-system-guardrails picks for you. Read them
directly when you want the reference rather than the answer, or to check what the advice
is actually based on.