What problem does it solve?
This Skill helps developers maintain UI consistency by reviewing changes against the Swiss International Style design system, ensuring compliance before any frontend UI changes are committed.
Core Features & Use Cases
- Automated Checks: Run predefined checks for rounded corners, gradients, shadows, and other design elements.
- Manual Review Guide: Provides a checklist for manual review of colors, typography, borders, shadows, spacing, and anti-patterns.
- Anti-Pattern Quick Scan: Flags immediate issues like sharp corners, gradients, and soft shadows.
- Reporting: Generates a report with [FAIL], [WARN], and [PASS] statuses for each check.
Quick Start
Run the automated checks by executing the following commands in the terminal:
# Forbidden rounded corners
rg 'rounded-(sm|md|lg|xl|2xl|3xl|full)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Forbidden gradients
rg '(bg-gradient|from-|via-|to-)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Forbidden soft shadows
rg 'shadow-(sm|md|lg|xl|2xl|inner)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Forbidden blur
rg '(blur-|backdrop-blur)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n