This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
Design Thinking
Before coding, understand the 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, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
- Constraints: Technical requirements (framework, performance, accessibility).
- Differentiation: What makes this UNFORGETTABLE? What's the one thing someone will remember?
CRITICAL: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
- - Production-grade and functional
- Visually striking and memorable
- Cohesive with a clear aesthetic point-of-view
- Meticulously refined in every detail
Frontend Aesthetics Guidelines
Focus on:
- - Typography: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. 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. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
- 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. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.
NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.
Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.
IMPORTANT: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.
Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
技能名称:前端设计
详细描述:
本技能指导创建独特、生产级的前端界面,避免通用的AI生成美学。实现真实可运行的代码,并对美学细节和创意选择给予特别关注。
用户提供前端需求:要构建的组件、页面、应用程序或界面。他们可能包含关于用途、受众或技术限制的背景信息。
设计思维
在编码之前,理解背景并致力于一个大胆的美学方向:
- - 目的:这个界面解决什么问题?谁使用它?
- 基调:选择一个极端方向:极致简约、极繁混乱、复古未来、有机自然、奢华精致、俏皮玩具、编辑杂志、粗野原始、装饰几何、柔和粉彩、工业实用等。有众多风格可供选择。以此作为灵感,但设计出符合美学方向的独特风格。
- 约束:技术要求(框架、性能、可访问性)。
- 差异化:什么让这个界面令人难忘?人们会记住哪一点?
关键:选择一个清晰的概念方向并精确执行。大胆的极繁主义和精致的极简主义都可行——关键在于意图性,而非强度。
然后实现可运行的代码(HTML/CSS/JS、React、Vue等),要求:
- - 生产级且功能完整
- 视觉上引人注目且令人难忘
- 具有清晰美学观点的一致性
- 每个细节都经过精心打磨
前端美学指南
重点关注:
- - 排版:选择美观、独特且有趣的字体。避免使用Arial和Inter等通用字体;选择能提升前端美学的独特字体;出人意料、富有特色的字体选择。将独特的展示字体与精致的正文字体搭配。
- 色彩与主题:致力于一致的美学风格。使用CSS变量保持一致性。强烈的主色调配以锐利的强调色,优于胆怯、均匀分布的调色板。
- 动效:使用动画实现效果和微交互。优先使用纯CSS解决方案。React中可用时使用Motion库。聚焦高影响时刻:一次精心编排的页面加载配合交错显示(animation-delay)比分散的微交互更能带来愉悦感。使用滚动触发和令人惊喜的悬停状态。
- 空间构成:出人意料的布局。不对称。重叠。对角线流动。打破网格的元素。慷慨的负空间或可控的密度。
- 背景与视觉细节:营造氛围和深度,而非默认使用纯色。添加与整体美学匹配的情境效果和纹理。运用创意形式,如渐变网格、噪点纹理、几何图案、分层透明度、戏剧性阴影、装饰性边框、自定义光标和颗粒叠加。
绝不使用通用的AI生成美学,如过度使用的字体家族(Inter、Roboto、Arial、系统字体)、陈词滥调的配色方案(特别是白色背景上的紫色渐变)、可预测的布局和组件模式,以及缺乏情境特定特征的千篇一律设计。
创造性地诠释,做出出人意料的选择,让人感觉是为情境量身定制的设计。没有两个设计应该是相同的。在浅色和深色主题、不同字体、不同美学风格之间变化。绝不在不同生成中趋同于常见选择(例如Space Grotesk)。
重要:实现复杂度要与美学愿景匹配。极繁主义设计需要包含大量动画和效果的复杂代码。极简或精致设计需要克制、精确,以及对间距、排版和微妙细节的仔细关注。优雅来自于对愿景的良好执行。
记住:Claude能够完成非凡的创意工作。不要有所保留,展示当跳出框架思考并全身心投入独特愿景时真正能够创造出的成果。