claude-ui/SKILL.md
Full Claude.ai UI clone: Next.js 16 + Tailwind v4. Exact tokens, all 19 flows, sidebar, chat input, messages, settings, login, onboarding, billing, artifacts. PageFlows July 2025.
npx skillsauth add clownnvd/claude-code-skills claude-uiInstall 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.
Source: PageFlows (July 2025 — 19 flows, 100+ screenshots).
Project: c:\nextjs_project\pulse-analytics → renamed to claude-ui on GitHub.
| Token | Value | Usage |
|-------|-------|-------|
| Background | #F9F6F0 | Page bg — warm cream, NOT white |
| Surface | #FFFFFF | Cards, modals, chat bubbles |
| Brand accent | #C96A4A | Logo, send btn, New Chat dot |
| Text primary | #0F0F0F | Body text |
| Text muted | #6B6B6B | Secondary text, placeholders |
| Border | #E0E0E0 | All borders, dividers |
| Active nav | bg-black/8 | Sidebar active item (valid Tailwind v4) |
| CTA | bg-black text-white | Primary buttons |
| Heading font | Georgia,'Times New Roman',serif | h1 headings only |
| Body font | system-ui, sans-serif | Everything else |
| Bug | Correct |
|-----|---------|
| User messages right-aligned (flex justify-end) | LEFT-aligned — flex items-start gap-3 |
| Sidebar has Anthropic logo / settings gear | NO logo, NO gear — only [≡][+][💬][📁][⊞][ST] |
| "New chat" is a full-width button | It's a nav item row (coral dot + text) |
| Projects badge is blue | Teal — bg-[#E8F4F8] text-[#3B82A0] |
| Response toolbar shows on hover | ALWAYS visible (no hover-only) |
| Response toolbar: all buttons on left | justify-between — AnthropicMark LEFT, Copy/👍/👎/Retry RIGHT |
| "Claude can make mistakes" below chat input | Per-message, right-aligned BELOW response toolbar (not global) |
| Clicking chat title → Rename modal directly | Opens DROPDOWN first: Star / Rename / Delete |
| StyleIcon is a bolt/lightning bolt | 3 sliders SVG: d="M8 6h13M8 12h9m-9 6h5" |
| window.location.href for navigation | Use <Link href> or router.push() |
| border-t border-gray-50 (invisible) | Use border-[#E0E0E0] |
| AnthropicMark duplicated in files | Extract to src/components/icons.tsx |
| AnthropicMark uses double-A wordmark path | Star path: M12 2L9.5 8.5H3L8.5 12.5L6 19L12 15L18 19L15.5 12.5L21 8.5H14.5L12 2Z |
| bg-black/8 IDE warning | Valid in Tailwind v4 — compiles correctly |
| pnpm dev fails in VSCode (NODE_ENV=production) | Add cross-env NODE_ENV=development to dev script |
<div className="flex h-screen bg-[#F9F6F0]">
<Sidebar /> {/* w-12 collapsed / w-64 expanded */}
<main className="flex-1 flex flex-col overflow-hidden">
{/* page content */}
</main>
</div>
src/app/
page.tsx # Login (split layout)
layout.tsx # Root layout
(chat)/
layout.tsx # App shell (sidebar + main)
new/page.tsx # Home / chat
recents/page.tsx # Chat history
settings/page.tsx # Settings tabs
artifacts/page.tsx # Artifacts list + split view
upgrade/page.tsx # Billing / plan cards
(onboarding)/ # 5-screen onboarding flow
src/components/
sidebar.tsx # Collapsible sidebar + account menu
chat-input.tsx # Textarea + toolbar + dropdowns
references/design-tokens.md — Full token table, Tailwind v4 @theme, sizing conventionsreferences/flows.md — All 19 flows table, navigation rules, route mapreferences/components/sidebar.md — Collapsed/expanded states, account menu popupreferences/components/chat-input.md — Toolbar buttons, StyleIcon SVG, dropdowns, propsreferences/components/messages.md — UserMessage (LEFT), AssistantMessage, ResponseToolbar, AnthropicMarkreferences/components/modals.md — Rename, Share, Feedback, Delete, DeleteAccountreferences/pages/home.md — Empty state hero, conversation view, topbar, upgrade bannerreferences/pages/recents.md — Chat card (no preview text), select mode toolbarreferences/pages/settings.md — 6 tabs, Profile fields, Appearance picker, ToggleSwitchreferences/pages/login.md — Split layout, 5-screen onboarding flowreferences/pages/billing.md — Plan cards (Free/Pro/Max), tab toggle, billing togglereferences/pages/artifacts.md — List page, category pills, card grid, split viewaria-labelaria-hidden="true"role="switch" + aria-checked<label htmlFor> or aria-labeloutline: 2px solid #C96A4A in globals.css@import "tailwindcss" replaces old @tailwind base/components/utilities@theme inline in globals.css defines custom utility classesbg-black/8 = valid arbitrary opacity — IDE warns but compiles correctlybg-cream, bg-brand, text-text-muted, border-bordertools
Zustand v5 state management for Next.js 16. Store patterns, middleware (persist/immer/devtools), SSR hydration, CV editor multi-step wizard, 20 documented errors. Triggers: zustand, store, state management, useState replacement, global state, persist, immer.
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Ultimate UI/UX design intelligence with real app flow knowledge. 93 styles, 121 palettes, 81 font pairings, 35 charts, 79 components, 62 animations, 65 WCAG criteria, 46 responsive patterns, 46 dark mode rules, 60 design tokens, 13 stacks. PLUS: Claude.ai full UI blueprint (19 flows, all screens), PageFlows app patterns. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check, clone, recreate, rebuild. Styles: glassmorphism, brutalism, neumorphism, bento, dark mode, view transitions, scroll-driven, container queries, AI-native, liquid glass, neo-minimalism, mesh gradient, geometric abstraction. Topics: color, accessibility, animation, layout, typography, spacing, shadow, gradient, responsive, dark mode, WCAG 2.2, design tokens, components, spring physics, kinetic typography, container queries, popover API, semantic tokens. Apps: claude.ai, ChatGPT-style, AI chat UI, SaaS dashboard.
development
--- name: ui description: UI quality system. 4 modes: research (design brief), score (10-category audit), fix (auto-fix from scorecard), pipeline (end-to-end chain). license: Complete terms in LICENSE.txt --- # UI Quality System One skill, 4 modes. Research real products, score UI quality, fix issues, or run the full pipeline. ## Modes | Mode | Use When | Workflow | |------|----------|---------| | **research** | Before building any page | Extract tokens → Search → Fetch → Design Brief | | **