What problem does it solve?
Establishes consistent, maintainable UI component architecture to reduce design drift, remove hardcoded styles, and ensure components are testable, accessible, and reusable across projects.
Core Features & Use Cases
- Architecture Audit: Detects framework and styling approach, counts components, and surfaces design token and spacing violations.
- Design Token & CSS Guidance: Recommends when to use Tailwind, CSS Modules, or CSS-in-JS and enforces tokenization to eliminate hardcoded colors and spacing.
- Component Library & Storybook Setup: Provides folder structure templates, naming and API conventions, Storybook initialization steps, and rules for tests and accessibility.
- Use Case: Migrate a legacy SCSS codebase to a tokenized component library with Storybook coverage and automated visual/accessibility checks.
Quick Start
Use the ui skill to audit your repository's component library, report token violations, and produce a Storybook setup and component structure plan.