Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

frontend-design前端设计

Agent Skill

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

总安装

264

周安装

11

GitHub Stars

12

下载量

88
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/b1rdmania/claude-brand-skills --skill frontend-design

简介

Frontend Design 提供生产级前端界面实现,注重细节与创意选择,输出可直接运行的代码。

  • 适用于构建 React、Next.js、Vue 等框架下的组件、页面或完整应用界面。
  • 需用户提供明确需求与技术栈信息,对 LLM 设计局限保持透明并引导补充关键上下文。
  • 生成代码需嵌入现有路由与构建系统,避免孤立片段导致样式断裂或功能异常。
  • 改动真实页面时应配合本地预览与构建检查,确认文本溢出、对齐与响应式表现正常。

SKILL.md

This skill guides creation of distinctive, production-grade frontend interfaces. 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.


A note on LLM design limitations — read this first

Be transparent with the user about this. Before generating any design, the user needs to understand what you can and can't do, so they know where their input is critical.

What you struggle with and why

You generate design by predicting the most probable next token. This means every design choice you make gravitates toward the statistical center of your training data — the average of "good design." You will produce competent, well-structured, polished work that looks like every other competent, well-structured, polished work. This isn't laziness — it's how the mechanism works. The average is what you're optimized to find.

Specifically:

  • You can't see what you're producing. You write HTML/CSS as text tokens. You have no visual feedback loop. You cannot perceive whether something looks beautiful, unsettling, boring, or distinctive. You're painting blindfolded.
  • You optimize for coherence. Your training rewards consistency, polish, and completeness. Deliberately unfinished, misaligned, or rule-breaking design goes against your weights. When you write CSS with a "broken" element, everything in your training pulls you to fix it.
  • You can't feel tension. Great experimental design creates productive discomfort — violating expectations in a way that's generative, not random. You can't feel that discomfort, so you can't calibrate it. You either produce comfortable (convergent) design or break things randomly.
  • You don't have taste. Taste is judgment that isn't reducible to rules. "This feels corporate." "That color is trying too hard." "This needs to breathe." These are perceptual, embodied calls that you can only approximate with heuristics — and heuristics are generalizations, and generalizations converge to the mean.
  • You can generate divergence but you can't evaluate it. You can produce ten structurally different layouts. You genuinely cannot tell which one has the quality of being surprising and right at the same time.

What this means for the user

Your direction and reference material are not optional — they are the design. You are the hand, not the eye. The user's taste, references, and gut reactions are what push the output somewhere it would never go alone. Without that input, you will produce the statistical center of whatever category the brief falls into.

The user should:

  • Provide reference images or sites they're drawn to, especially from outside the same industry. A restaurant menu layout applied to a fintech page is more distinctive than any "experimental fintech" prompt.
  • Name what they hate, not just what they want. "I hate card grids" is more useful than "make it interesting" because it eliminates a convergence attractor.
  • Expect to do multiple rounds. The first output will be the most average. Each round of "kill this, keep that, push this further" moves the design away from the center.
  • Kill boldly. If a variant feels safe or familiar, it is. The user's discomfort with a variant is often a signal that it's actually distinctive — unfamiliarity feels wrong before it feels right.

The process that works

Do not treat this as a single-pass pipeline (brief → design → done). That guarantees convergence. Instead:

  1. Diverge: Generate 3-5 structurally different variants. Not color/font swaps — fundamentally different spatial logic, rhythm, and composition. Each variant should explicitly name what design convention it's "fighting."
  2. Kill: User makes binary decisions. Alive or dead. No blending — blending is averaging.
  3. Mutate: Within the surviving direction, introduce deliberate "breaks" — named violations of design convention. The user picks which breaks work.
  4. Repeat: Each cycle moves further from the center. The user's selections are the creative act. You're the generator.

Deploy variants to a comparison page so the user can see them side by side in a browser, not described in text. Visual comparison is the only honest evaluation.


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?
  • References: Ask the user for reference images, sites, or non-digital references (architecture, print, film, physical objects) that capture something they're drawn to. These are more valuable than any verbal brief.

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: your execution quality is high — you can write precise, sophisticated CSS and build complex interactions. Your weakness is not craft, it's *choice*. You will execute whatever direction you're given with competence. The question is whether the direction itself is distinctive, and that requires the human in the loop. Lean on their references, their reactions, and their taste. They are the eye. You are the hand.

适合场景

01

前端页面设计

02

生成更有辨识度的 UI

03

避免模板化 AI 页面

04

需要统一视觉方向时

能力概览

能力 1

建立明确视觉方向

能力 2

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

能力 3

提醒避免通用模板化设计

能力 4

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

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

平台分布

Codex

34.81%
按下载量换算31

Claude

33.76%
按下载量换算30

Cursor

20.07%
按下载量换算18

Gemini CLI

9.08%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills