// Guide frontend design decisions to create distinctive, creative UIs that avoid generic AI-generated aesthetics. Use when building UI components, designing layouts, selecting colors/fonts, or implementing animations.
| name | frontend-aesthetics |
| description | Guide frontend design decisions to create distinctive, creative UIs that avoid generic AI-generated aesthetics. Use when building UI components, designing layouts, selecting colors/fonts, or implementing animations. |
Create distinctive, creative frontend designs that avoid generic AI-generated aesthetics and cookie-cutter patterns.
Understand the project's brand identity, purpose, and target aesthetic before making design decisions.
Key Questions:
Choose beautiful, unique, and interesting fonts that match the project's character.
AVOID These Generic Fonts:
Recommended Font Categories:
Code/Technical Aesthetics:
Editorial/Sophisticated:
Modern/Clean:
Critical: Vary font choices across different projects. Don't converge on the same selections (like Space Grotesk) across all generations.
Create cohesive color systems using CSS variables with dominant colors and sharp accents.
Principles:
AVOID:
Approach:
Use animations strategically for high-impact moments and delightful micro-interactions.
Animation Priorities:
Implementation Guidelines:
Example Pattern:
.stagger-item {
animation: fadeInUp 0.6s ease-out forwards;
opacity: 0;
}
.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
Create depth and atmosphere through layered backgrounds and contextual effects.
AVOID:
Recommended Approaches:
Example Patterns:
/* Layered gradient */
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
/* Geometric pattern */
background-image:
repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,.05) 10px, rgba(0,0,0,.05) 20px);
/* Subtle noise texture */
background-image: url('data:image/svg+xml,...'), linear-gradient(...);
Review the design against common AI-generated UI pitfalls.
Anti-Pattern Checklist:
Provide specific, actionable design recommendations.
Expected Output:
{
"typography": {
"primary": "Font name and reasoning",
"secondary": "Font name and reasoning",
"code": "Monospace font (if applicable)"
},
"colors": {
"dominant": ["#hex1", "#hex2"],
"accent": ["#hex3"],
"theme_inspiration": "IDE theme or cultural aesthetic reference"
},
"animations": {
"approach": "CSS-only or Framer Motion",
"focus": "Page load orchestration or micro-interactions",
"key_moments": ["List of high-impact animation opportunities"]
},
"backgrounds": {
"technique": "Layered gradients, geometric patterns, etc.",
"atmosphere": "Description of desired depth/mood"
},
"anti_pattern_validation": {
"passed": true,
"warnings": []
}
}
Input:
{
"project": "Developer documentation platform",
"brand": "Technical, clean, code-focused",
"audience": "Software engineers"
}
Output:
{
"typography": {
"primary": "DM Sans - modern, readable, technical feel without being generic",
"secondary": "Crimson Pro - for editorial content and longer reads",
"code": "JetBrains Mono - excellent code aesthetics with ligatures"
},
"colors": {
"dominant": ["#0f172a", "#1e293b"],
"accent": ["#38bdf8", "#f97316"],
"theme_inspiration": "Tokyo Night - dark blues with bright cyan and orange accents"
},
"animations": {
"approach": "CSS-only for performance",
"focus": "Staggered page load for documentation sections",
"key_moments": ["Code block reveal", "Navigation transitions", "Search result appearance"]
},
"backgrounds": {
"technique": "Dark gradient with subtle grid pattern overlay",
"atmosphere": "Technical depth with code editor vibe"
},
"anti_pattern_validation": {
"passed": true,
"warnings": []
}
}
Input:
{
"project": "Design agency portfolio",
"brand": "Bold, creative, experimental",
"audience": "Potential clients seeking innovative design"
}
Output:
{
"typography": {
"primary": "Playfair Display - elegant, sophisticated, makes a statement",
"secondary": "Outfit - modern contrast for body text",
"code": "Not applicable"
},
"colors": {
"dominant": ["#000000", "#fffef7"],
"accent": ["#ff6b35", "#00d9ff"],
"theme_inspiration": "High-contrast editorial with vibrant accent pops"
},
"animations": {
"approach": "Framer Motion for complex orchestration",
"focus": "Full-page orchestrated entry sequence",
"key_moments": ["Hero text reveal with stagger", "Project thumbnails parallax", "Section transitions"]
},
"backgrounds": {
"technique": "Animated gradient mesh with organic shapes",
"atmosphere": "Dynamic, bold, artistic depth"
},
"anti_pattern_validation": {
"passed": true,
"warnings": []
}
}
Input:
{
"project": "SaaS dashboard",
"proposed_design": {
"font": "Inter",
"colors": ["#6366f1", "#8b5cf6", "#ffffff"],
"background": "solid white",
"animations": "minimal button hovers"
}
}
Output:
{
"typography": {
"primary": "REJECTED: Inter is overused. Recommend: Plus Jakarta Sans - similar readability, more distinctive",
"secondary": "Consider Spectral for data-heavy sections to add visual interest"
},
"colors": {
"dominant": ["#0c4a6e", "#082f49"],
"accent": ["#06b6d4", "#fbbf24"],
"theme_inspiration": "REJECTED: Purple gradient is clichéd. Recommend: Deep ocean blues with cyan/amber accents (Dracula-inspired)"
},
"animations": {
"approach": "Framer Motion",
"focus": "UPGRADE: Add orchestrated dashboard load sequence",
"key_moments": ["Staggered card reveals", "Chart animations", "Data transitions"]
},
"backgrounds": {
"technique": "REJECTED: Solid white is flat. Recommend: Subtle gradient with noise texture",
"atmosphere": "Add depth with layered backgrounds and geometric patterns"
},
"anti_pattern_validation": {
"passed": false,
"warnings": [
"Using Inter font (generic AI aesthetic)",
"Purple gradient color scheme (overused)",
"Solid white background (no atmosphere)",
"Minimal animations (missed opportunities for delight)"
]
}
}
Input:
{
"project": "Premium fashion e-commerce",
"brand": "Luxury, minimalist, editorial",
"audience": "High-end fashion consumers"
}
Output:
{
"typography": {
"primary": "Lora - sophisticated serif for luxury feel",
"secondary": "DM Sans - clean sans-serif for product details and UI",
"code": "Not applicable"
},
"colors": {
"dominant": ["#1a1a1a", "#f5f5f0"],
"accent": ["#c4a57b"],
"theme_inspiration": "Luxury editorial - black, cream, gold accent"
},
"animations": {
"approach": "CSS-only for lightweight performance",
"focus": "Smooth product image transitions and subtle reveals",
"key_moments": ["Product image crossfade", "Size selector micro-interaction", "Add to cart confirmation"]
},
"backgrounds": {
"technique": "Soft gradient from cream to off-white with subtle texture",
"atmosphere": "Luxurious, tactile, premium feel"
},
"anti_pattern_validation": {
"passed": true,
"warnings": []
}
}
Before implementing UI components, invoke frontend-aesthetics Skill to receive design guidance:
## Step 1: Design Guidance
Use frontend-aesthetics Skill to get typography, color, animation, and background recommendations.
Input: Project context, brand identity, target aesthetic
Output: Comprehensive design guidance with specific recommendations
Validate output against anti-patterns before proceeding.
Use frontend-aesthetics Skill to evaluate existing frontend code for generic patterns:
## Step 3: Frontend Aesthetics Review
Use frontend-aesthetics Skill in validation mode:
- Extract current font choices from CSS
- Identify color palette from CSS variables
- Review animation implementation
- Check background complexity
Flag any anti-patterns detected.
Include frontend-aesthetics validation in quality gates:
## Phase 2: Design Review
Use frontend-aesthetics Skill to validate design choices:
1. Check typography selection
2. Validate color scheme
3. Review animation approach
4. Assess background depth
If anti_pattern_validation.passed == false:
Delegate design improvements to frontend worker
Based on official Anthropic guidance: "Improving Claude's front-end aesthetic sense" (2025-01-15)