Generates or audits a design system, scoring visual consistency and reviewing style-related PRs.
- What it does
- This skill analyzes a codebase's CSS, Tailwind, or styled-components patterns and extracts colors, typography, spacing, radii, shadows, and breakpoints. It produces design tokens as JSON plus CSS custom properties, a DESIGN.md explaining each decision, and a self-contained interactive HTML preview. It also audits interfaces across ten visual dimensions with scores and file:line fixes, and flags generic AI-generated design patterns.
- When to use it
- Use it when starting a project that needs a design system, when checking an existing codebase for visual consistency, or before a redesign to understand the current state. It also fits reviewing pull requests that change styling and diagnosing interfaces that look wrong without an obvious cause.
- Requirements
- Instructions only; no scripts are shipped. It expects access to the target codebase and, for competitor research and URL-based audits, browser MCP and network access.