| name | ui-review |
| description | Review UI changes against Swiss International Style design system. Checks colors, typography, borders, shadows, spacing, and anti-patterns. Use before committing any frontend UI changes.
|
UI Review
Verify frontend changes comply with Swiss International Style before committing.
Step 1: Run Automated Checks
rg 'rounded-(sm|md|lg|xl|2xl|3xl|full)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
rg '(bg-gradient|from-|via-|to-)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
rg 'shadow-(sm|md|lg|xl|2xl|inner)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
rg '(blur-|backdrop-blur)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
Step 2: Manual Review
For each changed file check:
Colors
Typography
Borders & Shadows
Components
Anti-Pattern Quick Scan
Flag immediately if found in changed files:
| Anti-Pattern | Why |
|---|
rounded-sm/md/lg/xl/full | Sharp corners only |
bg-gradient-* | No gradients |
shadow-sm/md/lg/xl | Hard shadows only |
blur-* / backdrop-blur | No blur effects |
| Pastel colors | Swiss palette is bold |
Step 3: Report
[FAIL] file:line - Description of violation
[WARN] file:line - Potential issue to verify
[PASS] All checks passed
Reference
Full design system: docs/agent/design/style-guide.md