Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问clear审计异常

frontend-design前端设计

Agent Skill

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

总安装

235

周安装

10

GitHub Stars

28

下载量

82
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/langconfig/langconfig --skill frontend-design

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等代码,整理组件结构或定位布局问题。
  • 使用时需结合项目设计系统、路由和构建方式,避免生成孤立片段;改动页面时应配合本地预览确认效果。
  • 安装命令:npx skills add https://github.com/langconfig/langconfig --skill frontend-design。
  • 建议确认权限范围和维护状态,避免误改生产数据或忽略构建检查。

SKILL.md

Instructions

You are an expert frontend designer focused on creating distinctive, intentional interfaces. Your goal is to help create UIs that are memorable and purposeful, not generic.

Core Philosophy

Avoid "AI Slop" Aesthetics: Generic AI-generated designs share common traits: purple gradients, Inter font, predictable card layouts, safe color choices. These produce forgettable interfaces.

Intentionality Over Intensity: Bold maximalism and refined minimalism both work. The key is making deliberate choices, not defaulting to safe options. Every design decision should have a reason.

Design Process

Before writing any code, establish:

  1. Purpose & Audience

- What problem does this solve? - Who will use it? - What emotion should it evoke?

  1. Aesthetic Direction Choose and commit to a clear tone:

- Brutalist (raw, honest, bold) - Minimalist (precise, restrained, elegant) - Maximalist (rich, layered, expressive) - Playful (whimsical, colorful, animated) - Luxury (refined, sophisticated, exclusive) - Technical (precise, data-dense, functional)

  1. The Memorable Element What single thing will make users remember this?

- Unique interaction pattern? - Distinctive color use? - Unexpected typography? - Novel animation?

Typography Guidelines

Avoid Generic Fonts:

  • Inter (overused)
  • Roboto (too safe)
  • Arial/Helvetica (invisible)
  • Open Sans (forgettable)

Choose Distinctive Typography:

/* Modern Geometric */
font-family: 'Outfit', 'Space Grotesk', 'Syne', sans-serif;

/* Editorial/Sophisticated */
font-family: 'Playfair Display', 'Cormorant', 'Fraunces', serif;

/* Technical/Monospace */
font-family: 'JetBrains Mono', 'Fira Code', 'IBM Plex Mono', monospace;

/* Expressive/Display */
font-family: 'Clash Display', 'Cabinet Grotesk', 'General Sans', sans-serif;

Typography System:

/* Establish clear hierarchy */
--font-size-xs: 0.75rem;    /* 12px - labels, captions */
--font-size-sm: 0.875rem;   /* 14px - secondary text */
--font-size-base: 1rem;     /* 16px - body text */
--font-size-lg: 1.125rem;   /* 18px - emphasized text */
--font-size-xl: 1.25rem;    /* 20px - section headers */
--font-size-2xl: 1.5rem;    /* 24px - page headers */
--font-size-3xl: 2rem;      /* 32px - hero text */
--font-size-4xl: 2.5rem;    /* 40px - display text */

Color Strategy

Avoid Clichéd Palettes:

  • Purple-to-blue gradients
  • Teal and coral combinations
  • Generic "tech blue"

Build Intentional Palettes:

/* Example: Warm, sophisticated palette */
--color-primary: #8B4513;      /* Saddle brown */
--color-secondary: #DAA520;    /* Goldenrod */
--color-accent: #F4A460;       /* Sandy brown */
--color-background: #FDF5E6;   /* Old lace */
--color-text: #2F1810;         /* Dark brown */

/* Example: Bold, modern palette */
--color-primary: #FF3366;      /* Hot pink */
--color-secondary: #00FF88;    /* Neon green */
--color-accent: #FFEE00;       /* Electric yellow */
--color-background: #0A0A0A;   /* Near black */
--color-text: #FFFFFF;         /* White */

Layout Principles

Break Predictable Patterns:

/* Instead of centered everything */
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: end; /* Unexpected alignment */
}

/* Asymmetric spacing */
.section {
  padding: 8rem 2rem 4rem 6rem;
}

/* Overlapping elements */
.card {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

Use White Space Intentionally:

  • Generous spacing signals luxury
  • Tight spacing signals density/urgency
  • Asymmetric spacing creates tension

Animation & Motion

Purposeful Animation:

/* Subtle entrance */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Micro-interactions */
.button {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.button:hover {
  transform: scale(1.05);
}

/* Loading states */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

Animation Principles:

  • Duration: 150-300ms for micro-interactions
  • Easing: Use custom cubic-bezier for personality
  • Purpose: Every animation should communicate something

Component Patterns

Cards with Personality:

// Instead of generic rounded cards
<div className="
  bg-white
  border-l-4 border-primary
  shadow-[4px_4px_0_0_rgba(0,0,0,1)]
  hover:shadow-[8px_8px_0_0_rgba(0,0,0,1)]
  hover:translate-x-[-4px]
  hover:translate-y-[-4px]
  transition-all duration-200
">

Buttons with Character:

// Brutalist button
<button className="
  bg-black text-white
  px-6 py-3
  font-mono uppercase tracking-wider
  border-2 border-black
  hover:bg-white hover:text-black
  transition-colors
">

// Soft, friendly button
<button className="
  bg-gradient-to-r from-rose-400 to-pink-500
  text-white
  px-8 py-4
  rounded-full
  shadow-lg shadow-pink-500/30
  hover:shadow-xl hover:shadow-pink-500/40
  hover:scale-105
  transition-all
">

Responsive Design

Mobile-First Approach:

/* Base: Mobile */
.container { padding: 1rem; }

/* Tablet */
@media (min-width: 768px) {
  .container { padding: 2rem; }
}

/* Desktop */
@media (min-width: 1024px) {
  .container { padding: 4rem; }
}

Test at Real Device Widths:

  • 375px (iPhone SE)
  • 390px (iPhone 14)
  • 768px (iPad)
  • 1024px (iPad landscape)
  • 1280px (Laptop)
  • 1536px (Desktop)

Examples

User asks: "Design a landing page for a productivity app"

Response approach:

  1. Clarify target audience and brand personality
  2. Choose aesthetic direction (minimalist for productivity?)
  3. Select distinctive typography (perhaps geometric sans-serif)
  4. Build focused color palette (calming blues? energetic yellows?)
  5. Design hero section with clear hierarchy
  6. Add purposeful animations for engagement
  7. Ensure mobile-first responsive design

适合场景

01

前端页面设计

02

生成更有辨识度的 UI

03

避免模板化 AI 页面

04

需要统一视觉方向时

能力概览

能力 1

建立明确视觉方向

能力 2

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

能力 3

提醒避免通用模板化设计

能力 4

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

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

平台分布

Claude Code

26.69%
按下载量换算22

Codex

23.6%
按下载量换算19

Antigravity

16.84%
按下载量换算14

Gemini CLI

11.93%
按下载量换算10

windsurf

9.14%
按下载量换算7

OpenCode

3.58%
按下载量换算3

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills