What problem does it solve?
Frontend codebases drift from their design system over time: hardcoded Tailwind colors, arbitrary text sizes, raw HTML form controls, and missing empty or loading states accumulate across modules. This Skill detects, migrates, and prevents those violations in Open Mercato projects.
Core Features & Use Cases
- Violation Analysis & Health Reports: Scan modules for hardcoded status colors, arbitrary typography, inline SVGs, raw fetch calls, and missing EmptyState/LoadingMessage coverage, with per-module rankings and delta tracking against previous runs.
- Automated Migration: Run codemod scripts to convert hardcoded colors to semantic tokens and arbitrary text sizes to the typography scale, plus guided recipes for replacing raw HTML inputs, selects, and textareas with DS primitives.
- DS-Compliant Scaffolding & Review: Generate list, create, and detail pages from templates that include StatusBadge, EmptyState, apiCall, and i18n, then review code or PRs with a scored compliance checklist.
- Use Case: A developer asks to migrate the customers module to the design system; the Skill scans it, produces a prioritized plan, runs the color and typography codemods, verifies with a build, and reports the health delta.
Quick Start
Ask the agent to analyze the customers module for design system violations and propose a migration plan.