SuperAPI AI Directory

design-system-generalizer

Design & creation

View repository

Updated 10-16 01:12

About this skill

Design System Generalizer

When to use

  • One route is the "golden" reference (e.g. /settings)
  • Other routes drift from tokens or component reuse
  • Planning incremental migration PRs

Instructions

  1. python scripts/scan_patterns.py --route /golden --project-root <root>
  2. python scripts/diff_violations.py --golden /golden --target /other --project-root <root>
  3. Use --check on diff to exit non-zero when target has hex colors or missing route files.
  4. Propose small PRs: never whole-app rewrite in one shot.