--- name: component-aesthetic-checker description: Validates shadcn/ui component customization depth, ensuring components aren't used with default props and checking for consistent design system implementation across Tanstack Start applications triggers: ["shadcn ui component usage", "component prop changes", "design token updates", "className customization", "cn() utility usage"] note: "Updated for Tanstack Start (React) + shadcn/ui. Code examples use React/TSX with className and cn() utility for styling." --- # Component Aesthetic Checker SKILL ## Activation Patterns This SKILL automatically activates when: - shadcn/ui components (`Button`, `Card`, `Input`, etc.) are used in `.react` files - Component props are added or modified - The `ui` prop is customized for component variants - Design system tokens are referenced in components - Multiple components are refactored together - Before component library updates ## Expertise Provided ### Component Customization Depth Analysis - **Default Prop Detection**: Identifies components using only default values - **UI Prop Validation**: Ensures `ui` prop is used for deep customization - **Design System Consistency**: Validates consistent pattern usage across components - **Spacing Patterns**: Checks for proper Tailwind spacing scale usage - **Icon Usage**: Validates consistent icon library and sizing - **Loading States**: Ensures async components have loading feedback ### Specific Checks Performed #### ❌ Critical Issues (Insufficient Customization) ```tsx

Content

``` #### ✅ Correct Customized Patterns ```tsx