Audit shadcn/ui setup for common issues — base-ui imports, wrong style, missing deps, broken patterns
Run a comprehensive check for all known shadcn pitfalls. Report findings as a checklist.
Read components.json. Report:
"style" is "new-york" (FAIL if "base-nova")Run: grep -r "@base-ui/react" src/
If failures found, list every file that needs replacing.
Run: grep -r "@/registry" src/
Read package.json. Check:
radix-ui is in dependencies@base-ui/react is NOT in dependenciesclass-variance-authority is in dependencies (needed by button, badge, sidebar)If src/components/ui/sidebar.tsx exists, verify:
src/hooks/use-mobile.tsx existssrc/components/ui/skeleton.tsx existssrc/components/ui/tooltip.tsx exists and imports from "radix-ui"src/components/ui/collapsible.tsx exists and imports from "radix-ui"src/components/ui/sheet.tsx exists and imports from "radix-ui"src/components/ui/separator.tsx exists and imports from "radix-ui"src/components/ui/avatar.tsx exists and imports from "radix-ui"src/components/ui/button.tsx exists and imports Slot from "radix-ui"src/components/ui/input.tsx existsRead src/components/app-sidebar.tsx (or equivalent). Check:
<Collapsible asChild><SidebarMenuItem><CollapsibleTrigger asChild><SidebarMenuButton> pattern<SidebarGroupLabel asChild><CollapsibleTrigger> pattern (this is WRONG)SidebarTrigger exists inside the sidebar for visible collapse toggleSidebarMenuSub (no icons)Read src/app/globals.css. Check:
@layer base { html { font-family: var(--font-geist-sans), ... } } is set directly (not via @apply font-sans)@theme inline does NOT have --font-sans: var(--font-sans) (circular reference)code, pre have mono font family setRun npm run build.
Present all results as a checklist. For any failures, provide the exact fix needed.