UI Skills Reference
Collection of UI quality enforcement skills. Prevents AI-generated interface slop.
Skills
| Skill | Purpose | When to Use |
|---|---|---|
| baseline-ui | Opinionated UI constraints | Any UI work |
| fixing-accessibility | A11y issue fixes | Accessibility review |
| fixing-motion-performance | Animation performance | Motion/animation work |
| fixing-metadata | SEO/metadata fixes | Pages, metadata |
Key Constraints (from baseline-ui)
Stack
- •Use Tailwind CSS defaults
- •Use
motion/reactfor JS animations - •Use
cnutility (clsx + tailwind-merge)
Components
- •Use accessible primitives (Base UI, React Aria, Radix)
- •Never rebuild keyboard/focus behavior by hand
- •Add
aria-labelto icon-only buttons
Animation
- •Never add animation unless explicitly requested
- •Only animate compositor props (transform, opacity)
- •Never animate layout properties
Interaction
- •Use AlertDialog for destructive actions
- •Use structural skeletons for loading
- •Never use
h-screen, useh-dvh - •Respect
safe-area-insetfor fixed elements
Integration with Glyph
These skills complement Glyph rules:
- •
baseline-ui.md→rules/glyph/07-glyph-practices.md - •
fixing-accessibility.md→rules/glyph/03-glyph-protected.md - •
fixing-motion-performance.md→rules/glyph/05-glyph-animation.md