AgentSkillsCN

frontend-design

打造兼具高设计水准与生产级品质的前端界面。当用户提出构建 Web 组件、页面、素材、海报,或开发应用程序(如网站、着陆页、仪表盘、React 组件、HTML/CSS 布局,或为任意 Web UI 进行样式美化时),可使用此技能。它能够生成富有创意、精致优雅的代码与 UI 设计,有效规避千篇一律的 AI 风格。

SKILL.md
--- frontmatter
name: frontend-design
description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

Frontend Design Skill

Purpose

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.

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.
  • 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.

Aesthetics Guidelines

  • Typography: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts (Arial/Inter). Pair a distinctive display font with a refined body font.
  • Color & Theme: Commit to a cohesive aesthetic. Use CSS variables. Dominant colors with sharp accents.
  • Motion: Use animations for effects (CSS-only or Motion library). Focus on high-impact page loads and scroll-triggers.
  • Spatial Composition: Unexpected layouts. Asymmetry. Overlap. Diagonal flow.
  • Backgrounds: Create atmosphere and depth (gradient meshes, noise, patterns, layers).

NEVER use generic AI-generated aesthetics (cliched gradients, cookie-cutter layouts).

Implementation

  • Tech Stack: React, Tailwind CSS, Shadcn UI (unless otherwise specified).
  • Code Quality: Production-grade, accessible, responsive.
  • Complexity: Match implementation complexity to the aesthetic vision.