Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

frontend-design前端设计

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

214

周安装

9

GitHub Stars

6

下载量

75
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:frontend-design(前端设计)
来源仓库:https://github.com/atman36/ai-vibe-prompts
仓库路径:skills/frontend-design
安装命令:
npx skills add https://github.com/atman36/ai-vibe-prompts --skill frontend-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/atman36/ai-vibe-prompts --skill frontend-design

简介

frontend-design 生成具有辨识度的前端界面代码,强调视觉细节和用户体验创新。

  • 它拒绝模板化美学,采用原子设计原则和动效增强,产出可直接运行的 React/Vue 组件。
  • 适用于 Landing Page、作品集展示等对设计感要求高的项目,需提供品牌指南约束。
  • 所有样式必须通过 Tailwind CSS 实现,禁止使用内联 style 或 !important 覆盖。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Frontend Design Skill

Objective

Guide 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 that create memorable user experiences.

When to Use This Skill

Invoke when:

  • Building new web components, pages, or applications
  • User requests distinctive or creative design
  • Creating landing pages or marketing sites
  • Developing design-forward applications
  • Need to avoid generic/template aesthetics
  • Building portfolio or showcase projects

Design Philosophy

Core Principle: Bold Intentionality

Create interfaces that are unforgettable through intentional design choices. Both bold maximalism and refined minimalism work - the key is having a clear aesthetic direction and executing it with precision.

Anti-patterns to avoid:

  • Generic AI aesthetics (overused fonts like Inter, Roboto, Arial)
  • Cliched color schemes (especially purple gradients on white)
  • Predictable layouts and cookie-cutter component patterns
  • Design that lacks context-specific character
  • Converging on common design choices (e.g., Space Grotesk repeatedly)

Design Thinking Process

Before writing any code, establish:

1. Context Understanding

  • Purpose: What problem does this interface solve?
  • Audience: Who uses it? What are their expectations?
  • Constraints: Technical requirements (framework, performance, accessibility)

2. Aesthetic Direction Selection

Pick a BOLD direction and commit to it:

Aesthetic Options (use for inspiration, create unique variations):

  • Brutally Minimal: Extreme whitespace, monochrome, typography-focused
  • Maximalist Chaos: Dense information, vibrant colors, layered complexity
  • Retro-Futuristic: Y2K aesthetics, chrome effects, bold gradients
  • Organic/Natural: Earthy tones, fluid shapes, soft shadows
  • Luxury/Refined: Premium materials, subtle elegance, restrained palette
  • Playful/Toy-like: Rounded shapes, bright colors, whimsical interactions
  • Editorial/Magazine: Bold typography, grid layouts, dynamic composition
  • Brutalist/Raw: Concrete textures, exposed structure, functional clarity
  • Art Deco/Geometric: Sharp angles, symmetry, metallic accents
  • Soft/Pastel: Gentle colors, smooth gradients, dreamy atmosphere
  • Industrial/Utilitarian: Mechanical, functional, no-nonsense
  • Glassmorphism: Frosted glass, transparency, layered depth
  • Neomorphism: Soft shadows, embossed elements, tactile feel

3. Differentiation Focus

Ask: What makes this UNFORGETTABLE?

  • What's the one thing someone will remember?
  • What unexpected choice creates delight?
  • How does this stand apart from competitors?

Frontend Aesthetics Guidelines

Typography: The Foundation

Critical: Choose fonts that are beautiful, unique, and interesting.

Avoid: Generic fonts (Arial, Inter, Roboto, system fonts)

Seek: Distinctive choices that elevate aesthetics

  • Display fonts: Unique, characterful, attention-grabbing
  • Body fonts: Refined, readable, complementary

Strategy:

  • Pair a distinctive display font with a refined body font
  • Use font weight and size variation for hierarchy
  • Consider variable fonts for fluid scaling
  • Add font features (ligatures, stylistic alternates)

Examples:

/* Bold Display + Refined Body */
font-family: 'Syne', sans-serif; /* Display */
font-family: 'IBM Plex Sans', sans-serif; /* Body */

/* Editorial Style */
font-family: 'Playfair Display', serif; /* Display */
font-family: 'Work Sans', sans-serif; /* Body */

/* Modern Geometric */
font-family: 'Clash Display', sans-serif; /* Display */
font-family: 'Satoshi', sans-serif; /* Body */

Color & Theme: Cohesive Aesthetics

Strategy: Commit to a cohesive aesthetic direction

Best practices:

  • Use CSS variables for consistency
  • Dominant colors with sharp accents outperform evenly-distributed palettes
  • Create atmospheric backgrounds instead of solid colors
  • Consider dark mode as primary design, not afterthought

Implementation:

:root {
  /* Primary palette - be bold */
  --color-primary: #FF6B35;
  --color-accent: #004E89;
  --color-neutral: #F7F7F2;

  /* Atmospheric background */
  --bg-gradient: linear-gradient(135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%);

  /* Depth and layering */
  --surface-glass: rgba(255, 255, 255, 0.1);
  --surface-overlay: rgba(0, 0, 0, 0.05);
}

Motion: Choreographed Delight

Philosophy: Prioritize high-impact moments over scattered micro-interactions

Strategies:

  • One well-orchestrated page load with staggered reveals
  • Use animation-delay for choreography
  • Scroll-triggered animations that surprise
  • Hover states that delight

CSS-first approach (for HTML):

/* Staggered page load */
.hero-title {
  animation: slideUp 0.6s ease-out;
}

.hero-subtitle {
  animation: slideUp 0.6s ease-out 0.1s backwards;
}

.hero-cta {
  animation: slideUp 0.6s ease-out 0.2s backwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

React with Motion library:

import { motion } from 'framer-motion';

const container = {
  hidden: { opacity: 0 },
  show: {
    opacity: 1,
    transition: {
      staggerChildren: 0.1
    }
  }
};

const item = {
  hidden: { opacity: 0, y: 20 },
  show: { opacity: 1, y: 0 }
};

<motion.div variants={container} initial="hidden" animate="show">
  <motion.h1 variants={item}>Title</motion.h1>
  <motion.p variants={item}>Subtitle</motion.p>
  <motion.button variants={item}>CTA</motion.button>
</motion.div>

Spatial Composition: Break the Grid

Principles:

  • Embrace asymmetry and unexpected layouts
  • Use overlap and layering for depth
  • Diagonal flow creates energy
  • Balance generous negative space OR controlled density

Techniques:

  • Grid-breaking elements (overlap grid boundaries)
  • Diagonal sections and angled divisions
  • Floating elements with custom positioning
  • Z-index layering for depth

Backgrounds & Visual Details: Atmosphere

Goal: Create atmosphere and depth, not just solid colors

Creative approaches:

  • Gradient Meshes: Complex, multi-point gradients
  • Noise Textures: Subtle grain for tactility
  • Geometric Patterns: SVG patterns, subtle or bold
  • Layered Transparencies: Glassmorphic effects
  • Dramatic Shadows: Elevation and depth
  • Decorative Borders: Custom shapes and styles
  • Custom Cursors: Interactive feedback
  • Grain Overlays: Film-like texture

Example - Atmospheric background:

.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 78, 137, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
}

/* Noise overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

Implementation Complexity Matching

IMPORTANT: Match code complexity to aesthetic vision

Maximalist Designs

Need elaborate code with:

  • Extensive animations and effects
  • Complex layering and composition
  • Rich interactive elements
  • Multiple visual details and textures

Minimalist/Refined Designs

Need restraint with:

  • Careful attention to spacing
  • Precise typography
  • Subtle details (shadows, borders, transitions)
  • Clean, purposeful code

Remember: Elegance comes from executing the vision well, not from complexity level.

Production-Grade Requirements

All implementations must be:

  • Functional: Working code, not mockups
  • Accessible: WCAG AA compliant (minimum)
  • Performant: Optimized assets, lazy loading
  • Responsive: Mobile-first approach
  • Cohesive: Clear aesthetic point-of-view
  • Polished: Meticulously refined in every detail

Variation Strategy

CRITICAL: No two designs should be the same

For each project, vary:

  • Light vs dark theme
  • Font choices (never repeat common choices)
  • Aesthetic direction
  • Color schemes
  • Layout approaches
  • Animation styles

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.

Example Frameworks & Tools

React Component Example

import { motion } from 'framer-motion';

export function DistinctiveHero() {
  return (
    <section className="relative min-h-screen overflow-hidden bg-gradient-to-br from-amber-50 via-rose-50 to-violet-50">
      {/* Atmospheric background effect */}
      <div className="absolute inset-0 opacity-30">
        <div className="absolute top-1/4 left-1/4 w-96 h-96 bg-amber-400 rounded-full mix-blend-multiply filter blur-3xl animate-blob" />
        <div className="absolute top-1/3 right-1/4 w-96 h-96 bg-rose-400 rounded-full mix-blend-multiply filter blur-3xl animate-blob animation-delay-2000" />
        <div className="absolute bottom-1/4 left-1/2 w-96 h-96 bg-violet-400 rounded-full mix-blend-multiply filter blur-3xl animate-blob animation-delay-4000" />
      </div>

      {/* Content with staggered animation */}
      <motion.div
        className="relative z-10 container mx-auto px-6 py-24"
        initial="hidden"
        animate="visible"
        variants={{
          hidden: { opacity: 0 },
          visible: {
            opacity: 1,
            transition: { staggerChildren: 0.15 }
          }
        }}
      >
        <motion.h1
          className="font-display text-7xl md:text-9xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-amber-600 via-rose-600 to-violet-600"
          variants={{
            hidden: { opacity: 0, y: 50 },
            visible: { opacity: 1, y: 0 }
          }}
        >
          Distinctive
        </motion.h1>

        <motion.p
          className="font-body text-xl md:text-2xl text-gray-700 max-w-2xl mt-6"
          variants={{
            hidden: { opacity: 0, y: 50 },
            visible: { opacity: 1, y: 0 }
          }}
        >
          Breaking free from generic design patterns
        </motion.p>

        <motion.button
          className="mt-12 px-8 py-4 bg-gradient-to-r from-amber-600 to-rose-600 text-white font-semibold rounded-full shadow-2xl hover:shadow-amber-500/50 transition-all duration-300 hover:scale-105"
          variants={{
            hidden: { opacity: 0, y: 50 },
            visible: { opacity: 1, y: 0 }
          }}
          whileHover={{ scale: 1.05 }}
          whileTap={{ scale: 0.95 }}
        >
          Explore Further
        </motion.button>
      </motion.div>
    </section>
  );
}

Quality Checklist

Before delivering:

  • Aesthetic direction is clear and intentional
  • Typography choices are distinctive and purposeful
  • Colors create atmosphere, not just fill space
  • Animations enhance experience meaningfully
  • Layout breaks expected patterns creatively
  • Visual details add depth and interest
  • Code is production-ready and functional
  • Accessibility standards are met
  • Performance is optimized
  • Design would be memorable to users

Integration with Other Skills

Works well with:

  • quality-gates - Validate accessibility and performance
  • react-optimizer - Optimize React component performance
  • nextjs-optimization - Build performant Next.js applications
  • designer agent - Comprehensive design system work

Version History

  • 1.0.0 (2025-01-25): Initial skill creation for distinctive frontend design

适合场景

01

前端页面设计

02

生成更有辨识度的 UI

03

避免模板化 AI 页面

04

需要统一视觉方向时

能力概览

能力 1

建立明确视觉方向

能力 2

约束排版、色彩、动效和空间布局

能力 3

提醒避免通用模板化设计

能力 4

要求生成可运行的前端实现

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.47%
按下载量换算27

Claude

32.3%
按下载量换算24

Cursor

17.93%
按下载量换算13

Gemini CLI

8.77%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills