.claude/skills/ui-review/SKILL.md
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.
npx skillsauth add dankofly/Swing_B2B ui-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use to verify frontend changes comply with Swiss International Style before committing.
# Check for forbidden rounded corners
rg 'rounded-(sm|md|lg|xl|2xl|3xl|full)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Check for gradient usage (forbidden)
rg '(bg-gradient|from-|via-|to-)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Check for soft shadows (should be hard only)
rg 'shadow-(sm|md|lg|xl|2xl|inner)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Check for blur effects (forbidden)
rg '(blur-|backdrop-blur)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Check for off-palette colors
rg 'bg-(red|green|blue|yellow|purple|pink|indigo|teal|cyan|emerald|violet|fuchsia|rose|sky|lime|amber|stone|zinc|neutral|slate)-[0-9]' apps/frontend/ --glob '*.tsx' --no-heading -n
# Verify hard shadows are used
rg 'shadow-\[' apps/frontend/ --glob '*.tsx' --no-heading -n
For each changed file:
#F0F0E8 or white#000000 (no grey for main text)#1D4ED8#15803D#DC2626#F97316font-seriffont-sansfont-mono text-sm uppercase tracking-widerrounded-noneborder-2 border-black (or border)shadow-[Xpx_Xpx_0px_0px_#000000]rounded-none, black borderw-3 h-3 with no border-radius| Name | Hex | Tailwind |
|------|-----|----------|
| Canvas | #F0F0E8 | bg-[#F0F0E8] |
| Ink | #000000 | text-black |
| White | #FFFFFF | bg-white |
| Hyper Blue | #1D4ED8 | text-blue-700 / bg-blue-700 |
| Signal Green | #15803D | text-green-700 |
| Alert Orange | #F97316 | text-orange-500 |
| Alert Red | #DC2626 | text-red-600 |
| Steel Grey | #4B5563 | text-gray-600 |
// Correct button
<button className="rounded-none border-2 border-black px-4 py-2 shadow-[2px_2px_0px_0px_#000000] hover:translate-y-[1px] hover:translate-x-[1px] hover:shadow-none transition-all">
// Correct card
<div className="bg-white border-2 border-black shadow-[4px_4px_0px_0px_#000000] p-6">
// Correct label
<label className="font-mono text-sm uppercase tracking-wider">
// Correct status indicator
<div className="w-3 h-3 bg-green-700" />
If ANY of these appear in changed files, flag immediately:
| Anti-Pattern | Why |
|-------------|-----|
| rounded-sm/md/lg/xl/full | Swiss style: sharp corners only |
| bg-gradient-* | No gradients allowed |
| shadow-sm/md/lg/xl | Must use hard shadow-[...] |
| blur-* / backdrop-blur | No blur effects |
| opacity-* (decorative) | Flat, opaque elements only |
| Pastel colors | Swiss palette is bold |
| animate-pulse/bounce | Minimal animation only |
For dashboard/settings/empty states ONLY (not resume content):
<span className="font-mono text-xs uppercase">[ STATUS: READY ]</span>
Never use retro elements on resume editing or PDF preview areas.
Full design system: docs/agent/design/style-guide.md
Extended tokens: docs/agent/design/design-system.md
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.
development
Production-ready Tailwind CSS patterns for common website components: responsive layouts, cards, navigation, forms, buttons, and typography. Includes spacing scale, breakpoints, mobile-first patterns, and dark mode support. Use when building UI components, creating landing pages, styling forms, implementing navigation, or fixing responsive layouts.
development
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
development
React and Next.js performance optimization guidelines from Vercel Engineering, tuned for local/offline or docker-deployed apps.