ux-guardrails
ux-guardrails
Prose design rules are followed probabilistically and dropped under iteration
pressure; a deterministic check is not. This skill ships that check —
scripts/ux_lint.mjs, a single-file, zero-dependency Node lint — plus the hook
wiring that runs it on every UI write and refuses to finish a session with
critical violations outstanding.
When to use / when NOT to use
Use to install or run mechanical UX enforcement in a landing-page project:
spacing on the grid, arbitrary-value and raw-palette bans, WCAG contrast on
design-token pairs, focus-visibility, slop tells (purple gradients, gradient
text, glassmorphism, transition: all).
Not for: choosing the palette/type/tokens (visual-design-system), picking the
overall look (landing-page-art-direction), a full WCAG 2.2 audit with manual
passes (landing-page-accessibility), motion design (scroll-motion), or
generic test/format hooks (that's ordinary repo tooling).