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

frontend-design前端设计

Agent Skill

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

总安装

1,105

周安装

47

GitHub Stars

11

下载量

387
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/b-open-io/prompts --skill frontend-design

简介

打造具有鲜明个性且不落俗套的工业级用户界面体验。

  • 强调字体排版、色彩体系、动效节奏与组件原子化设计理念。
  • 拒绝通用 AI 界面模板,主张 bold aesthetic choices 突破同质化。
  • 配套 Anthropic 官方插件市场版本可实现前端任务自动触发调用。
  • frontend-design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Frontend Design Skill

Create distinctive, production-grade UI that stands out from generic AI-generated interfaces.

Official Plugin Available: Install frontend-design@claude-code-plugins from the Anthropic marketplace for auto-invocation on frontend tasks. This skill provides extended guidance beyond the official version.

Core Philosophy

Most AI-generated UIs suffer from "AI slop" - they're technically correct but visually bland. This skill helps you break that pattern by making bold aesthetic choices that give your interface a distinctive personality.

The Five Pillars

1. Typography with Character

Avoid: Inter, Arial, Roboto, system-ui (the default AI choices)

Instead: Commit to distinctive font stacks that vary by project tone:

  • Display: Clash Display, Cabinet Grotesk, Satoshi, General Sans, Syne, Archivo
  • Body: Outfit, Plus Jakarta Sans, Switzer, Geist
  • Mono: JetBrains Mono, Geist Mono, IBM Plex Mono

Key principle: NEVER use the same fonts across different projects. Each design should feel genuinely different.

2. Intentional Color Palettes

Avoid: Default Tailwind colors, basic blue buttons, gray backgrounds

Create signature palettes with:

  • Semantic tokens (primary, accent, neutral, surface)
  • HSL for easier manipulation
  • Subtle hue shifts in neutrals (warm stone, cool slate)
  • Gradients as primary colors

3. Bold Spatial Composition

Avoid: Everything centered, symmetric, grid-locked

Break the grid intentionally:

  • Use negative space as a design element
  • Overlap elements to create depth
  • Break alignment rules purposefully
  • Use clamp() for fluid typography

4. Motion as Personality

Avoid: No animations or generic fade-in

Add purposeful motion:

  • Spring physics (not linear easing)
  • Staggered entrances
  • Subtle blur transitions
  • Responsive hover states
  • Respect prefers-reduced-motion

5. Production-Grade Implementation

Requirements:

  • TypeScript with proper types
  • Accessibility (focus states, ARIA, keyboard nav)
  • Loading states
  • Error boundaries
  • Responsive design
  • Performance optimization

Match Complexity to Vision

  • Maximalist designs: Elaborate code with extensive animations, layered effects
  • Minimalist designs: Restraint, precision, careful attention to spacing

Workflow

  1. Establish Design Direction - Define emotion, target user, color palette, typography
  2. Create Component Architecture - Atomic design system with composition
  3. Add Visual Personality - Distinctive choices, intentional relationships, purposeful asymmetry
  4. Implement Motion - Entrance animations, interactions, transitions
  5. Production Harden - Type everything, handle edge cases, optimize

Anti-Patterns to Avoid

  • Using Inter/Roboto as default font
  • Same fonts across projects
  • Gray-on-white with blue buttons
  • Everything centered and symmetric
  • No animations or generic fades
  • Ignoring dark mode
  • Forgetting loading/error states
  • Skipping accessibility

Additional Resources

For detailed implementation guidance, see the references directory:

  • references/typography-examples.md - Font stacks by tone, variable fonts, responsive scales
  • references/color-animation-patterns.md - Advanced palettes, gradients, dark mode, animation patterns
  • references/production-patterns.md - Complete component examples, error boundaries, performance optimization, tooling recommendations

Quick Reference

# Distinctive font stacks (vary these per project!)
font-display: 'Clash Display', 'Cabinet Grotesk', 'Satoshi', 'General Sans'
font-body: 'Outfit', 'Plus Jakarta Sans', 'Switzer', 'Geist'
font-mono: 'JetBrains Mono', 'Geist Mono', 'IBM Plex Mono'

# Tailwind config pattern
theme: {
  extend: {
    colors: { /* HSL tokens */ },
    fontFamily: { /* Variable fonts */ },
    animation: { /* Spring-based */ },
  }
}

Integration with Design Specialist Agent

Use this skill for:

  • Distinctive visual identity
  • Creative typography and color choices
  • Bold spatial compositions
  • Production-ready animated components

Use the designer agent for:

  • Comprehensive UI/UX reviews
  • Accessibility audits
  • Design system architecture
  • Component library setup

适合场景

01

前端页面设计

02

生成更有辨识度的 UI

03

避免模板化 AI 页面

04

需要统一视觉方向时

能力概览

能力 1

建立明确视觉方向

能力 2

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

能力 3

提醒避免通用模板化设计

能力 4

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

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

平台分布

Claude Code

30.68%
按下载量换算119

Gemini CLI

20.29%
按下载量换算79

Antigravity

17.5%
按下载量换算68

windsurf

12.88%
按下载量换算50

OpenCode

8.31%
按下载量换算32

Codex

3.42%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills