--- name: frontend-design description: Use when building web components, pages, or applications — guides creation of distinctive, production-grade frontend interfaces that avoid generic AI aesthetics --- # Frontend Design Create distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices. ## Design Thinking Before coding, understand context and commit to a BOLD aesthetic direction: - **Purpose**: What problem does this interface solve? Who uses it? - **Tone**: Pick an extreme — brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian - **Constraints**: Technical requirements (framework, performance, accessibility) - **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember? Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work — the key is intentionality, not intensity. ## Frontend Aesthetics Guidelines - **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter. Pair a distinctive display font with a refined body font. - **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. - **Motion**: Use animations for effects and micro-interactions. Focus on high-impact moments: one well-orchestrated page load with staggered reveals creates more delight than scattered micro-interactions. - **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density. - **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, grain overlays. ## Anti-Patterns — NEVER Use - Overused font families (Inter, Roboto, Arial, system fonts) - Cliched color schemes (purple gradients on white backgrounds) - Predictable layouts and cookie-cutter component patterns - Generic design that lacks context-specific character - Converging on common choices (Space Grotesk) across generations Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations. Minimalist designs need restraint, precision, and careful attention to spacing, typography, and subtle details. ## Attribution **Derived from** [anthropics/skills/frontend-design](https://github.com/anthropics/skills) — MIT licensed, Copyright (c) Anthropic. Modified for ultrapowers-skills integration.