[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C7KB1MNQYZNPYAA1JK5RDD":3,"skill-same:01M6C7KB1MNQYZNPYAA1JK5RDD":136},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":13,"ownerHtmlUrl":61,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":62,"install":63,"resources":76},"01M6C7KB1MNQYZNPYAA1JK5RDD","frontend-design","前端界面设计与实现","Transform UI style requirements into production-ready frontend code with systematic design tokens, accessibility compliance, and creative execution. Use when building websites, web applications, React\u002FVue components, dashboards, landing pages, or any web UI requiring both design consistency and aesthetic quality.","将 UI 风格需求转化为可用于生产环境的前端代码，具备系统化的设计令牌、无障碍合规性与创意实现。适用于构建网站、Web 应用、React\u002FVue 组件、仪表盘、着陆页，或任何兼顾设计一致性与审美质量的 Web UI。","xiaoyuge886\u002Faigc","xiaoyuge886","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12636900?v=4","01M6C7J3YT6CQHYHZ29SF3VNBC",null,"01M6C7J42B85WJJ9BQGRDED804",200,"MIT","https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"design","frontend design","frontend","aesthetic","creative","ready","use","landing","quality","dashboards","applications","execution","compliance","vue","ui","code","react","components","accessibility","web","2026-11-10 10:12:30",false,"---\nname: frontend-design\ndescription: Transform UI style requirements into production-ready frontend code with systematic design tokens, accessibility compliance, and creative execution. Use when building websites, web applications, React\u002FVue components, dashboards, landing pages, or any web UI requiring both design consistency and aesthetic quality.\nversion: 2.0.0\nlicense: MIT\n---\n\n# Frontend Design Skill — Systematic & Creative Web Development\n\n**Skill Location**: `{project_path}\u002Fskills\u002Ffrontend-design\u002F`\n\nThis skill transforms vague UI style requirements into executable, production-grade frontend code through a systematic design token approach while maintaining creative excellence. It ensures visual consistency, accessibility compliance, and maintainability across all deliverables.\n\n---\n\n## When to Use This Skill (Trigger Patterns)\n\n**MUST apply this skill when:**\n\n- User requests any website, web application, or web component development\n- User mentions design styles: \"modern\", \"premium\", \"minimalist\", \"dark mode\", \"SaaS-style\"\n- Building dashboards, landing pages, admin panels, or any web UI\n- User asks to \"make it look better\" or \"improve the design\"\n- Creating component libraries or design systems\n- User specifies frameworks: React, Vue, Svelte, Next.js, Nuxt, etc.\n- Converting designs\u002Fmockups to code\n- User mentions: Tailwind CSS, shadcn\u002Fui, Material-UI, Chakra UI, etc.\n\n**Trigger phrases:**\n- \"build a website\u002Fapp\u002Fcomponent\"\n- \"create a dashboard\u002Flanding page\"\n- \"design a UI for...\"\n- \"make it modern\u002Fclean\u002Fpremium\"\n- \"style this with...\"\n- \"convert this design to code\"\n\n**DO NOT use for:**\n- Backend API development\n- Pure logic\u002Falgorithm implementation\n- Non-visual code tasks\n\n---\n\n## Skill Architecture\n\nThis skill provides:\n\n1. **SKILL.md** (this file): Core methodology and guidelines\n2. **examples\u002Fcss\u002F**: Production-ready CSS examples\n   - `tokens.css` - Design token system\n   - `components.css` - Reusable component styles\n   - `utilities.css` - Utility classes\n3. **examples\u002Ftypescript\u002F**: TypeScript implementation examples\n   - `design-tokens.ts` - Type-safe token definitions\n   - `theme-provider.tsx` - Theme management\n   - `sample-components.tsx` - Component examples\n4. **templates\u002F**: Quick-start templates\n   - `tailwind-config.js` - Tailwind configuration\n   - `globals.css` - Global styles template\n\n---\n\n## Core Principles (Non-Negotiable)\n\n### 1. **Dual-Mode Thinking: System + Creativity**\n\n**Systematic Foundation:**\n- Design tokens first, UI components second\n- No arbitrary hardcoded values (colors, spacing, shadows, radius)\n- Consistent scales for typography, spacing, radius, elevation\n- Complete state coverage (default\u002Fhover\u002Factive\u002Ffocus\u002Fdisabled + loading\u002Fempty\u002Ferror)\n- Accessibility as a constraint, not an afterthought\n\n**Creative Execution:**\n- AVOID generic \"AI slop\" aesthetics (Inter\u002FRoboto fonts, purple gradients, cookie-cutter layouts)\n- Choose BOLD aesthetic direction: brutalist, retro-futuristic, luxury, playful, editorial, etc.\n- Make unexpected choices in typography, color, layout, and motion\n- Each design should feel unique and intentionally crafted for its context\n\n### 2. **Tokens-First Methodology**\n\n```\nDesign Tokens → Component Styles → Page Layouts → Interactive States\n```\n\n**Never skip token definition.** All visual properties must derive from the token system.\n\n### 3. **Tech Stack Flexibility**\n\n**Default stack (if unspecified):**\n- Framework: React + TypeScript\n- Styling: Tailwind CSS\n- Components: shadcn\u002Fui\n- Theme: CSS custom properties (light\u002Fdark modes)\n\n**Supported alternatives:**\n- Frameworks: Vue, Svelte, Angular, vanilla HTML\u002FCSS\n- Styling: CSS Modules, SCSS, Styled Components, Emotion\n- Libraries: MUI, Ant Design, Chakra UI, Headless UI\n\n### 4. **Tailwind CSS Best Practices**\n\n**⚠️ CRITICAL: Never use Tailwind via CDN**\n\n**MUST use build-time integration:**\n```bash\nnpm install -D tailwindcss postcss autoprefixer\nnpx tailwindcss init -p\n```\n\n**Why build-time is mandatory:**\n- ✅ Enables tree-shaking (2-15KB vs 400KB+ bundle)\n- ✅ Full design token customization\n- ✅ IDE autocomplete and type safety\n- ✅ Integrates with bundlers (Vite, webpack, Next.js)\n\n**CDN only acceptable for:**\n- Quick prototypes\u002Fdemos\n- Internal testing\n\n---\n\n## Implementation Workflow\n\n### Phase 1: Design Analysis & Token Definition\n\n**Step 1: Understand Context**\n```\n- Purpose: What problem does this solve? Who uses it?\n- Aesthetic Direction: Choose ONE bold direction\n- Technical Constraints: Framework, performance, accessibility needs\n- Differentiation: What makes this memorable?\n```\n\n**Step 2: Generate Design Tokens**\n\nCreate comprehensive token system (see `examples\u002Fcss\u002Ftokens.css` and `examples\u002Ftypescript\u002Fdesign-tokens.ts`):\n\n1. **Semantic Color Slots** (light + dark modes):\n   ```\n   --background, --surface, --surface-subtle\n   --text, --text-secondary, --text-muted\n   --border, --border-subtle\n   --primary, --primary-hover, --primary-active, --primary-foreground\n   --secondary, --secondary-hover, --secondary-foreground\n   --accent, --success, --warning, --danger\n   ```\n\n2. **Typography Scale**:\n   ```\n   Display: 3.5rem\u002F4rem (56px\u002F64px), weight 700-800\n   H1: 2.5rem\u002F3rem (40px\u002F48px), weight 700\n   H2: 2rem\u002F2.5rem (32px\u002F40px), weight 600\n   H3: 1.5rem\u002F2rem (24px\u002F32px), weight 600\n   Body: 1rem\u002F1.5rem (16px\u002F24px), weight 400\n   Small: 0.875rem\u002F1.25rem (14px\u002F20px), weight 400\n   Caption: 0.75rem\u002F1rem (12px\u002F16px), weight 400\n   ```\n\n3. **Spacing Scale** (8px system):\n   ```\n   0.5 → 4px, 1 → 8px, 2 → 16px, 3 → 24px, 4 → 32px\n   5 → 40px, 6 → 48px, 8 → 64px, 12 → 96px, 16 → 128px\n   ```\n\n4. **Radius Scale**:\n   ```\n   xs: 2px (badges, tags)\n   sm: 4px (buttons, inputs)\n   md: 6px (cards, modals)\n   lg: 8px (large cards, panels)\n   xl: 12px (hero sections)\n   2xl: 16px (special elements)\n   full: 9999px (pills, avatars)\n   ```\n\n5. **Shadow Scale**:\n   ```\n   sm: Subtle lift (buttons, inputs)\n   md: Card elevation\n   lg: Modals, dropdowns\n   xl: Large modals, drawers\n   ```\n\n6. **Motion Tokens**:\n   ```\n   Duration: 150ms (micro), 220ms (default), 300ms (complex)\n   Easing: ease-out (enter), ease-in (exit), ease-in-out (transition)\n   ```\n\n### Phase 2: Component Development\n\n**Step 3: Build Reusable Components**\n\nFollow this structure (see `examples\u002Ftypescript\u002Fsample-components.tsx`):\n\n```typescript\ninterface ComponentProps {\n  variant?: 'primary' | 'secondary' | 'outline' | 'ghost';\n  size?: 'sm' | 'md' | 'lg';\n  state?: 'default' | 'hover' | 'active' | 'disabled' | 'loading';\n}\n```\n\n**Required component states:**\n- Default, Hover, Active, Focus, Disabled\n- Loading (skeleton\u002Fspinner)\n- Empty state (clear messaging)\n- Error state (recovery instructions)\n\n**Required component features:**\n- Accessible (ARIA labels, keyboard navigation)\n- Responsive (mobile-first)\n- Theme-aware (light\u002Fdark mode)\n- Token-based styling (no hardcoded values)\n\n### Phase 3: Page Assembly\n\n**Step 4: Compose Pages from Components**\n\n```\n- Use established tokens and components only\n- Mobile-first responsive design\n- Loading states for async content\n- Empty states with clear CTAs\n- Error states with recovery options\n```\n\n### Phase 4: Quality Assurance\n\n**Step 5: Self-Review Checklist**\n\n- [ ] All colors from semantic tokens (no random hex\u002Frgb)\n- [ ] All spacing from spacing scale\n- [ ] All radius from radius scale\n- [ ] Shadows justified by hierarchy\n- [ ] Clear type hierarchy with comfortable line-height (1.5+)\n- [ ] All interactive states implemented and tested\n- [ ] Accessibility: WCAG AA contrast, keyboard navigation, ARIA, focus indicators\n- [ ] Responsive: works on mobile (375px), tablet (768px), desktop (1024px+)\n- [ ] Loading\u002Fempty\u002Ferror states included\n- [ ] Code is maintainable: DRY, clear naming, documented\n\n---\n\n## Design Direction Templates\n\n### 1. Minimal Premium SaaS (Most Universal)\n\n```\nVisual Style: Minimal Premium SaaS\n- Generous whitespace (1.5-2x standard padding)\n- Near-white background with subtle surface contrast\n- Light borders (1px, low-opacity)\n- Very subtle elevation (avoid heavy shadows)\n- Unified control height: 44-48px\n- Medium-large radius: 6-8px\n- Gentle hover states (background shift only)\n- Clear but not harsh focus rings\n- Low-contrast dividers\n- Priority: Readability and consistency\n```\n\n**Best for:** Enterprise apps, B2B SaaS, productivity tools\n\n### 2. Bold Editorial\n\n```\nVisual Style: Bold Editorial\n- Strong typographic hierarchy (large display fonts)\n- High contrast (black\u002Fwhite or dark\u002Flight extremes)\n- Generous use of negative space\n- Asymmetric layouts with intentional imbalance\n- Grid-breaking elements\n- Minimal color palette (1-2 accent colors max)\n- Sharp, geometric shapes\n- Dramatic scale differences\n- Priority: Visual impact and memorability\n```\n\n**Best for:** Marketing sites, portfolios, content-heavy sites\n\n### 3. Soft & Organic\n\n```\nVisual Style: Soft & Organic\n- Rounded corners everywhere (12-24px radius)\n- Soft shadows and subtle gradients\n- Pastel or muted color palette\n- Gentle animations (ease-in-out, 300-400ms)\n- Curved elements and flowing layouts\n- Generous padding (1.5-2x standard)\n- Soft, blurred backgrounds\n- Priority: Approachability and comfort\n```\n\n**Best for:** Consumer apps, wellness, lifestyle brands\n\n### 4. Dark Neon (Restrained)\n\n```\nVisual Style: Dark Neon\n- Dark background (#0a0a0a to #1a1a1a, NOT pure black)\n- High contrast text (#ffffff or #fafafa)\n- Accent colors ONLY for CTAs and key states\n- Subtle glow on hover (box-shadow with accent color)\n- Minimal borders (use subtle outlines)\n- Optional: Subtle noise texture\n- Restrained use of neon (less is more)\n- Priority: Focus and sophisticated edge\n```\n\n**Best for:** Developer tools, gaming, tech products\n\n### 5. Playful & Colorful\n\n```\nVisual Style: Playful & Colorful\n- Vibrant color palette (3-5 colors)\n- Rounded corners (8-16px)\n- Micro-animations on hover\u002Finteraction\n- Generous padding and breathing room\n- Friendly, geometric illustrations\n- Smooth transitions (200-250ms)\n- High energy but balanced\n- Priority: Delight and engagement\n```\n\n**Best for:** Consumer apps, children's products, creative tools\n\n---\n\n## Standard Prompting Workflow\n\n### Master Prompt Template\n\n```\nYou are a Design Systems Engineer + Senior Frontend UI Developer with expertise in creative design execution.\n\n[TECH STACK]\n- Framework: {{FRAMEWORK = React + TypeScript}}\n- Styling: {{STYLING = Tailwind CSS}}\n- Components: {{UI_LIB = shadcn\u002Fui}}\n- Theme: CSS variables (light\u002Fdark modes)\n\n[DESIGN SYSTEM RULES - MANDATORY]\n1. Layout: 8px spacing system; mobile-first responsive\n2. Typography: Clear hierarchy (Display\u002FH1\u002FH2\u002FH3\u002FBody\u002FSmall\u002FCaption); line-height 1.5+\n3. Colors: Semantic tokens ONLY (no hardcoded values)\n4. Shape: Tiered radius system; tap targets ≥ 44px\n5. Elevation: Minimal shadows; borders for hierarchy\n6. Motion: Subtle transitions (150-220ms); restrained animations\n7. Accessibility: WCAG AA; keyboard navigation; ARIA; focus indicators\n\n[AESTHETIC DIRECTION]\nStyle: {{STYLE = Minimal Premium SaaS}}\nKey Differentiator: {{UNIQUE_FEATURE}}\nTarget Audience: {{AUDIENCE}}\n\n[INTERACTION STATES - REQUIRED]\n✓ Default, Hover, Active, Focus, Disabled\n✓ Loading (skeleton), Empty (with messaging), Error (with recovery)\n\n[OUTPUT REQUIREMENTS]\n1. Design Tokens (CSS variables + TypeScript types)\n2. Component implementations (copy-paste ready)\n3. Page layouts with all states\n4. NO hardcoded values; reference tokens only\n5. Minimal but clear code comments\n```\n\n### Token Generation Prompt\n\n```\nGenerate a complete Design Token system including:\n\n1. Semantic color slots (CSS custom properties):\n   - Light mode + Dark mode variants\n   - Background, surface, text, border, primary, secondary, accent, semantic colors\n   - Interactive states for each (hover, active)\n\n2. Typography scale:\n   - Display, H1-H6, Body, Small, Caption, Monospace\n   - Include: font-size, line-height, font-weight, letter-spacing\n\n3. Spacing scale (8px base):\n   - 0.5, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24 (in rem)\n\n4. Radius scale:\n   - xs (2px), sm (4px), md (6px), lg (8px), xl (12px), 2xl (16px), full\n\n5. Shadow scale:\n   - sm, md, lg, xl (with color and blur values)\n   - Usage guidelines for each tier\n\n6. Motion tokens:\n   - Duration: fast (150ms), base (220ms), slow (300ms)\n   - Easing: ease-out, ease-in, ease-in-out\n\n7. Component density:\n   - Button heights: sm (36px), md (44px), lg (48px)\n   - Input heights: sm (36px), md (40px)\n   - Padding scales\n\nOutput format:\n- CSS custom properties (globals.css)\n- Tailwind config integration\n- TypeScript type definitions\n- Usage examples for each token category\n\nDO NOT write component code yet.\n```\n\n### Component Implementation Prompt\n\n```\nUsing the established Design Tokens, implement: \u003C{{COMPONENT_NAME}} \u002F>\n\nRequirements:\n- Props: variant, size, state, className (for composition)\n- States: default, hover, focus, active, disabled, loading, error\n- Accessibility: keyboard navigation, ARIA labels, focus management\n- Responsive: mobile-first, touch-friendly (44px+ tap targets)\n- Styling: Use tokens ONLY (no hardcoded values)\n- TypeScript: Full type safety with exported interfaces\n\nInclude:\n1. Component implementation\n2. Usage examples (3-5 variants)\n3. Loading state example\n4. Error state example\n5. Accessibility notes\n\nOutput: Production-ready, copy-paste code with JSDoc comments.\n```\n\n### Page Development Prompt\n\n```\nBuild page: {{PAGE_NAME}}\n\nUsing:\n- Established Design Tokens\n- Implemented Components\n- {{STYLE}} aesthetic direction\n\nRequirements:\n- Responsive layout (mobile\u002Ftablet\u002Fdesktop)\n- All interaction states (hover\u002Ffocus\u002Factive\u002Fdisabled)\n- Loading skeleton for async content\n- Empty state with clear CTA\n- Error state with recovery options\n- Accessible (keyboard nav, ARIA, WCAG AA)\n- No hardcoded styles (components + utility classes only)\n\nInclude:\n1. Page component with mock data\n2. Loading state variant\n3. Empty state variant\n4. Error state variant\n5. Responsive behavior notes\n\nOutput: Complete, runnable page component.\n```\n\n### Review & Optimization Prompt\n\n```\nYou are a Frontend Code Reviewer specializing in design systems and accessibility.\n\nReview the implementation and check:\n\n1. Token Compliance:\n   - Any hardcoded colors, sizes, shadows, radius?\n   - All values from established scales?\n\n2. Typography:\n   - Clear hierarchy?\n   - Comfortable line-height (1.5+)?\n   - Appropriate font sizes for each level?\n\n3. Spacing & Layout:\n   - Consistent use of spacing scale?\n   - Adequate whitespace?\n   - No awkward gaps or cramped sections?\n\n4. Interactive States:\n   - Hover\u002Ffocus\u002Factive clearly distinct?\n   - Disabled state obviously different?\n   - Loading\u002Fempty\u002Ferror states implemented?\n\n5. Accessibility:\n   - WCAG AA contrast met?\n   - Keyboard reachable?\n   - ARIA labels complete?\n   - Focus indicators visible?\n   - Semantic HTML?\n\n6. Responsive Design:\n   - Mobile layout functional (375px)?\n   - Tablet optimized (768px)?\n   - Desktop enhanced (1024px+)?\n   - Touch targets ≥ 44px?\n\n7. Maintainability:\n   - DRY principles followed?\n   - Clear component boundaries?\n   - Consistent naming?\n   - Adequate comments?\n\n8. Creative Execution:\n   - Matches intended aesthetic?\n   - Avoids generic patterns?\n   - Unique and memorable?\n\nOutput:\n- Findings (sorted by severity: Critical, High, Medium, Low)\n- Specific fixes (code patches)\n- Improvement suggestions\n```\n\n---\n\n## Common Pitfalls & Solutions\n\n### ❌ Problem: Vague aesthetic descriptions\n### ✅ Solution: Force actionable specifications\n\n```\nDON'T: \"Make it modern and clean\"\nDO: \n- Whitespace: 1.5x standard padding (24px instead of 16px)\n- Typography: Display 56px, H1 40px, Body 16px, line-height 1.6\n- Colors: Neutral gray scale (50-900) + single accent color\n- Shadows: Maximum 2 shadow tokens (card + modal only)\n- Radius: Consistent 6px (buttons\u002Finputs) and 8px (cards)\n- Borders: 1px with --border-subtle (#e5e7eb in light mode)\n- Transitions: 150ms ease-out only\n```\n\n### ❌ Problem: Each component invents its own styles\n### ✅ Solution: Enforce token-only rule\n\n```\nRULE: Every visual property must map to a token.\n\nViolations:\n- ❌ bg-gray-100 (hardcoded Tailwind color)\n- ❌ p-[17px] (arbitrary padding not in scale)\n- ❌ rounded-[5px] (radius not in scale)\n- ❌ shadow-[0_2px_8px_rgba(0,0,0,0.1)] (arbitrary shadow)\n\nCorrect:\n- ✅ bg-surface (semantic token)\n- ✅ p-4 (maps to spacing scale: 16px)\n- ✅ rounded-md (maps to radius scale: 6px)\n- ✅ shadow-sm (maps to shadow token)\n```\n\n### ❌ Problem: Missing interactive states\n### ✅ Solution: State coverage checklist\n\n```\nFor EVERY interactive element, implement:\n\nVisual States:\n- [ ] Default (base appearance)\n- [ ] Hover (background shift, shadow, scale)\n- [ ] Active (pressed state, slightly darker)\n- [ ] Focus (visible ring, keyboard accessible)\n- [ ] Disabled (reduced opacity, cursor not-allowed)\n\nData States:\n- [ ] Loading (skeleton or spinner with same dimensions)\n- [ ] Empty (clear message + CTA)\n- [ ] Error (error message + retry option)\n\nTest each state in isolation and in combination.\n```\n\n### ❌ Problem: Generic AI aesthetics\n### ✅ Solution: Force creative differentiation\n\n```\nBANNED PATTERNS (overused in AI-generated UIs):\n- ❌ Inter\u002FRoboto\u002FSystem fonts as primary choice\n- ❌ Purple gradients on white backgrounds\n- ❌ Card-grid-card-grid layouts only\n- ❌ Generic blue (#3b82f6) as primary\n- ❌ Default Tailwind color palette with no customization\n\nREQUIRED CREATIVE CHOICES:\n- ✅ Select distinctive fonts (Google Fonts, Adobe Fonts, custom)\n- ✅ Build custom color palette (not Tailwind defaults)\n- ✅ Design unique layouts (asymmetry, overlap, grid-breaking)\n- ✅ Add personality: illustrations, icons, textures, patterns\n- ✅ Create signature elements (unique buttons, cards, headers)\n\nAsk yourself: \"Would someone recognize this as uniquely designed for this purpose?\"\n```\n\n### ❌ Problem: Accessibility as afterthought\n### ✅ Solution: Accessibility as constraint\n\n```\nBuild accessibility IN, not ON:\n\nColor Contrast:\n- Run contrast checker on all text\u002Fbackground pairs\n- Minimum WCAG AA: 4.5:1 (normal text), 3:1 (large text)\n- Use tools: WebAIM Contrast Checker, Chrome DevTools\n\nKeyboard Navigation:\n- Tab order follows visual flow\n- All interactive elements keyboard reachable\n- Focus indicator always visible (outline or ring)\n- Escape closes modals\u002Fdropdowns\n\nARIA & Semantics:\n- Use semantic HTML first (\u003Cbutton>, \u003Cnav>, \u003Cmain>)\n- Add ARIA only when semantic HTML insufficient\n- aria-label for icon-only buttons\n- aria-describedby for form errors\n- aria-expanded for disclosure widgets\n\nTest with:\n- Keyboard only (no mouse)\n- Screen reader (NVDA, JAWS, VoiceOver)\n- Reduced motion preference (prefers-reduced-motion)\n```\n\n---\n\n## Quick Start: Complete Example\n\n```\nYou are a Design Systems Engineer + Senior Frontend UI Developer.\n\n[STACK]\nReact + TypeScript + Tailwind CSS + shadcn\u002Fui\n\n[TASK]\nBuild a Team Dashboard for a project management app.\n\n[AESTHETIC]\nStyle: Minimal Premium SaaS\nUnique Element: Subtle animated background gradient\nAudience: Product managers and software teams\n\n[REQUIREMENTS]\n1. Components needed:\n   - Header with search and user menu\n   - Team members grid (name, role, avatar, status)\n   - Invite modal (name, email, role selector)\n   - Empty state (no team members yet)\n   - Loading skeleton\n\n2. Features:\n   - Search\u002Ffilter team members\n   - Click to view member details\n   - Invite button opens modal\n   - Sort by name\u002Frole\u002Fstatus\n\n3. States:\n   - Loading (skeleton grid)\n   - Empty (with invite CTA)\n   - Populated (member cards)\n   - Error (failed to load)\n\n[OUTPUT]\n1. Design Tokens (globals.css + tailwind.config.ts)\n2. Component implementations:\n   - TeamMemberCard\n   - InviteModal\n   - SearchBar\n   - UserMenu\n3. TeamDashboard page component\n4. All states (loading\u002Fempty\u002Ferror)\n5. Full TypeScript types\n6. Accessibility notes\n\nRules:\n- Mobile-first responsive\n- No hardcoded values (use tokens)\n- WCAG AA compliance\n- Include hover\u002Ffocus\u002Factive states\n- Add subtle micro-interactions\n```\n\n---\n\n## Examples & Templates\n\nThis skill includes production-ready examples in `examples\u002F`:\n\n### CSS Examples (`examples\u002Fcss\u002F`)\n\n**`tokens.css`** — Complete design token system\n- Semantic color tokens (light + dark modes)\n- Typography scale with fluid sizing\n- Spacing, radius, shadow, motion scales\n- CSS custom properties ready to use\n\n**`components.css`** — Component style library\n- Buttons (variants, sizes, states)\n- Inputs, textareas, selects\n- Cards, modals, tooltips\n- Navigation, headers, footers\n- Loading skeletons\n- All with state variants (hover\u002Ffocus\u002Factive\u002Fdisabled)\n\n**`utilities.css`** — Utility class library\n- Layout utilities (flex, grid, container)\n- Spacing utilities (margin, padding)\n- Typography utilities (sizes, weights, line-heights)\n- State utilities (hover, focus, group variants)\n\n### TypeScript Examples (`examples\u002Ftypescript\u002F`)\n\n**`design-tokens.ts`** — Type-safe token definitions\n- Token interfaces and types\n- Design system configuration\n- Theme type definitions\n- Token validators\n\n**`theme-provider.tsx`** — Theme management system\n- Theme context provider\n- Dark mode toggle\n- System preference detection\n- Theme persistence (localStorage)\n\n**`sample-components.tsx`** — Production component examples\n- Button component (all variants)\n- Input component (with validation)\n- Card component (with loading states)\n- Modal component (with focus management)\n- All with full TypeScript types and accessibility\n\n### Templates (`templates\u002F`)\n\n**`tailwind-config.js`** — Optimized Tailwind configuration\n- Custom color palette\n- Typography plugin setup\n- Spacing and sizing scales\n- Plugin configurations\n\n**`globals.css`** — Global styles template\n- CSS reset\u002Fnormalize\n- Token definitions\n- Base element styles\n- Utility classes\n\n---\n\n## Output Quality Standards\n\nEvery deliverable must meet:\n\n### Code Quality\n- ✅ Production-ready (copy-paste deployable)\n- ✅ TypeScript with full type safety\n- ✅ ESLint\u002FPrettier compliant\n- ✅ No hardcoded magic numbers\n- ✅ DRY (Don't Repeat Yourself)\n- ✅ Clear, descriptive naming\n- ✅ JSDoc comments for complex logic\n\n### Design Quality\n- ✅ Unique, memorable aesthetic\n- ✅ Consistent token usage\n- ✅ Cohesive visual language\n- ✅ Thoughtful micro-interactions\n- ✅ Polished details (shadows, transitions, spacing)\n\n### Accessibility Quality\n- ✅ WCAG AA minimum (AAA preferred)\n- ✅ Keyboard navigable\n- ✅ Screen reader friendly\n- ✅ Focus management\n- ✅ Semantic HTML\n- ✅ ARIA when necessary\n\n### Performance Quality\n- ✅ Optimized bundle size (tree-shaking)\n- ✅ Lazy loading for heavy components\n- ✅ CSS-only animations when possible\n- ✅ Minimal re-renders (React memo\u002FuseMemo)\n- ✅ Responsive images (srcset, sizes)\n\n---\n\n## Verification Checklist\n\nBefore delivering code, verify:\n\n**Tokens & System:**\n- [ ] All colors from semantic tokens (no hex\u002Frgb hardcoded)\n- [ ] All spacing from spacing scale (8px system)\n- [ ] All radius from radius scale (xs\u002Fsm\u002Fmd\u002Flg\u002Fxl\u002F2xl\u002Ffull)\n- [ ] Shadows minimal and justified\n- [ ] Typography hierarchy clear (Display\u002FH1\u002FH2\u002FH3\u002FBody\u002FSmall\u002FCaption)\n- [ ] Line-height comfortable (1.5+ for body text)\n\n**States & Interactions:**\n- [ ] Default state implemented\n- [ ] Hover state (visual feedback)\n- [ ] Active state (pressed appearance)\n- [ ] Focus state (keyboard ring visible)\n- [ ] Disabled state (reduced opacity, no pointer)\n- [ ] Loading state (skeleton or spinner)\n- [ ] Empty state (clear message + CTA)\n- [ ] Error state (message + recovery)\n\n**Accessibility:**\n- [ ] WCAG AA contrast (4.5:1 text, 3:1 large text)\n- [ ] Keyboard navigation complete\n- [ ] Focus indicators always visible\n- [ ] Semantic HTML used\n- [ ] ARIA labels where needed\n- [ ] Form labels associated\n- [ ] Alt text on images\n\n**Responsive Design:**\n- [ ] Mobile layout (375px+) functional\n- [ ] Tablet layout (768px+) optimized\n- [ ] Desktop layout (1024px+) enhanced\n- [ ] Touch targets ≥ 44px\n- [ ] Text readable on all sizes\n- [ ] No horizontal scroll\n\n**Creative Execution:**\n- [ ] Unique aesthetic (not generic)\n- [ ] Matches stated design direction\n- [ ] Memorable visual element\n- [ ] Cohesive design language\n- [ ] Polished details\n\n**Code Quality:**\n- [ ] TypeScript types complete\n- [ ] No linter errors\n- [ ] DRY principles followed\n- [ ] Clear component boundaries\n- [ ] Consistent naming conventions\n- [ ] Adequate comments\n- [ ] Production-ready (can deploy as-is)\n\n---\n\n## Advanced Techniques\n\n### 1. Fluid Typography\n\n```css\n\u002F* Responsive type scale using clamp() *\u002F\n:root {\n  --font-size-sm: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);\n  --font-size-base: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);\n  --font-size-lg: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);\n  --font-size-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);\n  --font-size-2xl: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);\n  --font-size-3xl: clamp(1.875rem, 1.5rem + 1vw, 2.5rem);\n  --font-size-4xl: clamp(2.25rem, 1.8rem + 1.5vw, 3.5rem);\n}\n```\n\n### 2. Advanced Color Systems\n\n```css\n\u002F* Color with opacity variants using oklch *\u002F\n:root {\n  --primary-base: oklch(60% 0.15 250);\n  --primary-subtle: oklch(95% 0.02 250);\n  --primary-muted: oklch(85% 0.05 250);\n  --primary-emphasis: oklch(50% 0.18 250);\n  --primary-foreground: oklch(98% 0.01 250);\n}\n\n\u002F* Dark mode: adjust lightness only *\u002F\n[data-theme=\"dark\"] {\n  --primary-base: oklch(70% 0.15 250);\n  --primary-subtle: oklch(20% 0.02 250);\n  --primary-muted: oklch(30% 0.05 250);\n  --primary-emphasis: oklch(80% 0.18 250);\n  --primary-foreground: oklch(10% 0.01 250);\n}\n```\n\n### 3. Skeleton Loading Patterns\n\n```tsx\n\u002F\u002F Animated skeleton with shimmer effect\nconst Skeleton = ({ className }: { className?: string }) => (\n  \u003Cdiv\n    className={cn(\n      \"animate-pulse rounded-md bg-surface-subtle\",\n      \"relative overflow-hidden\",\n      \"before:absolute before:inset-0\",\n      \"before:-translate-x-full before:animate-shimmer\",\n      \"before:bg-gradient-to-r before:from-transparent before:via-white\u002F10 before:to-transparent\",\n      className\n    )}\n  \u002F>\n);\n\n\u002F\u002F Usage in components\n\u003CCard>\n  \u003CSkeleton className=\"h-4 w-3\u002F4 mb-2\" \u002F>\n  \u003CSkeleton className=\"h-4 w-1\u002F2 mb-4\" \u002F>\n  \u003CSkeleton className=\"h-32 w-full\" \u002F>\n\u003C\u002FCard>\n```\n\n### 4. Advanced Motion\n\n```css\n\u002F* Page transitions *\u002F\n@keyframes fade-in {\n  from {\n    opacity: 0;\n    transform: translateY(8px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n\n\u002F* Staggered animations *\u002F\n.stagger-item {\n  animation: fade-in 0.3s ease-out backwards;\n}\n.stagger-item:nth-child(1) { animation-delay: 0ms; }\n.stagger-item:nth-child(2) { animation-delay: 50ms; }\n.stagger-item:nth-child(3) { animation-delay: 100ms; }\n.stagger-item:nth-child(4) { animation-delay: 150ms; }\n\n\u002F* Respect reduced motion *\u002F\n@media (prefers-reduced-motion: reduce) {\n  *,\n  *::before,\n  *::after {\n    animation-duration: 0.01ms !important;\n    animation-iteration-count: 1 !important;\n    transition-duration: 0.01ms !important;\n  }\n}\n```\n\n---\n\n## Tips for Excellence\n\n1. **Always start with tokens** — Never skip to components\n2. **Think mobile-first** — Design for 375px, enhance upward\n3. **Validate states early** — Test each interactive state in isolation\n4. **Be bold with aesthetics** — Avoid generic patterns\n5. **Accessibility is non-negotiable** — Build it in from the start\n6. **Use real content** — Test with actual text, images, data\n7. **Review your own work** — Self-audit before delivering\n8. **Document decisions** — Explain complex styling choices\n9. **Keep it maintainable** — Future developers will thank you\n10. **Ship production-ready code** — No \"TODO\" or \"FIXME\" in deliverables\n\n---\n\n## References & Resources\n\n- **Tailwind CSS**: https:\u002F\u002Ftailwindcss.com\u002Fdocs\n- **shadcn\u002Fui**: https:\u002F\u002Fui.shadcn.com\n- **WCAG Guidelines**: https:\u002F\u002Fwww.w3.org\u002FWAI\u002FWCAG21\u002Fquickref\u002F\n- **Color Contrast Checker**: https:\u002F\u002Fwebaim.org\u002Fresources\u002Fcontrastchecker\u002F\n- **Type Scale**: https:\u002F\u002Ftypescale.com\n- **Modular Scale**: https:\u002F\u002Fwww.modularscale.com\n- **CSS Custom Properties**: https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FCSS\u002FUsing_CSS_custom_properties\n\n---\n\n**Version**: 2.0.0  \n**Last Updated**: December 2024  \n**License**: MIT  \n**Maintained by**: z-ai platform team\n","# Frontend Design Skill — Systematic & Creative Web Development\n\n**Skill Location**: `{project_path}\u002Fskills\u002Ffrontend-design\u002F`\n\nThis skill transforms vague UI style requirements into executable, production-grade frontend code through a systematic design token approach while maintaining creative excellence. It ensures visual consistency, accessibility compliance, and maintainability across all deliverables.\n\n---\n\n## When to Use This Skill (Trigger Patterns)\n\n**MUST apply this skill when:**\n\n- User requests any website, web application, or web component development\n- User mentions design styles: \"modern\", \"premium\", \"minimalist\", \"dark mode\", \"SaaS-style\"\n- Building dashboards, landing pages, admin panels, or any web UI\n- User asks to \"make it look better\" or \"improve the design\"\n- Creating component libraries or design systems\n- User specifies frameworks: React, Vue, Svelte, Next.js, Nuxt, etc.\n- Converting designs\u002Fmockups to code\n- User mentions: Tailwind CSS, shadcn\u002Fui, Material-UI, Chakra UI, etc.\n\n**Trigger phrases:**\n- \"build a website\u002Fapp\u002Fcomponent\"\n- \"create a dashboard\u002Flanding page\"\n- \"design a UI for...\"\n- \"make it modern\u002Fclean\u002Fpremium\"\n- \"style this with...\"\n- \"convert this design to code\"\n\n**DO NOT use for:**\n- Backend API development\n- Pure logic\u002Falgorithm implementation\n- Non-visual code tasks\n\n---\n\n## Skill Architecture\n\nThis skill provides:\n\n1. **SKILL.md** (this file): Core methodology and guidelines\n2. **examples\u002Fcss\u002F**: Production-ready CSS examples\n   - `tokens.css` - Design token system\n   - `components.css` - Reusable component styles\n   - `utilities.css` - Utility classes\n3. **examples\u002Ftypescript\u002F**: TypeScript implementation examples\n   - `design-tokens.ts` - Type-safe token definitions\n   - `theme-provider.tsx` - Theme management\n   - `sample-components.tsx` - Component examples\n4. **templates\u002F**: Quick-start templates\n   - `tailwind-config.js` - Tailwind configuration\n   - `globals.css` - Global styles template\n\n---\n\n## Core Principles (Non-Negotiable)\n\n### 1. **Dual-Mode Thinking: System + Creativity**\n\n**Systematic Foundation:**\n- Design tokens first, UI components second\n- No arbitrary hardcoded values (colors, spacing, shadows, radius)\n- Consistent scales for typography, spacing, radius, elevation\n- Complete state coverage (default\u002Fhover\u002Factive\u002Ffocus\u002Fdisabled + loading\u002Fempty\u002Ferror)\n- Accessibility as a constraint, not an afterthought\n\n**Creative Execution:**\n- AVOID generic \"AI slop\" aesthetics (Inter\u002FRoboto fonts, purple gradients, cookie-cutter layouts)\n- Choose BOLD aesthetic direction: brutalist, retro-futuristic, luxury, playful, editorial, etc.\n- Make unexpected choices in typography, color, layout, and motion\n- Each design should feel unique and intentionally crafted for its context\n\n### 2. **Tokens-First Methodology**\n\n```\nDesign Tokens → Component Styles → Page Layouts → Interactive States\n```\n\n**Never skip token definition.** All visual properties must derive from the token system.\n\n### 3. **Tech Stack Flexibility**\n\n**Default stack (if unspecified):**\n- Framework: React + TypeScript\n- Styling: Tailwind CSS\n- Components: shadcn\u002Fui\n- Theme: CSS custom properties (light\u002Fdark modes)\n\n**Supported alternatives:**\n- Frameworks: Vue, Svelte, Angular, vanilla HTML\u002FCSS\n- Styling: CSS Modules, SCSS, Styled Components, Emotion\n- Libraries: MUI, Ant Design, Chakra UI, Headless UI\n\n### 4. **Tailwind CSS Best Practices**\n\n**⚠️ CRITICAL: Never use Tailwind via CDN**\n\n**MUST use build-time integration:**\n```bash\nnpm install -D tailwindcss postcss autoprefixer\nnpx tailwindcss init -p\n```\n\n**Why build-time is mandatory:**\n- ✅ Enables tree-shaking (2-15KB vs 400KB+ bundle)\n- ✅ Full design token customization\n- ✅ IDE autocomplete and type safety\n- ✅ Integrates with bundlers (Vite, webpack, Next.js)\n\n**CDN only acceptable for:**\n- Quick prototypes\u002Fdemos\n- Internal testing\n\n---\n\n## Implementation Workflow\n\n### Phase 1: Design Analysis & Token Definition\n\n**Step 1: Understand Context**\n```\n- Purpose: What problem does this solve? Who uses it?\n- Aesthetic Direction: Choose ONE bold direction\n- Technical Constraints: Framework, performance, accessibility needs\n- Differentiation: What makes this memorable?\n```\n\n**Step 2: Generate Design Tokens**\n\nCreate comprehensive token system (see `examples\u002Fcss\u002Ftokens.css` and `examples\u002Ftypescript\u002Fdesign-tokens.ts`):\n\n1. **Semantic Color Slots** (light + dark modes):\n   ```\n   --background, --surface, --surface-subtle\n   --text, --text-secondary, --text-muted\n   --border, --border-subtle\n   --primary, --primary-hover, --primary-active, --primary-foreground\n   --secondary, --secondary-hover, --secondary-foreground\n   --accent, --success, --warning, --danger\n   ```\n\n2. **Typography Scale**:\n   ```\n   Display: 3.5rem\u002F4rem (56px\u002F64px), weight 700-800\n   H1: 2.5rem\u002F3rem (40px\u002F48px), weight 700\n   H2: 2rem\u002F2.5rem (32px\u002F40px), weight 600\n   H3: 1.5rem\u002F2rem (24px\u002F32px), weight 600\n   Body: 1rem\u002F1.5rem (16px\u002F24px), weight 400\n   Small: 0.875rem\u002F1.25rem (14px\u002F20px), weight 400\n   Caption: 0.75rem\u002F1rem (12px\u002F16px), weight 400\n   ```\n\n3. **Spacing Scale** (8px system):\n   ```\n   0.5 → 4px, 1 → 8px, 2 → 16px, 3 → 24px, 4 → 32px\n   5 → 40px, 6 → 48px, 8 → 64px, 12 → 96px, 16 → 128px\n   ```\n\n4. **Radius Scale**:\n   ```\n   xs: 2px (badges, tags)\n   sm: 4px (buttons, inputs)\n   md: 6px (cards, modals)\n   lg: 8px (large cards, panels)\n   xl: 12px (hero sections)\n   2xl: 16px (special elements)\n   full: 9999px (pills, avatars)\n   ```\n\n5. **Shadow Scale**:\n   ```\n   sm: Subtle lift (buttons, inputs)\n   md: Card elevation\n   lg: Modals, dropdowns\n   xl: Large modals, drawers\n   ```\n\n6. **Motion Tokens**:\n   ```\n   Duration: 150ms (micro), 220ms (default), 300ms (complex)\n   Easing: ease-out (enter), ease-in (exit), ease-in-out (transition)\n   ```\n\n### Phase 2: Component Development\n\n**Step 3: Build Reusable Components**\n\nFollow this structure (see `examples\u002Ftypescript\u002Fsample-components.tsx`):\n\n```typescript\ninterface ComponentProps {\n  variant?: 'primary' | 'secondary' | 'outline' | 'ghost';\n  size?: 'sm' | 'md' | 'lg';\n  state?: 'default' | 'hover' | 'active' | 'disabled' | 'loading';\n}\n```\n\n**Required component states:**\n- Default, Hover, Active, Focus, Disabled\n- Loading (skeleton\u002Fspinner)\n- Empty state (clear messaging)\n- Error state (recovery instructions)\n\n**Required component features:**\n- Accessible (ARIA labels, keyboard navigation)\n- Responsive (mobile-first)\n- Theme-aware (light\u002Fdark mode)\n- Token-based styling (no hardcoded values)\n\n### Phase 3: Page Assembly\n\n**Step 4: Compose Pages from Components**\n\n```\n- Use established tokens and components only\n- Mobile-first responsive design\n- Loading states for async content\n- Empty states with clear CTAs\n- Error states with recovery options\n```\n\n### Phase 4: Quality Assurance\n\n**Step 5: Self-Review Checklist**\n\n- [ ] All colors from semantic tokens (no random hex\u002Frgb)\n- [ ] All spacing from spacing scale\n- [ ] All radius from radius scale\n- [ ] Shadows justified by hierarchy\n- [ ] Clear type hierarchy with comfortable line-height (1.5+)\n- [ ] All interactive states implemented and tested\n- [ ] Accessibility: WCAG AA contrast, keyboard navigation, ARIA, focus indicators\n- [ ] Responsive: works on mobile (375px), tablet (768px), desktop (1024px+)\n- [ ] Loading\u002Fempty\u002Ferror states included\n- [ ] Code is maintainable: DRY, clear naming, documented\n\n---\n\n## Design Direction Templates\n\n### 1. Minimal Premium SaaS (Most Universal)\n\n```\nVisual Style: Minimal Premium SaaS\n- Generous whitespace (1.5-2x standard padding)\n- Near-white background with subtle surface contrast\n- Light borders (1px, low-opacity)\n- Very subtle elevation (avoid heavy shadows)\n- Unified control height: 44-48px\n- Medium-large radius: 6-8px\n- Gentle hover states (background shift only)\n- Clear but not harsh focus rings\n- Low-contrast dividers\n- Priority: Readability and consistency\n```\n\n**Best for:** Enterprise apps, B2B SaaS, productivity tools\n\n### 2. Bold Editorial\n\n```\nVisual Style: Bold Editorial\n- Strong typographic hierarchy (large display fonts)\n- High contrast (black\u002Fwhite or dark\u002Flight extremes)\n- Generous use of negative space\n- Asymmetric layouts with intentional imbalance\n- Grid-breaking elements\n- Minimal color palette (1-2 accent colors max)\n- Sharp, geometric shapes\n- Dramatic scale differences\n- Priority: Visual impact and memorability\n```\n\n**Best for:** Marketing sites, portfolios, content-heavy sites\n\n### 3. Soft & Organic\n\n```\nVisual Style: Soft & Organic\n- Rounded corners everywhere (12-24px radius)\n- Soft shadows and subtle gradients\n- Pastel or muted color palette\n- Gentle animations (ease-in-out, 300-400ms)\n- Curved elements and flowing layouts\n- Generous padding (1.5-2x standard)\n- Soft, blurred backgrounds\n- Priority: Approachability and comfort\n```\n\n**Best for:** Consumer apps, wellness, lifestyle brands\n\n### 4. Dark Neon (Restrained)\n\n```\nVisual Style: Dark Neon\n- Dark background (#0a0a0a to #1a1a1a, NOT pure black)\n- High contrast text (#ffffff or #fafafa)\n- Accent colors ONLY for CTAs and key states\n- Subtle glow on hover (box-shadow with accent color)\n- Minimal borders (use subtle outlines)\n- Optional: Subtle noise texture\n- Restrained use of neon (less is more)\n- Priority: Focus and sophisticated edge\n```\n\n**Best for:** Developer tools, gaming, tech products\n\n### 5. Playful & Colorful\n\n```\nVisual Style: Playful & Colorful\n- Vibrant color palette (3-5 colors)\n- Rounded corners (8-16px)\n- Micro-animations on hover\u002Finteraction\n- Generous padding and breathing room\n- Friendly, geometric illustrations\n- Smooth transitions (200-250ms)\n- High energy but balanced\n- Priority: Delight and engagement\n```\n\n**Best for:** Consumer apps, children's products, creative tools\n\n---\n\n## Standard Prompting Workflow\n\n### Master Prompt Template\n\n```\nYou are a Design Systems Engineer + Senior Frontend UI Developer with expertise in creative design execution.\n\n[TECH STACK]\n- Framework: {{FRAMEWORK = React + TypeScript}}\n- Styling: {{STYLING = Tailwind CSS}}\n- Components: {{UI_LIB = shadcn\u002Fui}}\n- Theme: CSS variables (light\u002Fdark modes)\n\n[DESIGN SYSTEM RULES - MANDATORY]\n1. Layout: 8px spacing system; mobile-first responsive\n2. Typography: Clear hierarchy (Display\u002FH1\u002FH2\u002FH3\u002FBody\u002FSmall\u002FCaption); line-height 1.5+\n3. Colors: Semantic tokens ONLY (no hardcoded values)\n4. Shape: Tiered radius system; tap targets ≥ 44px\n5. Elevation: Minimal shadows; borders for hierarchy\n6. Motion: Subtle transitions (150-220ms); restrained animations\n7. Accessibility: WCAG AA; keyboard navigation; ARIA; focus indicators\n\n[AESTHETIC DIRECTION]\nStyle: {{STYLE = Minimal Premium SaaS}}\nKey Differentiator: {{UNIQUE_FEATURE}}\nTarget Audience: {{AUDIENCE}}\n\n[INTERACTION STATES - REQUIRED]\n✓ Default, Hover, Active, Focus, Disabled\n✓ Loading (skeleton), Empty (with messaging), Error (with recovery)\n\n[OUTPUT REQUIREMENTS]\n1. Design Tokens (CSS variables + TypeScript types)\n2. Component implementations (copy-paste ready)\n3. Page layouts with all states\n4. NO hardcoded values; reference tokens only\n5. Minimal but clear code comments\n```\n\n### Token Generation Prompt\n\n```\nGenerate a complete Design Token system including:\n\n1. Semantic color slots (CSS custom properties):\n   - Light mode + Dark mode variants\n   - Background, surface, text, border, primary, secondary, accent, semantic colors\n   - Interactive states for each (hover, active)\n\n2. Typography scale:\n   - Display, H1-H6, Body, Small, Caption, Monospace\n   - Include: font-size, line-height, font-weight, letter-spacing\n\n3. Spacing scale (8px base):\n   - 0.5, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24 (in rem)\n\n4. Radius scale:\n   - xs (2px), sm (4px), md (6px), lg (8px), xl (12px), 2xl (16px), full\n\n5. Shadow scale:\n   - sm, md, lg, xl (with color and blur values)\n   - Usage guidelines for each tier\n\n6. Motion tokens:\n   - Duration: fast (150ms), base (220ms), slow (300ms)\n   - Easing: ease-out, ease-in, ease-in-out\n\n7. Component density:\n   - Button heights: sm (36px), md (44px), lg (48px)\n   - Input heights: sm (36px), md (40px)\n   - Padding scales\n\nOutput format:\n- CSS custom properties (globals.css)\n- Tailwind config integration\n- TypeScript type definitions\n- Usage examples for each token category\n\nDO NOT write component code yet.\n```\n\n### Component Implementation Prompt\n\n```\nUsing the established Design Tokens, implement: \u003C{{COMPONENT_NAME}} \u002F>\n\nRequirements:\n- Props: variant, size, state, className (for composition)\n- States: default, hover, focus, active, disabled, loading, error\n- Accessibility: keyboard navigation, ARIA labels, focus management\n- Responsive: mobile-first, touch-friendly (44px+ tap targets)\n- Styling: Use tokens ONLY (no hardcoded values)\n- TypeScript: Full type safety with exported interfaces\n\nInclude:\n1. Component implementation\n2. Usage examples (3-5 variants)\n3. Loading state example\n4. Error state example\n5. Accessibility notes\n\nOutput: Production-ready, copy-paste code with JSDoc comments.\n```\n\n### Page Development Prompt\n\n```\nBuild page: {{PAGE_NAME}}\n\nUsing:\n- Established Design Tokens\n- Implemented Components\n- {{STYLE}} aesthetic direction\n\nRequirements:\n- Responsive layout (mobile\u002Ftablet\u002Fdesktop)\n- All interaction states (hover\u002Ffocus\u002Factive\u002Fdisabled)\n- Loading skeleton for async content\n- Empty state with clear CTA\n- Error state with recovery options\n- Accessible (keyboard nav, ARIA, WCAG AA)\n- No hardcoded styles (components + utility classes only)\n\nInclude:\n1. Page component with mock data\n2. Loading state variant\n3. Empty state variant\n4. Error state variant\n5. Responsive behavior notes\n\nOutput: Complete, runnable page component.\n```\n\n### Review & Optimization Prompt\n\n```\nYou are a Frontend Code Reviewer specializing in design systems and accessibility.\n\nReview the implementation and check:\n\n1. Token Compliance:\n   - Any hardcoded colors, sizes, shadows, radius?\n   - All values from established scales?\n\n2. Typography:\n   - Clear hierarchy?\n   - Comfortable line-height (1.5+)?\n   - Appropriate font sizes for each level?\n\n3. Spacing & Layout:\n   - Consistent use of spacing scale?\n   - Adequate whitespace?\n   - No awkward gaps or cramped sections?\n\n4. Interactive States:\n   - Hover\u002Ffocus\u002Factive clearly distinct?\n   - Disabled state obviously different?\n   - Loading\u002Fempty\u002Ferror states implemented?\n\n5. Accessibility:\n   - WCAG AA contrast met?\n   - Keyboard reachable?\n   - ARIA labels complete?\n   - Focus indicators visible?\n   - Semantic HTML?\n\n6. Responsive Design:\n   - Mobile layout functional (375px)?\n   - Tablet optimized (768px)?\n   - Desktop enhanced (1024px+)?\n   - Touch targets ≥ 44px?\n\n7. Maintainability:\n   - DRY principles followed?\n   - Clear component boundaries?\n   - Consistent naming?\n   - Adequate comments?\n\n8. Creative Execution:\n   - Matches intended aesthetic?\n   - Avoids generic patterns?\n   - Unique and memorable?\n\nOutput:\n- Findings (sorted by severity: Critical, High, Medium, Low)\n- Specific fixes (code patches)\n- Improvement suggestions\n```\n\n---\n\n## Common Pitfalls & Solutions\n\n### ❌ Problem: Vague aesthetic descriptions\n### ✅ Solution: Force actionable specifications\n\n```\nDON'T: \"Make it modern and clean\"\nDO: \n- Whitespace: 1.5x standard padding (24px instead of 16px)\n- Typography: Display 56px, H1 40px, Body 16px, line-height 1.6\n- Colors: Neutral gray scale (50-900) + single accent color\n- Shadows: Maximum 2 shadow tokens (card + modal only)\n- Radius: Consistent 6px (buttons\u002Finputs) and 8px (cards)\n- Borders: 1px with --border-subtle (#e5e7eb in light mode)\n- Transitions: 150ms ease-out only\n```\n\n### ❌ Problem: Each component invents its own styles\n### ✅ Solution: Enforce token-only rule\n\n```\nRULE: Every visual property must map to a token.\n\nViolations:\n- ❌ bg-gray-100 (hardcoded Tailwind color)\n- ❌ p-[17px] (arbitrary padding not in scale)\n- ❌ rounded-[5px] (radius not in scale)\n- ❌ shadow-[0_2px_8px_rgba(0,0,0,0.1)] (arbitrary shadow)\n\nCorrect:\n- ✅ bg-surface (semantic token)\n- ✅ p-4 (maps to spacing scale: 16px)\n- ✅ rounded-md (maps to radius scale: 6px)\n- ✅ shadow-sm (maps to shadow token)\n```\n\n### ❌ Problem: Missing interactive states\n### ✅ Solution: State coverage checklist\n\n```\nFor EVERY interactive element, implement:\n\nVisual States:\n- [ ] Default (base appearance)\n- [ ] Hover (background shift, shadow, scale)\n- [ ] Active (pressed state, slightly darker)\n- [ ] Focus (visible ring, keyboard accessible)\n- [ ] Disabled (reduced opacity, cursor not-allowed)\n\nData States:\n- [ ] Loading (skeleton or spinner with same dimensions)\n- [ ] Empty (clear message + CTA)\n- [ ] Error (error message + retry option)\n\nTest each state in isolation and in combination.\n```\n\n### ❌ Problem: Generic AI aesthetics\n### ✅ Solution: Force creative differentiation\n\n```\nBANNED PATTERNS (overused in AI-generated UIs):\n- ❌ Inter\u002FRoboto\u002FSystem fonts as primary choice\n- ❌ Purple gradients on white backgrounds\n- ❌ Card-grid-card-grid layouts only\n- ❌ Generic blue (#3b82f6) as primary\n- ❌ Default Tailwind color palette with no customization\n\nREQUIRED CREATIVE CHOICES:\n- ✅ Select distinctive fonts (Google Fonts, Adobe Fonts, custom)\n- ✅ Build custom color palette (not Tailwind defaults)\n- ✅ Design unique layouts (asymmetry, overlap, grid-breaking)\n- ✅ Add personality: illustrations, icons, textures, patterns\n- ✅ Create signature elements (unique buttons, cards, headers)\n\nAsk yourself: \"Would someone recognize this as uniquely designed for this purpose?\"\n```\n\n### ❌ Problem: Accessibility as afterthought\n### ✅ Solution: Accessibility as constraint\n\n```\nBuild accessibility IN, not ON:\n\nColor Contrast:\n- Run contrast checker on all text\u002Fbackground pairs\n- Minimum WCAG AA: 4.5:1 (normal text), 3:1 (large text)\n- Use tools: WebAIM Contrast Checker, Chrome DevTools\n\nKeyboard Navigation:\n- Tab order follows visual flow\n- All interactive elements keyboard reachable\n- Focus indicator always visible (outline or ring)\n- Escape closes modals\u002Fdropdowns\n\nARIA & Semantics:\n- Use semantic HTML first (\u003Cbutton>, \u003Cnav>, \u003Cmain>)\n- Add ARIA only when semantic HTML insufficient\n- aria-label for icon-only buttons\n- aria-describedby for form errors\n- aria-expanded for disclosure widgets\n\nTest with:\n- Keyboard only (no mouse)\n- Screen reader (NVDA, JAWS, VoiceOver)\n- Reduced motion preference (prefers-reduced-motion)\n```\n\n---\n\n## Quick Start: Complete Example\n\n```\nYou are a Design Systems Engineer + Senior Frontend UI Developer.\n\n[STACK]\nReact + TypeScript + Tailwind CSS + shadcn\u002Fui\n\n[TASK]\nBuild a Team Dashboard for a project management app.\n\n[AESTHETIC]\nStyle: Minimal Premium SaaS\nUnique Element: Subtle animated background gradient\nAudience: Product managers and software teams\n\n[REQUIREMENTS]\n1. Components needed:\n   - Header with search and user menu\n   - Team members grid (name, role, avatar, status)\n   - Invite modal (name, email, role selector)\n   - Empty state (no team members yet)\n   - Loading skeleton\n\n2. Features:\n   - Search\u002Ffilter team members\n   - Click to view member details\n   - Invite button opens modal\n   - Sort by name\u002Frole\u002Fstatus\n\n3. States:\n   - Loading (skeleton grid)\n   - Empty (with invite CTA)\n   - Populated (member cards)\n   - Error (failed to load)\n\n[OUTPUT]\n1. Design Tokens (globals.css + tailwind.config.ts)\n2. Component implementations:\n   - TeamMemberCard\n   - InviteModal\n   - SearchBar\n   - UserMenu\n3. TeamDashboard page component\n4. All states (loading\u002Fempty\u002Ferror)\n5. Full TypeScript types\n6. Accessibility notes\n\nRules:\n- Mobile-first responsive\n- No hardcoded values (use tokens)\n- WCAG AA compliance\n- Include hover\u002Ffocus\u002Factive states\n- Add subtle micro-interactions\n```\n\n---\n\n## Examples & Templates\n\nThis skill includes production-ready examples in `examples\u002F`:\n\n### CSS Examples (`examples\u002Fcss\u002F`)\n\n**`tokens.css`** — Complete design token system\n- Semantic color tokens (light + dark modes)\n- Typography scale with fluid sizing\n- Spacing, radius, shadow, motion scales\n- CSS custom properties ready to use\n\n**`components.css`** — Component style library\n- Buttons (variants, sizes, states)\n- Inputs, textareas, selects\n- Cards, modals, tooltips\n- Navigation, headers, footers\n- Loading skeletons\n- All with state variants (hover\u002Ffocus\u002Factive\u002Fdisabled)\n\n**`utilities.css`** — Utility class library\n- Layout utilities (flex, grid, container)\n- Spacing utilities (margin, padding)\n- Typography utilities (sizes, weights, line-heights)\n- State utilities (hover, focus, group variants)\n\n### TypeScript Examples (`examples\u002Ftypescript\u002F`)\n\n**`design-tokens.ts`** — Type-safe token definitions\n- Token interfaces and types\n- Design system configuration\n- Theme type definitions\n- Token validators\n\n**`theme-provider.tsx`** — Theme management system\n- Theme context provider\n- Dark mode toggle\n- System preference detection\n- Theme persistence (localStorage)\n\n**`sample-components.tsx`** — Production component examples\n- Button component (all variants)\n- Input component (with validation)\n- Card component (with loading states)\n- Modal component (with focus management)\n- All with full TypeScript types and accessibility\n\n### Templates (`templates\u002F`)\n\n**`tailwind-config.js`** — Optimized Tailwind configuration\n- Custom color palette\n- Typography plugin setup\n- Spacing and sizing scales\n- Plugin configurations\n\n**`globals.css`** — Global styles template\n- CSS reset\u002Fnormalize\n- Token definitions\n- Base element styles\n- Utility classes\n\n---\n\n## Output Quality Standards\n\nEvery deliverable must meet:\n\n### Code Quality\n- ✅ Production-ready (copy-paste deployable)\n- ✅ TypeScript with full type safety\n- ✅ ESLint\u002FPrettier compliant\n- ✅ No hardcoded magic numbers\n- ✅ DRY (Don't Repeat Yourself)\n- ✅ Clear, descriptive naming\n- ✅ JSDoc comments for complex logic\n\n### Design Quality\n- ✅ Unique, memorable aesthetic\n- ✅ Consistent token usage\n- ✅ Cohesive visual language\n- ✅ Thoughtful micro-interactions\n- ✅ Polished details (shadows, transitions, spacing)\n\n### Accessibility Quality\n- ✅ WCAG AA minimum (AAA preferred)\n- ✅ Keyboard navigable\n- ✅ Screen reader friendly\n- ✅ Focus management\n- ✅ Semantic HTML\n- ✅ ARIA when necessary\n\n### Performance Quality\n- ✅ Optimized bundle size (tree-shaking)\n- ✅ Lazy loading for heavy components\n- ✅ CSS-only animations when possible\n- ✅ Minimal re-renders (React memo\u002FuseMemo)\n- ✅ Responsive images (srcset, sizes)\n\n---\n\n## Verification Checklist\n\nBefore delivering code, verify:\n\n**Tokens & System:**\n- [ ] All colors from semantic tokens (no hex\u002Frgb hardcoded)\n- [ ] All spacing from spacing scale (8px system)\n- [ ] All radius from radius scale (xs\u002Fsm\u002Fmd\u002Flg\u002Fxl\u002F2xl\u002Ffull)\n- [ ] Shadows minimal and justified\n- [ ] Typography hierarchy clear (Display\u002FH1\u002FH2\u002FH3\u002FBody\u002FSmall\u002FCaption)\n- [ ] Line-height comfortable (1.5+ for body text)\n\n**States & Interactions:**\n- [ ] Default state implemented\n- [ ] Hover state (visual feedback)\n- [ ] Active state (pressed appearance)\n- [ ] Focus state (keyboard ring visible)\n- [ ] Disabled state (reduced opacity, no pointer)\n- [ ] Loading state (skeleton or spinner)\n- [ ] Empty state (clear message + CTA)\n- [ ] Error state (message + recovery)\n\n**Accessibility:**\n- [ ] WCAG AA contrast (4.5:1 text, 3:1 large text)\n- [ ] Keyboard navigation complete\n- [ ] Focus indicators always visible\n- [ ] Semantic HTML used\n- [ ] ARIA labels where needed\n- [ ] Form labels associated\n- [ ] Alt text on images\n\n**Responsive Design:**\n- [ ] Mobile layout (375px+) functional\n- [ ] Tablet layout (768px+) optimized\n- [ ] Desktop layout (1024px+) enhanced\n- [ ] Touch targets ≥ 44px\n- [ ] Text readable on all sizes\n- [ ] No horizontal scroll\n\n**Creative Execution:**\n- [ ] Unique aesthetic (not generic)\n- [ ] Matches stated design direction\n- [ ] Memorable visual element\n- [ ] Cohesive design language\n- [ ] Polished details\n\n**Code Quality:**\n- [ ] TypeScript types complete\n- [ ] No linter errors\n- [ ] DRY principles followed\n- [ ] Clear component boundaries\n- [ ] Consistent naming conventions\n- [ ] Adequate comments\n- [ ] Production-ready (can deploy as-is)\n\n---\n\n## Advanced Techniques\n\n### 1. Fluid Typography\n\n```css\n\u002F* Responsive type scale using clamp() *\u002F\n:root {\n  --font-size-sm: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);\n  --font-size-base: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);\n  --font-size-lg: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);\n  --font-size-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);\n  --font-size-2xl: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);\n  --font-size-3xl: clamp(1.875rem, 1.5rem + 1vw, 2.5rem);\n  --font-size-4xl: clamp(2.25rem, 1.8rem + 1.5vw, 3.5rem);\n}\n```\n\n### 2. Advanced Color Systems\n\n```css\n\u002F* Color with opacity variants using oklch *\u002F\n:root {\n  --primary-base: oklch(60% 0.15 250);\n  --primary-subtle: oklch(95% 0.02 250);\n  --primary-muted: oklch(85% 0.05 250);\n  --primary-emphasis: oklch(50% 0.18 250);\n  --primary-foreground: oklch(98% 0.01 250);\n}\n\n\u002F* Dark mode: adjust lightness only *\u002F\n[data-theme=\"dark\"] {\n  --primary-base: oklch(70% 0.15 250);\n  --primary-subtle: oklch(20% 0.02 250);\n  --primary-muted: oklch(30% 0.05 250);\n  --primary-emphasis: oklch(80% 0.18 250);\n  --primary-foreground: oklch(10% 0.01 250);\n}\n```\n\n### 3. Skeleton Loading Patterns\n\n```tsx\n\u002F\u002F Animated skeleton with shimmer effect\nconst Skeleton = ({ className }: { className?: string }) => (\n  \u003Cdiv\n    className={cn(\n      \"animate-pulse rounded-md bg-surface-subtle\",\n      \"relative overflow-hidden\",\n      \"before:absolute before:inset-0\",\n      \"before:-translate-x-full before:animate-shimmer\",\n      \"before:bg-gradient-to-r before:from-transparent before:via-white\u002F10 before:to-transparent\",\n      className\n    )}\n  \u002F>\n);\n\n\u002F\u002F Usage in components\n\u003CCard>\n  \u003CSkeleton className=\"h-4 w-3\u002F4 mb-2\" \u002F>\n  \u003CSkeleton className=\"h-4 w-1\u002F2 mb-4\" \u002F>\n  \u003CSkeleton className=\"h-32 w-full\" \u002F>\n\u003C\u002FCard>\n```\n\n### 4. Advanced Motion\n\n```css\n\u002F* Page transitions *\u002F\n@keyframes fade-in {\n  from {\n    opacity: 0;\n    transform: translateY(8px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n\n\u002F* Staggered animations *\u002F\n.stagger-item {\n  animation: fade-in 0.3s ease-out backwards;\n}\n.stagger-item:nth-child(1) { animation-delay: 0ms; }\n.stagger-item:nth-child(2) { animation-delay: 50ms; }\n.stagger-item:nth-child(3) { animation-delay: 100ms; }\n.stagger-item:nth-child(4) { animation-delay: 150ms; }\n\n\u002F* Respect reduced motion *\u002F\n@media (prefers-reduced-motion: reduce) {\n  *,\n  *::before,\n  *::after {\n    animation-duration: 0.01ms !important;\n    animation-iteration-count: 1 !important;\n    transition-duration: 0.01ms !important;\n  }\n}\n```\n\n---\n\n## Tips for Excellence\n\n1. **Always start with tokens** — Never skip to components\n2. **Think mobile-first** — Design for 375px, enhance upward\n3. **Validate states early** — Test each interactive state in isolation\n4. **Be bold with aesthetics** — Avoid generic patterns\n5. **Accessibility is non-negotiable** — Build it in from the start\n6. **Use real content** — Test with actual text, images, data\n7. **Review your own work** — Self-audit before delivering\n8. **Document decisions** — Explain complex styling choices\n9. **Keep it maintainable** — Future developers will thank you\n10. **Ship production-ready code** — No \"TODO\" or \"FIXME\" in deliverables\n\n---\n\n## References & Resources\n\n- **Tailwind CSS**: https:\u002F\u002Ftailwindcss.com\u002Fdocs\n- **shadcn\u002Fui**: https:\u002F\u002Fui.shadcn.com\n- **WCAG Guidelines**: https:\u002F\u002Fwww.w3.org\u002FWAI\u002FWCAG21\u002Fquickref\u002F\n- **Color Contrast Checker**: https:\u002F\u002Fwebaim.org\u002Fresources\u002Fcontrastchecker\u002F\n- **Type Scale**: https:\u002F\u002Ftypescale.com\n- **Modular Scale**: https:\u002F\u002Fwww.modularscale.com\n- **CSS Custom Properties**: https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FCSS\u002FUsing_CSS_custom_properties\n\n---\n\n**Version**: 2.0.0  \n**Last Updated**: December 2024  \n**License**: MIT  \n**Maintained by**: z-ai platform team\n",{"name":5,"license":16,"version":55,"description":7},"2.0.0","main","e970014d895eae2572d8c434d79f2c6acea22417",".claude\u002Fskills\u002Ffrontend-design",20,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc","https:\u002F\u002Fgithub.com\u002Fxiaoyuge886","2026-07-14 17:19:42",{"source":9,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add xiaoyuge886\u002Faigc --skill frontend-design",{"tool":69,"command":70},"bunx","bunx skills add xiaoyuge886\u002Faigc --skill frontend-design",{"tool":72,"command":73},"pnpm","pnpm dlx skills add xiaoyuge886\u002Faigc --skill frontend-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FSKILL.md",true,[77,83,87,91,97,101,105,109,114,120,124,128,132],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},".gitignore","OTHER","其他",322,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002F.gitignore",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"examples\u002Fcss\u002Fcomponents.css",16505,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Fcss\u002Fcomponents.css",{"path":88,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":89,"sourceHtmlUrl":90},"examples\u002Fcss\u002Ftokens.css",16734,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Fcss\u002Ftokens.css",{"path":92,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"examples\u002Ftypescript\u002Fdesign-tokens.ts","SCRIPT","脚本",14593,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Ftypescript\u002Fdesign-tokens.ts",{"path":98,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":99,"sourceHtmlUrl":100},"examples\u002Ftypescript\u002Fsample-components.tsx",18149,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Ftypescript\u002Fsample-components.tsx",{"path":102,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":103,"sourceHtmlUrl":104},"examples\u002Ftypescript\u002Ftheme-provider.tsx",11674,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Ftypescript\u002Ftheme-provider.tsx",{"path":106,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":107,"sourceHtmlUrl":108},"examples\u002Ftypescript\u002Futils.ts",8852,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Ftypescript\u002Futils.ts",{"path":110,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":112,"sourceHtmlUrl":113},"LICENSE","许可证",1070,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FLICENSE",{"path":115,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":118,"sourceHtmlUrl":119},"OPTIMIZATION_SUMMARY.md","REFERENCE","参考文档",11354,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FOPTIMIZATION_SUMMARY.md",{"path":121,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":122,"sourceHtmlUrl":123},"package.json",1001,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Fpackage.json",{"path":125,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":126,"sourceHtmlUrl":127},"README.md",8069,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FREADME.md",{"path":129,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":130,"sourceHtmlUrl":131},"templates\u002Fglobals.css",8730,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Ftemplates\u002Fglobals.css",{"path":133,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":134,"sourceHtmlUrl":135},"templates\u002Ftailwind.config.js",8543,"https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002Ftemplates\u002Ftailwind.config.js",[137,164,182,203,228,248],{"skillNo":138,"name":139,"nameZh":140,"description":141,"descriptionZh":142,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":143,"categories":144,"keywords":151,"publishedAt":50},"01M6C7NPNK167QMPERW14AY55J","skill-creator","技能创建与优化","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","创建新技能、修改和改进现有技能，并衡量技能性能。当用户想要从零开始创建技能、更新或优化现有技能、运行评估（evals）来测试技能、通过方差分析对技能性能进行基准测试，或优化技能描述以提高触发准确性时使用。","https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-plugins-official-main\u002Fplugins\u002Fskill-creator\u002Fskills\u002Fskill-creator\u002FSKILL.md",[145,148],{"categoryNo":146,"categoryName":147,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":149,"categoryName":150,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[152,153,154,36,155,156,157,158,159,160,161,162,163],"skill creator","variance analysis","evals","improve","analysis","benchmark","update","run","create","test","run evals","performance",{"skillNo":165,"name":166,"nameZh":167,"description":168,"descriptionZh":168,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":169,"categories":170,"keywords":177,"publishedAt":50},"01M6C7NKXRM77AMYXSQCX8S15A","investment-due-diligence-report","投资尽调报告生成","投资尽调报告专业生成工具。当用户需要撰写投资尽调报告、尽职调查报告、投资分析报告时使用此skill。支持处理Excel财务数据、PDF文档等多种格式数据源，自动生成包含执行摘要、业务分析、财务分析、风险提示、投资建议等核心章节的专业报告。无论用户明确要求\"写报告\"还是提到\"分析投资标的\"、\"评估项目\"、\"做DD\"等相关需求时，都应使用此skill。","https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-plugins-official-main\u002Fplugins\u002Fskill-creator\u002Fskills\u002Finvestment-due-diligence-report\u002FSKILL.md",[171,174],{"categoryNo":172,"categoryName":173,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BTV4QBQYRS1HWEVGR64N4J","金融投资分析",{"categoryNo":175,"categoryName":176,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BTV4RBGF5SFPS4M35EM7YQ","金融分析师",[178,179,180,181],"report","investment due diligence report","生成","文档",{"skillNo":183,"name":184,"nameZh":185,"description":186,"descriptionZh":187,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":188,"categories":189,"keywords":192,"publishedAt":50},"01M6C7NGS2K1NZQ3PR3GM7VMWT","skill-development","Claude 技能开发与创建","This skill should be used when the user wants to \"create a skill\", \"add a skill to plugin\", \"write a new skill\", \"improve skill description\", \"organize skill content\", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.","当用户想要\"创建技能\"、\"向插件添加技能\"、\"编写新技能\"、\"改进技能描述\"、\"组织技能内容\"，或需要有关技能结构、渐进式披露或 Claude Code 插件技能开发最佳实践的指导时，应使用此技能。","https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-plugins-official-main\u002Fplugins\u002Fplugin-dev\u002Fskills\u002Fskill-development\u002FSKILL.md",[190,191],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":146,"categoryName":147,"taxonomyType":27,"taxonomyTypeDesc":28},[193,194,195,196,197,198,45,160,199,200,155,201,202],"development","skill development","best practices","improve skill","plugins","content","user","plugin","claude code plugins","write",{"skillNo":204,"name":205,"nameZh":206,"description":207,"descriptionZh":208,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":209,"categories":210,"keywords":213,"publishedAt":50},"01M6C7NDRYM015B9B6T4YHY3NF","plugin-structure","Claude 插件结构搭建","This skill should be used when the user asks to \"create a plugin\", \"scaffold a plugin\", \"understand plugin structure\", \"organize plugin components\", \"set up plugin.json\", \"use ${CLAUDE_PLUGIN_ROOT}\", \"add commands\u002Fagents\u002Fskills\u002Fhooks\", \"configure auto-discovery\", or needs guidance on plugin directory layout, manifest configuration, component organization, file naming conventions, or Claude Code plugin architecture best practices.","当用户要求\"创建插件\"、\"搭建插件框架\"、\"理解插件结构\"、\"组织插件组件\"、\"设置 plugin.json\"、\"使用 ${CLAUDE_PLUGIN_ROOT}\"、\"添加命令\u002F智能体\u002F技能\u002F钩子\"、\"配置自动发现\"，或需要有关插件目录布局、清单配置、组件组织、文件命名规范或 Claude Code 插件架构最佳实践的指导时，应使用此技能。","https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-plugins-official-main\u002Fplugins\u002Fplugin-dev\u002Fskills\u002Fplugin-structure\u002FSKILL.md",[211,212],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":146,"categoryName":147,"taxonomyType":27,"taxonomyTypeDesc":28},[200,214,215,216,36,217,218,219,220,47,221,222,223,195,45,160,224,225,226,227],"Plugin Structure","plugin architecture","file naming conventions","auto","up","hooks","SET","discovery","manifest","file","architecture","component","configure","claude code plugin",{"skillNo":229,"name":230,"nameZh":231,"description":232,"descriptionZh":233,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":234,"categories":235,"keywords":238,"publishedAt":50},"01M6C7NAM6KNC9NT147RJ41V2N","plugin-settings","插件配置与状态管理","This skill should be used when the user asks about \"plugin settings\", \"store plugin configuration\", \"user-configurable plugin\", \".local.md files\", \"plugin state files\", \"read YAML frontmatter\", \"per-project plugin settings\", or wants to make plugin behavior configurable. Documents the .claude\u002Fplugin-name.local.md pattern for storing plugin-specific configuration with YAML frontmatter and markdown content.","当用户询问“插件设置”、“存储插件配置”、“用户可配置插件”、“.local.md 文件”、“插件状态文件”、“读取 YAML frontmatter”、“按项目划分的插件设置”，或希望让插件行为可配置时，应使用本技能。本技能介绍 .claude\u002Fplugin-name.local.md 模式，用于通过 YAML frontmatter 和 markdown 内容存储插件专属配置。","https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-plugins-official-main\u002Fplugins\u002Fplugin-dev\u002Fskills\u002Fplugin-settings\u002FSKILL.md",[236,237],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":146,"categoryName":147,"taxonomyType":27,"taxonomyTypeDesc":28},[239,200,240,241,242,199,243,244,245,246,247,198],"Plugin Settings","settings","documents","state","behavior","read","markdown content","markdown","yaml",{"skillNo":249,"name":250,"nameZh":251,"description":252,"descriptionZh":253,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":254,"categories":255,"keywords":258,"publishedAt":50},"01M6C7N79Y8P14GGCJRCM706EK","mcp-integration","MCP 服务器集成配置","This skill should be used when the user asks to \"add MCP server\", \"integrate MCP\", \"configure MCP in plugin\", \"use .mcp.json\", \"set up Model Context Protocol\", \"connect external service\", mentions \"${CLAUDE_PLUGIN_ROOT} with MCP\", or discusses MCP server types (SSE, stdio, HTTP, WebSocket). Provides comprehensive guidance for integrating Model Context Protocol servers into Claude Code plugins for external tool and service integration.","当用户要求“添加 MCP 服务器”、“集成 MCP”、“在插件中配置 MCP”、“使用 .mcp.json”、“设置 Model Context Protocol”、“连接外部服务”，提及“在 MCP 中使用 ${CLAUDE_PLUGIN_ROOT}”，或讨论 MCP 服务器类型（SSE、stdio、HTTP、WebSocket）时，应使用本技能。本技能提供将 Model Context Protocol 服务器集成到 Claude Code 插件中的全面指导，以实现外部工具和服务集成。","https:\u002F\u002Fgithub.com\u002Fxiaoyuge886\u002Faigc\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-plugins-official-main\u002Fplugins\u002Fplugin-dev\u002Fskills\u002Fmcp-integration\u002FSKILL.md",[256,257],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":146,"categoryName":147,"taxonomyType":27,"taxonomyTypeDesc":28},[259,260,261,226,218,262,36,201,263,264,265,266,267,220,268,45,269,270,271,272],"integration","MCP","MCP Integration","integrate","context","add mcp","model","tool","websocket","server","connect","http","model context protocol","mcp server"]