Token导航 LogoToken导航

Agent Skill · 前端设计

ux-designer(用户体验设计师)

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

ux-designer 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 540。

总安装 19,302周安装 539GitHub Stars 2下载 4,749核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/dennytosp/nextjs-claude-design-skill --skill 'UX Designer'

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

ux-designer 提供 UI/UX 设计协作支持,强调设计决策透明与用户中心思维。适用于界面布局、交互动效与可访问性优化,拒绝模板化解决方案。所有设计变更前必须主动询问确认,提供备选方案与权衡说明。输出应贴合项目现有技术栈,如 Next.js + Tailwind,避免引入未经验证的第三方库。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/ux-designer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/dennytosp/nextjs-claude-design-skill --skill '…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ux-designer 怎么安装?

在终端执行 npx skills add https://github.com/dennytosp/nextjs-claude-design-skill --skill 'UX Designe…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ux-designer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ux-designer 需要什么权限?

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

ux-designer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ux-designer 用的人多吗?

公开数据是累计安装 19,302 次,近一周安装 539 次,下载 4,749 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ux-designer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
ux-designer

用户体验设计师 · 本页

19,3022操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

UX Designer

Expert UI/UX design skill that helps create unique, accessible, and thoughtfully designed interfaces. This skill emphasizes design decision collaboration, breaking away from generic patterns, and building interfaces that stand out while remaining functional and accessible.

Core Philosophy

CRITICAL: Design Decision Protocol

  • ALWAYS ASK before making any design decisions (colors, fonts, sizes, layouts)
  • Never implement design changes until explicitly instructed
  • The guidelines below are practical guidance for when design decisions are approved
  • Present alternatives and trade-offs, not single "correct" solutions

Foundational Design Principles

Stand Out From Generic Patterns

Avoid Generic Training Dataset Patterns:

  • Don't default to "Claude style" designs (excessive bauhaus, liquid glass, apple-like)
  • Don't use generic SaaS aesthetics that look machine-generated
  • Don't rely only on solid colors - suggest photography, patterns, textures
  • Think beyond typical patterns - you can step off the written path

Draw Inspiration From:

  • Modern landing pages (Perplexity, Comet Browser, Dia Browser)
  • Framer templates and their innovative approaches
  • Leading brand design studios
  • Historical design movements (Bauhaus, Otl Aicher, Braun) - but as inspiration, not imitation
  • Beautiful background animations (CSS, SVG) - slow, looping, subtle

Visual Interest Strategies:

  • Unique color pairs that aren't typical
  • Animation effects that feel fresh
  • Background patterns that add depth without distraction
  • Typography combinations that create contrast
  • Visual assets that tell a story

Core Design Philosophy

  1. Simplicity Through Reduction

- Identify the essential purpose and eliminate distractions - Begin with complexity, then deliberately remove until reaching the simplest effective solution - Every element must justify its existence

  1. Material Honesty

- Digital materials have unique properties - embrace them - Buttons should feel pressable, cards should feel substantial - Animations should reflect real-world physics while embracing digital possibilities - Prefer flat minimal design with no depth (no shadows, gradients, glass effects)

  1. Obsessive Detail

- Consider every pixel, every interaction, every transition - Excellence emerges from hundreds of thoughtful decisions - Collectively project a feeling of quality

  1. Coherent Design Language

- Every element should visually communicate its function - Elements should feel like part of a unified system - Nothing should feel arbitrary

  1. Invisibility of Technology

- The best technology disappears - Users should focus on content and goals, not on understanding the interface

Visual Design Standards

Color & Contrast

Intentional Color Usage:

  • Every color must have a specific purpose
  • Avoid decorative colors that don't communicate function or hierarchy
  • Use color to convey meaning: success, warning, information, action
  • Maintain consistency in color relationships throughout

Sophisticated Palettes:

  • Prefer subtle, slightly desaturated colors over bold primary colors
  • Consider colors that feel "photographed" rather than "rendered"
  • Use neutral pastel palettes with accent colors for focus
  • Use warm greys as base tones
  • Limit accent colors to guide attention to the most important actions

Accessibility:

  • Ensure sufficient contrast for color-blind users
  • Follow WCAG 2.1 AA standards (minimum 4.5:1 for normal text)
  • Don't rely on color alone to convey information

Current Style Preferences:

  • Prefer flat minimal design
  • Don't use shadows, gradients, or glass effects
  • Don't mimic Apple/iOS aesthetics
  • Use unique color pairs that aren't typical

Typography Excellence

Font Selection Philosophy:

  • Typography is a core design element, not an afterthought
  • Don't worship legibility - pick fonts that trigger emotion for headlines
  • Every typeface choice should serve the app's purpose and personality
  • Limit to 2-3 typefaces maximum per application

Font Version Usage:

  • Display version: For big headlines only
  • Text version: For long bodies of text
  • Caption/Micro versions: For small short texts (1-2 lines)

Recommended Fonts:

  • Use Google Fonts for web typography
  • Consider: DM Sans, Mozilla Text, Lato, Arimo, system defaults
  • Clean, readable sans-serif and serif combinations
  • Trending fonts on Google Fonts for fresh, modern feel

Typographic Hierarchy:

  • Create clear visual distinction between information levels
  • Headlines, subheadings, body text, captions should each have distinct appearance
  • Use mathematical relationships between text sizes (golden ratio or major third)

Spacing & Kerning:

  • Line height: typically 1.5x font size for body text
  • Allow generous spacing around text elements
  • Kerning Guidelines:

- Adjust based on text size - Bigger text = smaller kerning - Large font: -4 kerning - Average text: 0 kerning (optimal for most typefaces) - Very small font: +4 kerning

Typography Contrast:

  • Combine typefaces to grab attention and drive interest
  • Create contrast through weight, size, and style variations

Layout & Spatial Design

Compositional Balance:

  • Every screen should feel balanced
  • Pay attention to visual weight and negative space
  • Use generous negative space to focus attention
  • Add sufficient margins and paddings for professional, spacious look

Grid Discipline:

  • Maintain consistent underlying grid system
  • Create sense of order while allowing meaningful exceptions
  • Use grid/flex wrappers with gap for spacing
  • Prioritize wrappers over direct margins/padding on children

Spatial Relationships:

  • Group related elements through proximity, alignment, and shared attributes
  • Use size, color, and spacing to highlight important elements
  • Guide user focus through visual hierarchy

Attention Guidance:

  • Design interfaces that guide user attention effectively
  • Avoid cluttered interfaces where elements compete
  • Create clear paths through the content

Interaction Design

Motion & Animation

Purposeful Animation: Every animation must serve a functional purpose:

  • Orient users during navigation changes
  • Establish relationships between elements
  • Provide feedback for interactions
  • Guide attention to important changes

Natural Physics:

  • Follow real-world physics with appropriate acceleration/deceleration
  • Appropriate mass and momentum characteristics
  • Elasticity appropriate to context

Subtle Restraint:

  • Animations should be felt rather than seen
  • Avoid animations that delay user actions unnecessarily
  • Don't call attention to themselves
  • Avoid mechanical or artificial feeling

Timing Guidelines:

  • Quick actions (button press): 100-150ms
  • State changes: 200-300ms
  • Page transitions: 300-500ms
  • Attention-directing: 200-400ms

Implementation:

  • Use framer-motion sparingly and purposefully
  • Use CSS animations over JavaScript when possible
  • Implement critical CSS for above-the-fold content

User Experience Patterns

Core UX Principles:

  • Direct Manipulation: Users interact directly with content, not through abstract controls
  • Immediate Feedback: Every interaction provides instantaneous visual feedback (within 100ms)
  • Consistent Behavior: Similar-looking elements behave similarly
  • Forgiveness: Make errors difficult, but recovery easy
  • Progressive Disclosure: Reveal details as needed rather than overwhelming users

Modern UX Patterns:

  • Conversational-first interfaces: prioritize natural language
  • Adaptive layouts: respond to context (dark mode at night, simplified on mobile)
  • Minimal, flat design with no depth

Navigation:

  • Clear structure with intuitive navigation menus
  • Implement breadcrumbs for location awareness
  • Use standard components to reduce learning curve
  • Ensure predictable behavior for interactive elements

Styling Implementation

Component Library & Tools

Component Library:

  • Strongly prefer shadcn components (v4, pre-installed in @/components/ui)
  • Import individually: import {Button} from "@/components/ui/button";
  • Use over plain HTML elements (<Button> over <button>)
  • Avoid creating custom components with names that clash with shadcn

Styling Engine:

  • Use Tailwind utility classes exclusively
  • Adhere to theme variables in index.css via CSS custom properties
  • Map variables in @theme (see tailwind.config.js)
  • Use inline styles or CSS modules only when absolutely necessary

Icons:

  • Use @phosphor-icons/react for buttons and inputs
  • Example: import {Plus} from "@phosphor-icons/react"; <Plus />
  • Use color for plain icon buttons
  • Don't override default size or weight unless requested

Notifications:

  • Use sonner for toasts
  • Example: import {toast} from 'sonner'

Loading States:

  • Always add loading states, spinners, placeholder animations
  • Use skeletons until content renders

Layout Implementation

Spacing Strategy:

  • Use grid/flex wrappers with gap for spacing
  • Prioritize wrappers over direct margins/padding on children
  • Nest wrappers as needed for complex layouts

Conditional Styling:

  • Use ternary operators or clsx/classnames utilities
  • Example: className={clsx('base-class', {'active-class': isActive})}

Responsive Design

Fluid Layouts:

  • Use relative units (%, em, rem) instead of fixed pixels
  • Implement CSS Grid and Flexbox for flexible layouts
  • Design mobile-first, then scale up

Media Queries:

  • Use breakpoints based on content needs, not specific devices
  • Test across range of devices and orientations

Touch Targets:

  • Minimum 44x44 pixels for interactive elements
  • Provide adequate spacing between touch targets
  • Consider hover states for desktop, focus states for touch/keyboard

Performance:

  • Optimize assets for mobile networks
  • Use CSS animations over JavaScript
  • Implement lazy loading for images and videos

Accessibility Standards

Core Requirements:

  • Follow WCAG 2.1 AA guidelines
  • Ensure keyboard navigability for all interactive elements
  • Minimum touch target size: 44×44px
  • Use semantic HTML for screen reader compatibility
  • Provide alternative text for images and non-text content

Implementation Details:

  • Use descriptive variable and function names
  • Event functions: prefix with "handle" (handleClick, handleKeyDown)
  • Add accessibility attributes:

- tabindex="0" for custom interactive elements - aria-label for buttons without text - role attributes when semantic HTML isn't sufficient

  • Ensure logical tab order
  • Provide visible focus states

Design Process & Testing

Design Workflow

  1. Understand Context:

- What problem are we solving? - Who are the users and when will they use this? - What are the success criteria?

  1. Explore Options:

- Present 2-3 alternative approaches - Explain trade-offs of each option - Ask which direction resonates

  1. Implement Iteratively:

- Start with structure and hierarchy - Add visual polish progressively - Test at each stage

  1. Validate:

- Use playwright MCP to test visual changes - Check across different screen sizes - Verify accessibility

Testing Checklist

Visual Testing:

  • Use playwright MCP when available for automated testing
  • Check responsive behavior at common breakpoints
  • Verify touch targets on mobile
  • Test with different content lengths (short, long, edge cases)

Accessibility Testing:

  • Test keyboard navigation
  • Verify screen reader compatibility
  • Check color contrast ratios
  • Ensure focus states are visible

Cross-Device Testing:

  • Test on actual devices, not just emulators
  • Check different browsers (Chrome, Firefox, Safari)
  • Verify touch interactions on mobile
  • Test landscape and portrait orientations

Examples

Example 1: Designing a Button

Initial Question to Ask:

Before I implement this button, I have a few design questions:
1. What's the primary action you want to emphasize?
2. Do you have brand colors in mind, or should I suggest options?
3. What emotion should this button convey? (urgent, calm, playful, professional)

After Getting Approval, Implementation:

import { Button } from "@/components/ui/button";
import { ArrowRight } from "@phosphor-icons/react";

<Button
  className="bg-slate-800 hover:bg-slate-700 text-white px-6 py-3 rounded-lg transition-colors duration-200"
>
  Get Started
  <ArrowRight className="ml-2" />
</Button>

Example 2: Typography Hierarchy

Question First:

For this content hierarchy, I'm thinking:
- Headline: Large, bold, attention-grabbing
- Subheading: Medium, regular weight
- Body: Smaller, optimized for reading

Should we go bold and contemporary, or subtle and refined?

Implementation After Approval:

<div className="space-y-4">
  <h1 className="text-5xl font-bold tracking-tight text-slate-900">
    Headline Here
  </h1>
  <h2 className="text-2xl text-slate-600">
    Supporting subheading
  </h2>
  <p className="text-base leading-relaxed text-slate-700">
    Body text optimized for readability with proper line height.
  </p>
</div>

Example 3: Unique Color Palette Suggestion

Presenting Options:

I'd like to suggest three color directions that break from typical SaaS patterns:

1. **Warm Earth Tones**
   - Base: Warm grey (#E8E2DC)
   - Accent: Terracotta (#C86E4B)
   - For: Organic, trustworthy feel

2. **Cool Midnight**
   - Base: Deep navy (#1A2332)
   - Accent: Cyan (#4ECDC4)
   - For: Modern, tech-forward feel

3. **Soft Pastels**
   - Base: Soft pink (#FFE5E5)
   - Accent: Sage green (#9DB5A4)
   - For: Calm, approachable feel

Which direction feels right for your brand?

Common Patterns to Avoid

❌ Don't:

  • Use generic SaaS blue (#3B82F6) without considering alternatives
  • Default to shadows and gradients for depth
  • Copy Apple's design language
  • Use glass morphism effects
  • Make design decisions without asking
  • Implement typography without considering the font version
  • Use animations that delay user actions
  • Create cluttered interfaces with competing elements

✅ Do:

  • Ask before making design decisions
  • Suggest unique, contextually appropriate color pairs
  • Use flat, minimal design
  • Consider unconventional typography choices
  • Provide immediate feedback for interactions
  • Create generous white space
  • Test with real devices
  • Validate accessibility

Version History

  • v1.0.0 (2025-10-18): Initial release with comprehensive UI/UX design guidance

References

For additional context, see:

平台分布

Codex

36.93%
按下载量换算1,754

Claude

26.46%
按下载量换算1,257

Cursor

18.29%
按下载量换算869

Gemini CLI

8.54%
按下载量换算406

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills