[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D4GRW0X574XZDAXV2XPS46":3,"skill-same:01M7D4GRW0X574XZDAXV2XPS46":103},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":13,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7D4GRW0X574XZDAXV2XPS46","frontend-design",null,"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.","sy220284\u002F999","sy220284","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F208273231?v=4","01M7D3YATQVSPQN4GC749CJN7E","01M7D3YAVDQZY3V0848F15R94F",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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":14,"version":24,"description":7},"2.0.0","main","9dadc89cfa047e1ab6a783afb806ff1a1d591a51","skills\u002Ffrontend-design","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999","https:\u002F\u002Fgithub.com\u002Fsy220284","2026-10-30 12:27:48",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add sy220284\u002F999 --skill frontend-design",{"tool":37,"command":38},"bunx","bunx skills add sy220284\u002F999 --skill frontend-design",{"tool":40,"command":41},"pnpm","pnpm dlx skills add sy220284\u002F999 --skill frontend-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002FSKILL.md",true,[45,51,55,59,65,69,73,77,81,87,91,95,99],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},".gitignore","OTHER","其他",322,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002F.gitignore",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"examples\u002Fcss\u002Fcomponents.css",16505,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Fcss\u002Fcomponents.css",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"examples\u002Fcss\u002Ftokens.css",16734,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Fcss\u002Ftokens.css",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"examples\u002Ftypescript\u002Fdesign-tokens.ts","SCRIPT","脚本",14593,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Ftypescript\u002Fdesign-tokens.ts",{"path":66,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":67,"sourceHtmlUrl":68},"examples\u002Ftypescript\u002Fsample-components.tsx",18149,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Ftypescript\u002Fsample-components.tsx",{"path":70,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":71,"sourceHtmlUrl":72},"examples\u002Ftypescript\u002Ftheme-provider.tsx",11674,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Ftypescript\u002Ftheme-provider.tsx",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"examples\u002Ftypescript\u002Futils.ts",8852,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Fexamples\u002Ftypescript\u002Futils.ts",{"path":78,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":15},"LICENSE","许可证",1070,{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"OPTIMIZATION_SUMMARY.md","REFERENCE","参考文档",11354,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002FOPTIMIZATION_SUMMARY.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"package.json",1001,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Fpackage.json",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"README.md",8069,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002FREADME.md",{"path":96,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":97,"sourceHtmlUrl":98},"templates\u002Fglobals.css",8730,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Ftemplates\u002Fglobals.css",{"path":100,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":101,"sourceHtmlUrl":102},"templates\u002Ftailwind.config.js",8543,"https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend-design\u002Ftemplates\u002Ftailwind.config.js",[104,112,120,128,136,144],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7D4SEEQEMV92N2Z6E6R20QA","zone-of-proximal-development","在当前对话中按用户解题思路逐步提示。用户提交题目并说“带我做”“先给提示别给答案”“看看卡在哪”，或接受当前题目的带练邀请时使用。常规练习答错、表示不会或解析后仍不懂时可邀请，未同意不切换。普通出题、原题批量导入、直接要答案、最近发展区理论问答不自动进入带练；不替代原测验评分与复习记录。","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fzone-of-proximal-development\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fzone-of-proximal-development\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":116,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M7D4S2MMW0A1GSBTVJKERMT3","web-search","Implement web search capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to search for real-time information from the web, retrieve up-to-date content beyond the knowledge cutoff, or find the latest news and data. Returns structured search results with URLs, snippets, and metadata.","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fweb-search\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fweb-search\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":124,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7D4RVQCWXDZZN4B7BEKVTME","web-reader","Implement web page content extraction capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to scrape web pages, extract article content, retrieve page metadata, or build applications that process web content. Supports automatic content extraction with title, HTML, and publication time retrieval.","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fweb-reader\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fweb-reader\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":19},"01M7D4RSDG1WJ11D9A6E3G7KR3","web-page-fetch","通过清言serp-moe网页读取入口获取已知公开网页正文；用于法律来源原文核对和用户提供的公开网页，不用于搜索、登录后页面、用户上传文件或附件下载地址。","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fweb-page-fetch\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fweb-page-fetch\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":140,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M7D4RET86TTD6MWTDHAVKFT3","video-understand","Implement specialized video understanding capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze video content, understand motion and temporal sequences, extract information from video frames, describe video scenes, or perform video-based AI analysis. Optimized for MP4, AVI, MOV, and other common video formats.","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-understand\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-understand\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":148,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":19},"01M7D4R7ZXWXNJ9X2G9REGBD42","Video Generation","Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-generation\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsy220284\u002F999\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-generation\u002FSKILL.md",[],[]]