ui-review
Installation
SKILL.md
UI Design Review
Review the file: $ARGUMENTS
Checklist
1. Design Token Compliance
- No hardcoded hex colors (use semantic tokens:
text-foreground,bg-brand, etc.) - No hardcoded px spacing in Tailwind (use
p-6notp-[24px]) - Shadows use CSS variables (
shadow-[var(--shadow-card)]) - Border radius follows the scale (
rounded-md,rounded-lg,rounded-2xl)
2. Component Conventions
- Uses
data-slotattribute - Uses
cn()for className merging - Props typed with
React.ComponentProps<> - Supports
classNameprop override - Named export (not default export for components)
- No wrapper components that only add a className