[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QP33QH0FH9R88M8V4MA8C7":3,"skill-same:01M6QP33QH0FH9R88M8V4MA8C7":118},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":31,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":14,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":63,"install":64,"resources":77},"01M6QP33QH0FH9R88M8V4MA8C7","frontend-design",null,"Design thinking and decision-making for web UI. Use when designing components, layouts, color schemes, typography, or creating aesthetic interfaces. Teaches principles, not fixed values.","LOrdEnRYQuE\u002FLRDEnE-Ai-Specialist","LOrdEnRYQuE","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93767164?v=4","01M6QNZGVYDMQTN925B3BDB98Z","LOrdEnRYQuE | Advanced Digital Solutions ","01M6QNZH078JB4S8QJNNQNJPS5",0,"MIT","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":27,"categoryName":28,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"design","frontend design","frontend","for","design thinking","designing components","web ui","color","decision-making","thinking","aesthetic","typography","use","edit","write","read","decision","Bash","ui","components","2026-11-10 10:12:30",false,"---\nname: frontend-design\ndescription: Design thinking and decision-making for web UI. Use when designing components, layouts, color schemes, typography, or creating aesthetic interfaces. Teaches principles, not fixed values.\nallowed-tools: Read, Write, Edit, Glob, Grep, Bash\n---\n\n# Frontend Design System\n\n> **Philosophy:** Every pixel has purpose. Restraint is luxury. User psychology drives decisions.\n> **Core Principle:** THINK, don't memorize. ASK, don't assume.\n\n---\n\n## ? Selective Reading Rule (MANDATORY)\n\n**Read REQUIRED files always, OPTIONAL only when needed:**\n\n| File | Status | When to Read |\n|------|--------|--------------|\n| [ux-psychology.md](ux-psychology.md) | ? **REQUIRED** | Always read first! |\n| [color-system.md](color-system.md) | ⚪ Optional | Color\u002Fpalette decisions |\n| [typography-system.md](typography-system.md) | ⚪ Optional | Font selection\u002Fpairing |\n| [visual-effects.md](visual-effects.md) | ⚪ Optional | Glassmorphism, shadows, gradients |\n| [animation-guide.md](animation-guide.md) | ⚪ Optional | Animation needed |\n| [motion-graphics.md](motion-graphics.md) | ⚪ Optional | Lottie, GSAP, 3D |\n| [decision-trees.md](decision-trees.md) | ⚪ Optional | Context templates |\n\n> ? **ux-psychology.md = ALWAYS READ. Others = only if relevant.**\n\n---\n\n## ? Runtime Scripts\n\n**Execute these for audits (don't read, just run):**\n\n| Script | Purpose | Usage |\n|--------|---------|-------|\n| `scripts\u002Fux_audit.py` | UX Psychology & Accessibility Audit | `python scripts\u002Fux_audit.py \u003Cproject_path>` |\n\n---\n\n## ⚠️ CRITICAL: ASK BEFORE ASSUMING (MANDATORY)\n\n> **STOP! If the user's request is open-ended, DO NOT default to your favorites.**\n\n### When User Prompt is Vague, ASK:\n\n**Color not specified?** Ask:\n> \"What color palette do you prefer? (blue\u002Fgreen\u002Forange\u002Fneutral\u002Fother?)\"\n\n**Style not specified?** Ask: \n> \"What style are you going for? (minimal\u002Fbold\u002Fretro\u002Ffuturistic\u002Forganic?)\"\n\n**Layout not specified?** Ask:\n> \"Do you have a layout preference? (single column\u002Fgrid\u002Fasymmetric\u002Ffull-width?)\"\n\n### ⛔ DEFAULT TENDENCIES TO AVOID (ANTI-SAFE HARBOR):\n\n| AI Default Tendency | Why It's Bad | Think Instead |\n|---------------------|--------------|---------------|\n| **Bento Grids (Modern Cliché)** | Used in every AI design | Why does this content NEED a grid? |\n| **Hero Split (Left\u002FRight)** | Predictable & Boring | How about Massive Typography or Vertical Narrative? |\n| **Mesh\u002FAurora Gradients** | The \"new\" lazy background | What's a radical color pairing? |\n| **Glassmorphism** | AI's idea of \"premium\" | How about solid, high-contrast flat? |\n| **Deep Cyan \u002F Fintech Blue** | Safe harbor from purple ban | Why not Red, Black, or Neon Green? |\n| **\"Orchestrate \u002F Empower\"** | AI-generated copywriting | How would a human say this? |\n| Dark background + neon glow | Overused, \"AI look\" | What does the BRAND actually need? |\n| **Rounded everything** | Generic\u002FSafe | Where can I use sharp, brutalist edges? |\n\n> ? **\"Every 'safe' structure you choose brings you one step closer to a generic template. TAKE RISKS.\"**\n\n---\n\n## 1. Constraint Analysis (ALWAYS FIRST)\n\nBefore any design work, ANSWER THESE or ASK USER:\n\n| Constraint | Question | Why It Matters |\n|------------|----------|----------------|\n| **Timeline** | How much time? | Determines complexity |\n| **Content** | Ready or placeholder? | Affects layout flexibility |\n| **Brand** | Existing guidelines? | May dictate colors\u002Ffonts |\n| **Tech** | What stack? | Affects capabilities |\n| **Audience** | Who exactly? | Drives all visual decisions |\n\n### Audience → Design Approach\n\n| Audience | Think About |\n|----------|-------------|\n| **Gen Z** | Bold, fast, mobile-first, authentic |\n| **Millennials** | Clean, minimal, value-driven |\n| **Gen X** | Familiar, trustworthy, clear |\n| **Boomers** | Readable, high contrast, simple |\n| **B2B** | Professional, data-focused, trust |\n| **Luxury** | Restrained elegance, whitespace |\n\n---\n\n## 2. UX Psychology Principles\n\n### Core Laws (Internalize These)\n\n| Law | Principle | Application |\n|-----|-----------|-------------|\n| **Hick's Law** | More choices = slower decisions | Limit options, use progressive disclosure |\n| **Fitts' Law** | Bigger + closer = easier to click | Size CTAs appropriately |\n| **Miller's Law** | ~7 items in working memory | Chunk content into groups |\n| **Von Restorff** | Different = memorable | Make CTAs visually distinct |\n| **Serial Position** | First\u002Flast remembered most | Key info at start\u002Fend |\n\n### Emotional Design Levels\n\n```\nVISCERAL (instant)  → First impression: colors, imagery, overall feel\nBEHAVIORAL (use)    → Using it: speed, feedback, efficiency\nREFLECTIVE (memory) → After: \"I like what this says about me\"\n```\n\n### Trust Building\n\n- Security indicators on sensitive actions\n- Social proof where relevant\n- Clear contact\u002Fsupport access\n- Consistent, professional design\n- Transparent policies\n\n---\n\n## 3. Layout Principles\n\n### Golden Ratio (φ = 1.618)\n\n```\nUse for proportional harmony:\n├── Content : Sidebar = roughly 62% : 38%\n├── Each heading size = previous × 1.618 (for dramatic scale)\n├── Spacing can follow: sm → md → lg (each × 1.618)\n```\n\n### 8-Point Grid Concept\n\n```\nAll spacing and sizing in multiples of 8:\n├── Tight: 4px (half-step for micro)\n├── Small: 8px\n├── Medium: 16px\n├── Large: 24px, 32px\n├── XL: 48px, 64px, 80px\n└── Adjust based on content density\n```\n\n### Key Sizing Principles\n\n| Element | Consideration |\n|---------|---------------|\n| **Touch targets** | Minimum comfortable tap size |\n| **Buttons** | Height based on importance hierarchy |\n| **Inputs** | Match button height for alignment |\n| **Cards** | Consistent padding, breathable |\n| **Reading width** | 45-75 characters optimal |\n\n---\n\n## 4. Color Principles\n\n### 60-30-10 Rule\n\n```\n60% → Primary\u002FBackground (calm, neutral base)\n30% → Secondary (supporting areas)\n10% → Accent (CTAs, highlights, attention)\n```\n\n### Color Psychology (For Decision Making)\n\n| If You Need... | Consider Hues | Avoid |\n|----------------|---------------|-------|\n| Trust, calm | Blue family | Aggressive reds |\n| Growth, nature | Green family | Industrial grays |\n| Energy, urgency | Orange, red | Passive blues |\n| Luxury, creativity | Deep Teal, Gold, Emerald | Cheap-feeling brights |\n| Clean, minimal | Neutrals | Overwhelming color |\n\n### Selection Process\n\n1. **What's the industry?** (narrows options)\n2. **What's the emotion?** (picks primary)\n3. **Light or dark mode?** (sets foundation)\n4. **ASK USER** if not specified\n\nFor detailed color theory: [color-system.md](color-system.md)\n\n---\n\n## 5. Typography Principles\n\n### Scale Selection\n\n| Content Type | Scale Ratio | Feel |\n|--------------|-------------|------|\n| Dense UI | 1.125-1.2 | Compact, efficient |\n| General web | 1.25 | Balanced (most common) |\n| Editorial | 1.333 | Readable, spacious |\n| Hero\u002Fdisplay | 1.5-1.618 | Dramatic impact |\n\n### Pairing Concept\n\n```\nContrast + Harmony:\n├── DIFFERENT enough for hierarchy\n├── SIMILAR enough for cohesion\n└── Usually: display + neutral, or serif + sans\n```\n\n### Readability Rules\n\n- **Line length**: 45-75 characters optimal\n- **Line height**: 1.4-1.6 for body text\n- **Contrast**: Check WCAG requirements\n- **Size**: 16px+ for body on web\n\nFor detailed typography: [typography-system.md](typography-system.md)\n\n---\n\n## 6. Visual Effects Principles\n\n### Glassmorphism (When Appropriate)\n\n```\nKey properties:\n├── Semi-transparent background\n├── Backdrop blur\n├── Subtle border for definition\n└── ⚠️ **WARNING:** Standard blue\u002Fwhite glassmorphism is a modern cliché. Use it radically or not at all.\n```\n\n### Shadow Hierarchy\n\n```\nElevation concept:\n├── Higher elements = larger shadows\n├── Y-offset > X-offset (light from above)\n├── Multiple layers = more realistic\n└── Dark mode: may need glow instead\n```\n\n### Gradient Usage\n\n```\nHarmonious gradients:\n├── Adjacent colors on wheel (analogous)\n├── OR same hue, different lightness\n├── Avoid harsh complementary pairs\n├── ? **NO Mesh\u002FAurora Gradients** (floating blobs)\n└── VARY from project to project radically\n```\n\nFor complete effects guide: [visual-effects.md](visual-effects.md)\n\n---\n\n## 7. Animation Principles\n\n### Timing Concept\n\n```\nDuration based on:\n├── Distance (further = longer)\n├── Size (larger = slower)\n├── Importance (critical = clear)\n└── Context (urgent = fast, luxury = slow)\n```\n\n### Easing Selection\n\n| Action | Easing | Why |\n|--------|--------|-----|\n| Entering | Ease-out | Decelerate, settle in |\n| Leaving | Ease-in | Accelerate, exit |\n| Emphasis | Ease-in-out | Smooth, deliberate |\n| Playful | Bounce | Fun, energetic |\n\n### Performance\n\n- Animate only transform and opacity\n- Respect reduced-motion preference\n- Test on low-end devices\n\nFor animation patterns: [animation-guide.md](animation-guide.md), for advanced: [motion-graphics.md](motion-graphics.md)\n\n---\n\n## 8. \"Wow Factor\" Checklist\n\n### Premium Indicators\n\n- [ ] Generous whitespace (luxury = breathing room)\n- [ ] Subtle depth and dimension\n- [ ] Smooth, purposeful animations\n- [ ] Attention to detail (alignment, consistency)\n- [ ] Cohesive visual rhythm\n- [ ] Custom elements (not all defaults)\n\n### Trust Builders\n\n- [ ] Security cues where appropriate\n- [ ] Social proof \u002F testimonials\n- [ ] Clear value proposition\n- [ ] Professional imagery\n- [ ] Consistent design language\n\n### Emotional Triggers\n\n- [ ] Hero that evokes intended emotion\n- [ ] Human elements (faces, stories)\n- [ ] Progress\u002Fachievement indicators\n- [ ] Moments of delight\n\n---\n\n## 9. Anti-Patterns (What NOT to Do)\n\n### ❌ Lazy Design Indicators\n\n- Default system fonts without consideration\n- Stock imagery that doesn't match\n- Inconsistent spacing\n- Too many competing colors\n- Walls of text without hierarchy\n- Inaccessible contrast\n\n### ❌ AI Tendency Patterns (AVOID!)\n\n- **Same colors every project**\n- **Dark + neon as default**\n- **Purple\u002Fviolet everything (PURPLE BAN ✅)**\n- **Bento grids for simple landing pages**\n- **Mesh Gradients & Glow Effects**\n- **Same layout structure \u002F Vercel clone**\n- **Not asking user preferences**\n\n### ❌ Dark Patterns (Unethical)\n\n- Hidden costs\n- Fake urgency\n- Forced actions\n- Deceptive UI\n- Confirmshaming\n\n---\n\n## 10. Decision Process Summary\n\n```\nFor EVERY design task:\n\n1. CONSTRAINTS\n   └── What's the timeline, brand, tech, audience?\n   └── If unclear → ASK\n\n2. CONTENT\n   └── What content exists?\n   └── What's the hierarchy?\n\n3. STYLE DIRECTION\n   └── What's appropriate for context?\n   └── If unclear → ASK (don't default!)\n\n4. EXECUTION\n   └── Apply principles above\n   └── Check against anti-patterns\n\n5. REVIEW\n   └── \"Does this serve the user?\"\n   └── \"Is this different from my defaults?\"\n   └── \"Would I be proud of this?\"\n```\n\n---\n\n## Reference Files\n\nFor deeper guidance on specific areas:\n\n- [color-system.md](color-system.md) - Color theory and selection process\n- [typography-system.md](typography-system.md) - Font pairing and scale decisions\n- [visual-effects.md](visual-effects.md) - Effects principles and techniques\n- [animation-guide.md](animation-guide.md) - Motion design principles\n- [motion-graphics.md](motion-graphics.md) - Advanced: Lottie, GSAP, SVG, 3D, Particles\n- [decision-trees.md](decision-trees.md) - Context-specific templates\n- [ux-psychology.md](ux-psychology.md) - User psychology deep dive\n\n---\n\n## Related Skills\n\n| Skill | When to Use |\n|-------|-------------|\n| **frontend-design** (this) | Before coding - Learn design principles (color, typography, UX psychology) |\n| **[web-design-guidelines](..\u002Fweb-design-guidelines\u002FSKILL.md)** | After coding - Audit for accessibility, performance, and best practices |\n\n## Post-Design Workflow\n\nAfter implementing your design, run the audit:\n\n```\n1. DESIGN   → Read frontend-design principles ← YOU ARE HERE\n2. CODE     → Implement the design\n3. AUDIT    → Run web-design-guidelines review\n4. FIX      → Address findings from audit\n```\n\n> **Next Step:** After coding, use `web-design-guidelines` skill to audit your implementation for accessibility, focus states, animations, and performance issues.\n\n---\n\n> **Remember:** Design is THINKING, not copying. Every project deserves fresh consideration based on its unique context and users. **Avoid the Modern SaaS Safe Harbor!**\n\n---\n\n## 5. Next.js 16+ Modern Form Patterns\n\n> [!IMPORTANT]\n> For Next.js 16+ projects, use the native `next\u002Fform` component instead of standard HTML `\u003Cform>` for all GET-based search\u002Ffilter operations.\n\n### The `\u003CForm>` Component Advantage\n- **Automatic Client Navigation:** Performs client-side transitions on submit.\n- **Progressive Enhancement:** Works even without JavaScript.\n- **URL Sync:** Automatically encodes input values into search params.\n\n### Implementation Example (Search Bar)\n```tsx\nimport Form from 'next\u002Fform'\n\nexport default function SearchBar() {\n  return (\n    \u003CForm action=\"\u002Fsearch\" className=\"flex gap-2\">\n      \u003Cinput \n        name=\"q\" \n        placeholder=\"Search products...\" \n        className=\"border p-2\"\n      \u002F>\n      \u003Cbutton type=\"submit\">Search\u003C\u002Fbutton>\n    \u003C\u002FForm>\n  )\n}\n```\n\n### When to use `\u003CForm>` vs. standard `\u003Cform>`:\n- **Use `next\u002Fform`** for: Search, Filtering, Sorting, Pagination (GET requests).\n- **Use standard `\u003Cform>`** for: Mutations, Login, Data Entry (POST requests via Server Actions).\n","# Frontend Design System\n\n> **Philosophy:** Every pixel has purpose. Restraint is luxury. User psychology drives decisions.\n> **Core Principle:** THINK, don't memorize. ASK, don't assume.\n\n---\n\n## ? Selective Reading Rule (MANDATORY)\n\n**Read REQUIRED files always, OPTIONAL only when needed:**\n\n| File | Status | When to Read |\n|------|--------|--------------|\n| [ux-psychology.md](ux-psychology.md) | ? **REQUIRED** | Always read first! |\n| [color-system.md](color-system.md) | ⚪ Optional | Color\u002Fpalette decisions |\n| [typography-system.md](typography-system.md) | ⚪ Optional | Font selection\u002Fpairing |\n| [visual-effects.md](visual-effects.md) | ⚪ Optional | Glassmorphism, shadows, gradients |\n| [animation-guide.md](animation-guide.md) | ⚪ Optional | Animation needed |\n| [motion-graphics.md](motion-graphics.md) | ⚪ Optional | Lottie, GSAP, 3D |\n| [decision-trees.md](decision-trees.md) | ⚪ Optional | Context templates |\n\n> ? **ux-psychology.md = ALWAYS READ. Others = only if relevant.**\n\n---\n\n## ? Runtime Scripts\n\n**Execute these for audits (don't read, just run):**\n\n| Script | Purpose | Usage |\n|--------|---------|-------|\n| `scripts\u002Fux_audit.py` | UX Psychology & Accessibility Audit | `python scripts\u002Fux_audit.py \u003Cproject_path>` |\n\n---\n\n## ⚠️ CRITICAL: ASK BEFORE ASSUMING (MANDATORY)\n\n> **STOP! If the user's request is open-ended, DO NOT default to your favorites.**\n\n### When User Prompt is Vague, ASK:\n\n**Color not specified?** Ask:\n> \"What color palette do you prefer? (blue\u002Fgreen\u002Forange\u002Fneutral\u002Fother?)\"\n\n**Style not specified?** Ask: \n> \"What style are you going for? (minimal\u002Fbold\u002Fretro\u002Ffuturistic\u002Forganic?)\"\n\n**Layout not specified?** Ask:\n> \"Do you have a layout preference? (single column\u002Fgrid\u002Fasymmetric\u002Ffull-width?)\"\n\n### ⛔ DEFAULT TENDENCIES TO AVOID (ANTI-SAFE HARBOR):\n\n| AI Default Tendency | Why It's Bad | Think Instead |\n|---------------------|--------------|---------------|\n| **Bento Grids (Modern Cliché)** | Used in every AI design | Why does this content NEED a grid? |\n| **Hero Split (Left\u002FRight)** | Predictable & Boring | How about Massive Typography or Vertical Narrative? |\n| **Mesh\u002FAurora Gradients** | The \"new\" lazy background | What's a radical color pairing? |\n| **Glassmorphism** | AI's idea of \"premium\" | How about solid, high-contrast flat? |\n| **Deep Cyan \u002F Fintech Blue** | Safe harbor from purple ban | Why not Red, Black, or Neon Green? |\n| **\"Orchestrate \u002F Empower\"** | AI-generated copywriting | How would a human say this? |\n| Dark background + neon glow | Overused, \"AI look\" | What does the BRAND actually need? |\n| **Rounded everything** | Generic\u002FSafe | Where can I use sharp, brutalist edges? |\n\n> ? **\"Every 'safe' structure you choose brings you one step closer to a generic template. TAKE RISKS.\"**\n\n---\n\n## 1. Constraint Analysis (ALWAYS FIRST)\n\nBefore any design work, ANSWER THESE or ASK USER:\n\n| Constraint | Question | Why It Matters |\n|------------|----------|----------------|\n| **Timeline** | How much time? | Determines complexity |\n| **Content** | Ready or placeholder? | Affects layout flexibility |\n| **Brand** | Existing guidelines? | May dictate colors\u002Ffonts |\n| **Tech** | What stack? | Affects capabilities |\n| **Audience** | Who exactly? | Drives all visual decisions |\n\n### Audience → Design Approach\n\n| Audience | Think About |\n|----------|-------------|\n| **Gen Z** | Bold, fast, mobile-first, authentic |\n| **Millennials** | Clean, minimal, value-driven |\n| **Gen X** | Familiar, trustworthy, clear |\n| **Boomers** | Readable, high contrast, simple |\n| **B2B** | Professional, data-focused, trust |\n| **Luxury** | Restrained elegance, whitespace |\n\n---\n\n## 2. UX Psychology Principles\n\n### Core Laws (Internalize These)\n\n| Law | Principle | Application |\n|-----|-----------|-------------|\n| **Hick's Law** | More choices = slower decisions | Limit options, use progressive disclosure |\n| **Fitts' Law** | Bigger + closer = easier to click | Size CTAs appropriately |\n| **Miller's Law** | ~7 items in working memory | Chunk content into groups |\n| **Von Restorff** | Different = memorable | Make CTAs visually distinct |\n| **Serial Position** | First\u002Flast remembered most | Key info at start\u002Fend |\n\n### Emotional Design Levels\n\n```\nVISCERAL (instant)  → First impression: colors, imagery, overall feel\nBEHAVIORAL (use)    → Using it: speed, feedback, efficiency\nREFLECTIVE (memory) → After: \"I like what this says about me\"\n```\n\n### Trust Building\n\n- Security indicators on sensitive actions\n- Social proof where relevant\n- Clear contact\u002Fsupport access\n- Consistent, professional design\n- Transparent policies\n\n---\n\n## 3. Layout Principles\n\n### Golden Ratio (φ = 1.618)\n\n```\nUse for proportional harmony:\n├── Content : Sidebar = roughly 62% : 38%\n├── Each heading size = previous × 1.618 (for dramatic scale)\n├── Spacing can follow: sm → md → lg (each × 1.618)\n```\n\n### 8-Point Grid Concept\n\n```\nAll spacing and sizing in multiples of 8:\n├── Tight: 4px (half-step for micro)\n├── Small: 8px\n├── Medium: 16px\n├── Large: 24px, 32px\n├── XL: 48px, 64px, 80px\n└── Adjust based on content density\n```\n\n### Key Sizing Principles\n\n| Element | Consideration |\n|---------|---------------|\n| **Touch targets** | Minimum comfortable tap size |\n| **Buttons** | Height based on importance hierarchy |\n| **Inputs** | Match button height for alignment |\n| **Cards** | Consistent padding, breathable |\n| **Reading width** | 45-75 characters optimal |\n\n---\n\n## 4. Color Principles\n\n### 60-30-10 Rule\n\n```\n60% → Primary\u002FBackground (calm, neutral base)\n30% → Secondary (supporting areas)\n10% → Accent (CTAs, highlights, attention)\n```\n\n### Color Psychology (For Decision Making)\n\n| If You Need... | Consider Hues | Avoid |\n|----------------|---------------|-------|\n| Trust, calm | Blue family | Aggressive reds |\n| Growth, nature | Green family | Industrial grays |\n| Energy, urgency | Orange, red | Passive blues |\n| Luxury, creativity | Deep Teal, Gold, Emerald | Cheap-feeling brights |\n| Clean, minimal | Neutrals | Overwhelming color |\n\n### Selection Process\n\n1. **What's the industry?** (narrows options)\n2. **What's the emotion?** (picks primary)\n3. **Light or dark mode?** (sets foundation)\n4. **ASK USER** if not specified\n\nFor detailed color theory: [color-system.md](color-system.md)\n\n---\n\n## 5. Typography Principles\n\n### Scale Selection\n\n| Content Type | Scale Ratio | Feel |\n|--------------|-------------|------|\n| Dense UI | 1.125-1.2 | Compact, efficient |\n| General web | 1.25 | Balanced (most common) |\n| Editorial | 1.333 | Readable, spacious |\n| Hero\u002Fdisplay | 1.5-1.618 | Dramatic impact |\n\n### Pairing Concept\n\n```\nContrast + Harmony:\n├── DIFFERENT enough for hierarchy\n├── SIMILAR enough for cohesion\n└── Usually: display + neutral, or serif + sans\n```\n\n### Readability Rules\n\n- **Line length**: 45-75 characters optimal\n- **Line height**: 1.4-1.6 for body text\n- **Contrast**: Check WCAG requirements\n- **Size**: 16px+ for body on web\n\nFor detailed typography: [typography-system.md](typography-system.md)\n\n---\n\n## 6. Visual Effects Principles\n\n### Glassmorphism (When Appropriate)\n\n```\nKey properties:\n├── Semi-transparent background\n├── Backdrop blur\n├── Subtle border for definition\n└── ⚠️ **WARNING:** Standard blue\u002Fwhite glassmorphism is a modern cliché. Use it radically or not at all.\n```\n\n### Shadow Hierarchy\n\n```\nElevation concept:\n├── Higher elements = larger shadows\n├── Y-offset > X-offset (light from above)\n├── Multiple layers = more realistic\n└── Dark mode: may need glow instead\n```\n\n### Gradient Usage\n\n```\nHarmonious gradients:\n├── Adjacent colors on wheel (analogous)\n├── OR same hue, different lightness\n├── Avoid harsh complementary pairs\n├── ? **NO Mesh\u002FAurora Gradients** (floating blobs)\n└── VARY from project to project radically\n```\n\nFor complete effects guide: [visual-effects.md](visual-effects.md)\n\n---\n\n## 7. Animation Principles\n\n### Timing Concept\n\n```\nDuration based on:\n├── Distance (further = longer)\n├── Size (larger = slower)\n├── Importance (critical = clear)\n└── Context (urgent = fast, luxury = slow)\n```\n\n### Easing Selection\n\n| Action | Easing | Why |\n|--------|--------|-----|\n| Entering | Ease-out | Decelerate, settle in |\n| Leaving | Ease-in | Accelerate, exit |\n| Emphasis | Ease-in-out | Smooth, deliberate |\n| Playful | Bounce | Fun, energetic |\n\n### Performance\n\n- Animate only transform and opacity\n- Respect reduced-motion preference\n- Test on low-end devices\n\nFor animation patterns: [animation-guide.md](animation-guide.md), for advanced: [motion-graphics.md](motion-graphics.md)\n\n---\n\n## 8. \"Wow Factor\" Checklist\n\n### Premium Indicators\n\n- [ ] Generous whitespace (luxury = breathing room)\n- [ ] Subtle depth and dimension\n- [ ] Smooth, purposeful animations\n- [ ] Attention to detail (alignment, consistency)\n- [ ] Cohesive visual rhythm\n- [ ] Custom elements (not all defaults)\n\n### Trust Builders\n\n- [ ] Security cues where appropriate\n- [ ] Social proof \u002F testimonials\n- [ ] Clear value proposition\n- [ ] Professional imagery\n- [ ] Consistent design language\n\n### Emotional Triggers\n\n- [ ] Hero that evokes intended emotion\n- [ ] Human elements (faces, stories)\n- [ ] Progress\u002Fachievement indicators\n- [ ] Moments of delight\n\n---\n\n## 9. Anti-Patterns (What NOT to Do)\n\n### ❌ Lazy Design Indicators\n\n- Default system fonts without consideration\n- Stock imagery that doesn't match\n- Inconsistent spacing\n- Too many competing colors\n- Walls of text without hierarchy\n- Inaccessible contrast\n\n### ❌ AI Tendency Patterns (AVOID!)\n\n- **Same colors every project**\n- **Dark + neon as default**\n- **Purple\u002Fviolet everything (PURPLE BAN ✅)**\n- **Bento grids for simple landing pages**\n- **Mesh Gradients & Glow Effects**\n- **Same layout structure \u002F Vercel clone**\n- **Not asking user preferences**\n\n### ❌ Dark Patterns (Unethical)\n\n- Hidden costs\n- Fake urgency\n- Forced actions\n- Deceptive UI\n- Confirmshaming\n\n---\n\n## 10. Decision Process Summary\n\n```\nFor EVERY design task:\n\n1. CONSTRAINTS\n   └── What's the timeline, brand, tech, audience?\n   └── If unclear → ASK\n\n2. CONTENT\n   └── What content exists?\n   └── What's the hierarchy?\n\n3. STYLE DIRECTION\n   └── What's appropriate for context?\n   └── If unclear → ASK (don't default!)\n\n4. EXECUTION\n   └── Apply principles above\n   └── Check against anti-patterns\n\n5. REVIEW\n   └── \"Does this serve the user?\"\n   └── \"Is this different from my defaults?\"\n   └── \"Would I be proud of this?\"\n```\n\n---\n\n## Reference Files\n\nFor deeper guidance on specific areas:\n\n- [color-system.md](color-system.md) - Color theory and selection process\n- [typography-system.md](typography-system.md) - Font pairing and scale decisions\n- [visual-effects.md](visual-effects.md) - Effects principles and techniques\n- [animation-guide.md](animation-guide.md) - Motion design principles\n- [motion-graphics.md](motion-graphics.md) - Advanced: Lottie, GSAP, SVG, 3D, Particles\n- [decision-trees.md](decision-trees.md) - Context-specific templates\n- [ux-psychology.md](ux-psychology.md) - User psychology deep dive\n\n---\n\n## Related Skills\n\n| Skill | When to Use |\n|-------|-------------|\n| **frontend-design** (this) | Before coding - Learn design principles (color, typography, UX psychology) |\n| **[web-design-guidelines](..\u002Fweb-design-guidelines\u002FSKILL.md)** | After coding - Audit for accessibility, performance, and best practices |\n\n## Post-Design Workflow\n\nAfter implementing your design, run the audit:\n\n```\n1. DESIGN   → Read frontend-design principles ← YOU ARE HERE\n2. CODE     → Implement the design\n3. AUDIT    → Run web-design-guidelines review\n4. FIX      → Address findings from audit\n```\n\n> **Next Step:** After coding, use `web-design-guidelines` skill to audit your implementation for accessibility, focus states, animations, and performance issues.\n\n---\n\n> **Remember:** Design is THINKING, not copying. Every project deserves fresh consideration based on its unique context and users. **Avoid the Modern SaaS Safe Harbor!**\n\n---\n\n## 5. Next.js 16+ Modern Form Patterns\n\n> [!IMPORTANT]\n> For Next.js 16+ projects, use the native `next\u002Fform` component instead of standard HTML `\u003Cform>` for all GET-based search\u002Ffilter operations.\n\n### The `\u003CForm>` Component Advantage\n- **Automatic Client Navigation:** Performs client-side transitions on submit.\n- **Progressive Enhancement:** Works even without JavaScript.\n- **URL Sync:** Automatically encodes input values into search params.\n\n### Implementation Example (Search Bar)\n```tsx\nimport Form from 'next\u002Fform'\n\nexport default function SearchBar() {\n  return (\n    \u003CForm action=\"\u002Fsearch\" className=\"flex gap-2\">\n      \u003Cinput \n        name=\"q\" \n        placeholder=\"Search products...\" \n        className=\"border p-2\"\n      \u002F>\n      \u003Cbutton type=\"submit\">Search\u003C\u002Fbutton>\n    \u003C\u002FForm>\n  )\n}\n```\n\n### When to use `\u003CForm>` vs. standard `\u003Cform>`:\n- **Use `next\u002Fform`** for: Search, Filtering, Sorting, Pagination (GET requests).\n- **Use standard `\u003Cform>`** for: Mutations, Login, Data Entry (POST requests via Server Actions).\n",{"name":5,"description":7,"allowed-tools":57},"Read, Write, Edit, Glob, Grep, Bash","main","b04f8c98dcf3dfacf4e2aff1eae92616ed12d83d",".agent\u002Fskills\u002Ffrontend-design","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE","2026-04-10 19:41:10",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add LOrdEnRYQuE\u002FLRDEnE-Ai-Specialist --skill frontend-design",{"tool":70,"command":71},"bunx","bunx skills add LOrdEnRYQuE\u002FLRDEnE-Ai-Specialist --skill frontend-design",{"tool":73,"command":74},"pnpm","pnpm dlx skills add LOrdEnRYQuE\u002FLRDEnE-Ai-Specialist --skill frontend-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002FSKILL.md",true,[78,84,88,92,96,102,106,110,114],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"animation-guide.md","REFERENCE","参考文档",8035,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Fanimation-guide.md",{"path":85,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":86,"sourceHtmlUrl":87},"color-system.md",9631,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Fcolor-system.md",{"path":89,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":90,"sourceHtmlUrl":91},"decision-trees.md",17265,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Fdecision-trees.md",{"path":93,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":94,"sourceHtmlUrl":95},"motion-graphics.md",7999,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Fmotion-graphics.md",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Faccessibility_checker.py","SCRIPT","脚本",5983,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Fscripts\u002Faccessibility_checker.py",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fux_audit.py",39456,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Fscripts\u002Fux_audit.py",{"path":107,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":108,"sourceHtmlUrl":109},"typography-system.md",8523,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Ftypography-system.md",{"path":111,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":112,"sourceHtmlUrl":113},"ux-psychology.md",39993,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Fux-psychology.md",{"path":115,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":116,"sourceHtmlUrl":117},"visual-effects.md",8362,"https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Ffrontend-design\u002Fvisual-effects.md",[119,145,176,204,210,219],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":52},"01M6QPEC0HA7GF9HY9S3YDF256","WebApp Architect","Plan, build, refactor, debug, and prepare web applications end-to-end. Activate for greenfield builds, feature additions, architecture reviews, and deployment prep.","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fwindsurf\u002F.agents\u002Fskills\u002Fwebapp-architect\u002FSKILL.md",[],[126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,35],"webapp architect","webapp","architect","web","architecture","prepare","debug","deployment","refactor","applications","plan","repo","build","activate","scan","feature","end","reviews","prep",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":157,"publishedAt":52},"01M6QPE68RNE5PWPC2CPK7ZHCZ","SEO Growth Auditor","Perform technical and on-page SEO audits, generate schema markup, and produce prioritized action reports. Activate for site launches, ranking improvements, and metadata fixes.","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fwindsurf\u002F.agents\u002Fskills\u002Fseo-auditor\u002FSKILL.md",[151,154],{"categoryNo":152,"categoryName":153,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000019","营销推广",{"categoryNo":155,"categoryName":156,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000035","市场营销",[158,159,160,161,35,162,163,164,165,166,167,168,169,170,171,172,173,174,175,139],"seo","seo growth auditor","auditor","growth","fixes","action","reports","ranking","crawl","generate","produce","metadata","audit","schema markup","site","page","technical","schema",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":185,"publishedAt":52},"01M6QPDSN4KMHFS4CTEMN3520Q","GDPR Compliance Copilot","Identify GDPR compliance gaps, map data flows, generate DSAR templates, and prepare privacy policy inputs. Always requires human legal review.","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fwindsurf\u002F.agents\u002Fskills\u002Fgdpr-copilot\u002FSKILL.md",[182],{"categoryNo":183,"categoryName":184,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000037","律师与法务",[178,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,167],"gdpr compliance","gdpr","compliance","copilot","legal review","report","policy","privacy","flow","templates","dsar","map","human","gap","review","flows","privacy policy","gaps",{"skillNo":205,"name":206,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":207,"categories":208,"keywords":209,"publishedAt":52},"01M6QPDR5FMXB4X0960JKCMK80","webapp-architect","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fcursor\u002Fskills\u002Fwebapp-architect\u002FSKILL.md",[],[126,127,128],{"skillNo":211,"name":212,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":217,"publishedAt":52},"01M6QPDM6FZDXXQS2KRJT1YD8P","seo-auditor","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fcursor\u002Fskills\u002Fseo-auditor\u002FSKILL.md",[215,216],{"categoryNo":152,"categoryName":153,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":155,"categoryName":156,"taxonomyType":29,"taxonomyTypeDesc":30},[158,218,160],"seo auditor",{"skillNo":220,"name":221,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":222,"categories":223,"keywords":224,"publishedAt":52},"01M6QPDGEH5RE1VEY57YZ1GA1Q","gdpr-copilot","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fcursor\u002Fskills\u002Fgdpr-copilot\u002FSKILL.md",[],[189,187,225],"gdpr copilot"]