Token导航 LogoToken导航

Agent Skill · 前端设计

uiux-design-expert(UIUX 设计专家)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

uiux-design-expert 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 7,779。

总安装 343周安装 14GitHub Stars 公开资料未说明下载 111核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/0xkynz/codekit --skill uiux-design-expert

这个 Skill 是做什么的

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

用于辅助界面设计、视觉规范和交互体验优化,适合生成 UI 方案或改进组件层级。适用于整理页面结构、检查视觉一致性,需结合品牌和设计系统使用。通过浏览器预览检查文本溢出和对齐,避免仅堆砌装饰元素。

安装命令:npx skills add https://github.com/0xkynz/codekit --skill uiux-design-expert。注意维护状态及文件读写权限,建议确认项目现有设计规范。

来源仓库内路径:skills/uiux-design-expert

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

uiux-design-expert 怎么安装?

在终端执行 npx skills add https://github.com/0xkynz/codekit --skill uiux-design-expert。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

uiux-design-expert 支持哪些 AI 工具?

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

uiux-design-expert 需要什么权限?

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

uiux-design-expert 是免费的吗?

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

uiux-design-expert 用的人多吗?

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

uiux-design-expert 安全吗?

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

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

值得选的地方

  • 同时适配 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只读未明确通过
uiux-design-expert

UIUX 设计专家 · 本页

343—只读未明确通过

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

SKILL.md 原文

UI/UX Design Expert

Expert in modern UI/UX design patterns, visual styles, design systems, accessibility standards, and CSS implementation across all major frameworks.

When Invoked

  1. Identify the design context (web app, mobile, dashboard, marketing)
  2. Detect existing design system or framework (Tailwind, CSS Modules, styled-components)
  3. Recommend appropriate visual style based on brand/audience
  4. Implement with accessibility and performance in mind

Design Style Reference

1. Minimalism & Swiss Design

Philosophy: Less is more. Focus on content, clarity, and functionality.

Prompt Keywords: minimalist landing page, white space, geometric layouts, sans-serif fonts, high contrast, grid-based structure, essential elements only

CSS Implementation:

.swiss-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.swiss-card {
  background: #FFFFFF;
  color: #000000;
  border: none;
  box-shadow: none;
  padding: 2rem;
}

Design Tokens:

  • --spacing: 2rem
  • --border-radius: 0px
  • --font-weight: 400-700
  • --shadow: none
  • --accent-color: single primary only

Checklist: Grid 12-16 columns, Typography hierarchy, No decorations, WCAG AAA contrast, Mobile responsive


2. Neumorphism (Soft UI)

Philosophy: Soft, extruded plastic appearance with subtle depth.

Prompt Keywords: neumorphic UI, soft 3D effects, light pastels, rounded corners, soft shadows, monochromatic, embossed/debossed

CSS Implementation:

.neu-card {
  background: #E8E8E8;
  border-radius: 16px;
  box-shadow:
    8px 8px 16px rgba(0, 0, 0, 0.15),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.neu-button {
  background: linear-gradient(145deg, #F0F0F0, #D8D8D8);
  border-radius: 12px;
  box-shadow:
    5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 0.8);
  transition: transform 150ms ease;
}

.neu-button:active {
  transform: scale(0.98);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.1);
}

Design Tokens:

  • --border-radius: 14px
  • --shadow-light: -8px -8px 16px rgba(255,255,255,0.9)
  • --shadow-dark: 8px 8px 16px rgba(0,0,0,0.15)
  • --color-base: #E8E8E8

Checklist: Rounded corners 12-16px, Multiple shadow layers, Pastel colors, Press animation 150ms


3. Glassmorphism

Philosophy: Frosted glass effect with depth and translucency.

Prompt Keywords: glassmorphic interface, frosted glass effect, backdrop blur, translucent overlays, vibrant backgrounds, layered depth

CSS Implementation:

.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

Design Tokens:

  • --blur-amount: 16px
  • --glass-opacity: 0.15
  • --border-color: rgba(255,255,255,0.2)
  • --background: vibrant gradient

Checklist: Backdrop-filter 10-20px, Translucent 15-30% opacity, Subtle border, Vibrant background, Text contrast 4.5:1


4. Brutalism

Philosophy: Raw, unpolished, intentionally stark and aggressive.

Prompt Keywords: brutalist design, raw aesthetic, pure primary colors, no smooth transitions, sharp corners, bold large typography, visible grid, intentional broken elements

CSS Implementation:

.brutal-layout {
  font-family: 'Courier New', monospace;
  background: #FFFFFF;
  color: #000000;
}

.brutal-card {
  border: 4px solid #000000;
  border-radius: 0;
  background: #FFFF00;
  padding: 2rem;
  transition: none;
}

.brutal-button {
  background: #FF0000;
  color: #FFFFFF;
  border: 3px solid #000000;
  font-weight: 900;
  text-transform: uppercase;
  padding: 1rem 2rem;
}

.brutal-button:hover {
  background: #0000FF;
  /* No transition - instant change */
}

Design Tokens:

  • --border-radius: 0px
  • --transition-duration: 0s
  • --font-weight: 700-900
  • --colors: #FF0000, #0000FF, #FFFF00, #000000, #FFFFFF

Checklist: No border-radius, No transitions, Bold typography 700+, Pure primary colors, Visible borders


5. Neubrutalism

Philosophy: Evolved brutalism with playful, modern twist.

Prompt Keywords: neubrutalist interface, high contrast, hard black borders, bright pop colors, hard shadows, bold typography, raw but functional

CSS Implementation:

.neubrutalist-card {
  background: #FFDB58;
  border: 3px solid #000000;
  border-radius: 8px;
  box-shadow: 6px 6px 0px #000000;
  padding: 1.5rem;
}

.neubrutalist-button {
  background: #FF6B6B;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 4px;
  box-shadow: 4px 4px 0px #000000;
  font-weight: 700;
  transition: transform 100ms, box-shadow 100ms;
}

.neubrutalist-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000000;
}

.neubrutalist-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000000;
}

Design Tokens:

  • --border-width: 2-4px
  • --shadow-offset: 4-6px
  • --shadow-color: #000000
  • --colors: #FFDB58, #FF6B6B, #4ECDC4, #9B5DE5

Checklist: Hard borders 2-4px, Hard offset shadows, High saturation colors, Bold typography, No blurs


6. Bento Grid Layout

Philosophy: Apple-inspired modular grid with varied card sizes.

Prompt Keywords: Bento Grid layout, modular grid system, rounded corners, different card sizes, card-based hierarchy, soft backgrounds, Apple-style aesthetic

CSS Implementation:

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
  padding: 20px;
  background: #F5F5F7;
}

.bento-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bento-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-card--tall {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

Design Tokens:

  • --grid-gap: 20px
  • --card-radius: 24px
  • --card-bg: #FFFFFF
  • --page-bg: #F5F5F7
  • --shadow: 0 2px 8px rgba(0,0,0,0.04)

Checklist: CSS Grid layout, Rounded corners 16-24px, Varied card spans, Responsive reflow


7. Dark Mode (OLED Optimized)

Philosophy: True black for OLED power saving with vibrant accents.

Prompt Keywords: OLED-optimized dark interface, deep black, dark grey, midnight blue, neon accents, high contrast text, eye comfort

CSS Implementation:

:root[data-theme="dark"] {
  --bg-primary: #000000;
  --bg-secondary: #0D0D0D;
  --bg-elevated: #1A1A1A;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --accent-neon: #00D4FF;
  --accent-success: #00FF85;
  --accent-warning: #FFB800;
}

.dark-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.dark-glow-text {
  color: var(--accent-neon);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

Design Tokens:

  • --bg-black: #000000
  • --bg-elevated: #1A1A1A
  • --text-primary: #FFFFFF
  • --accent-neon: cyan, green, gold, purple
  • --glow-effect: minimal

Checklist: Deep black #000000, Vibrant neon accents, Text contrast 7:1+, Minimal glow, OLED optimized


8. Aurora UI (Gradient Mesh)

Philosophy: Northern Lights inspired flowing gradients.

Prompt Keywords: vibrant gradient interface, Northern Lights, mesh gradients, smooth color blends, flowing animations, iridescent effects

CSS Implementation:

.aurora-background {
  background: linear-gradient(
    125deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #f5576c 75%,
    #667eea 100%
  );
  background-size: 400% 400%;
  animation: aurora-shift 12s ease infinite;
}

@keyframes aurora-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.aurora-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

Design Tokens:

  • --gradient-colors: complementary pairs
  • --animation-duration: 8-12s
  • --blend-mode: screen
  • --color-saturation: 1.2

Checklist: Mesh/flowing gradients, 8-12s animation loop, Complementary colors, Smooth transitions


9. Claymorphism

Philosophy: Playful, toy-like 3D with soft chunky elements.

Prompt Keywords: playful toy-like interface, soft 3D, chunky elements, bubbly aesthetic, rounded edges, thick borders, double shadows, pastel colors

CSS Implementation:

.clay-card {
  background: linear-gradient(145deg, #FFE5E5, #FFC4C4);
  border: 3px solid #FF9999;
  border-radius: 24px;
  box-shadow:
    inset -3px -3px 8px rgba(255, 255, 255, 0.6),
    6px 6px 16px rgba(255, 100, 100, 0.2);
}

.clay-button {
  background: linear-gradient(145deg, #C4E5FF, #94D0FF);
  border: 3px solid #5BB5FF;
  border-radius: 20px;
  padding: 16px 32px;
  font-weight: 700;
  animation: clay-bounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes clay-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

Design Tokens:

  • --border-radius: 20-24px
  • --border-width: 3-4px
  • --shadow-inner: inset -3px -3px 8px
  • --shadow-outer: 6px 6px 16px
  • --color-palette: pastels

Checklist: Border-radius 16-24px, Thick borders 3-4px, Double shadows, Pastel colors, Bounce animations


10. Retro-Futurism (Cyberpunk/Vaporwave)

Philosophy: 80s sci-fi meets neon future.

Prompt Keywords: retro-futuristic cyberpunk vaporwave, neon colors, deep black, 80s aesthetic, CRT scanlines, glitch effects, neon glow, monospace fonts

CSS Implementation:

.retro-container {
  background: #0A0A14;
  font-family: 'Share Tech Mono', monospace;
  color: #00FFFF;
}

.retro-card {
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow:
    0 0 20px rgba(0, 255, 255, 0.2),
    inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.neon-text {
  color: #FF006E;
  text-shadow:
    0 0 10px #FF006E,
    0 0 20px #FF006E,
    0 0 40px #FF006E;
}

.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1) 0px,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
}

Design Tokens:

  • --neon-cyan: #00FFFF
  • --neon-pink: #FF006E
  • --neon-blue: #0080FF
  • --background: #0A0A14
  • --font-family: monospace

Checklist: Neon colors, CRT scanlines, Glitch animations, Monospace font, Deep black background


11. HUD / Sci-Fi FUI

Philosophy: Futuristic heads-up display with technical aesthetics.

Prompt Keywords: futuristic HUD FUI, thin lines, neon cyan on black, technical markers, decorative brackets, data visualization, monospaced tech fonts, holographic

CSS Implementation:

.hud-container {
  background: rgba(0, 10, 20, 0.95);
  font-family: 'Orbitron', monospace;
  color: #00FFFF;
}

.hud-panel {
  border: 1px solid rgba(0, 255, 255, 0.4);
  background: transparent;
  position: relative;
}

.hud-panel::before,
.hud-panel::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #00FFFF;
  border-style: solid;
}

.hud-panel::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hud-panel::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.hud-text {
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

Design Tokens:

  • --hud-color: #00FFFF
  • --bg-color: rgba(0,10,20,0.95)
  • --line-width: 1px
  • --glow: 0 0 8px
  • --font: monospace/tech

Checklist: Fine lines 1px, Neon glow, Monospaced font, Transparent BG, Tech markers, Holographic feel


12. Liquid Glass (Premium)

Philosophy: Fluid, morphing, premium glass effects.

Prompt Keywords: liquid glass effect, morphing shapes, flowing animations, chromatic aberration, iridescent gradients, smooth transitions, fluid premium feel

CSS Implementation:

.liquid-glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(20px) saturate(1.5);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-morph {
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 32px 64px 32px 64px; }
  25% { border-radius: 64px 32px 64px 32px; }
  50% { border-radius: 32px 64px 64px 32px; }
  75% { border-radius: 64px 32px 32px 64px; }
}

.chromatic {
  filter:
    drop-shadow(-2px 0 0 rgba(255, 0, 0, 0.3))
    drop-shadow(2px 0 0 rgba(0, 255, 255, 0.3));
}

Design Tokens:

  • --morph-duration: 400-600ms
  • --blur-amount: 20px
  • --chromatic-aberration: true
  • --iridescent: true
  • --saturation: 1.5

Checklist: Morphing animations, Chromatic aberration, Dynamic blur, Iridescent gradients, Premium feel


13. Skeuomorphism (Realistic)

Philosophy: Real-world textures and tactile depth.

Prompt Keywords: realistic textured interface, 3D depth, real-world metaphors, complex gradients, realistic shadows, grain texture, tactile animations, premium luxury

CSS Implementation:

.skeu-button {
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F5F5F5 10%,
    #E8E8E8 50%,
    #D0D0D0 90%,
    #C0C0C0 100%
  );
  border: 1px solid #A0A0A0;
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(255, 255, 255, 0.9) inset,
    0 -1px 2px rgba(0, 0, 0, 0.1) inset,
    0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 300ms ease;
}

.skeu-button:active {
  transform: scale(0.98);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.1) inset,
    0 -1px 2px rgba(255, 255, 255, 0.9) inset;
}

.texture-grain {
  background-image: url("data:image/svg+xml,..."); /* noise pattern */
  opacity: 0.05;
}

Design Tokens:

  • --gradient-stops: 8-12
  • --texture-overlay: noise+grain
  • --shadow-layers: 3+
  • --animation-duration: 300-500ms

Checklist: Realistic textures, Complex gradients, Multi-layer shadows, Texture overlays, Tactile animations


14. Flat Design 2.0

Philosophy: Clean, simple, with subtle depth cues.

Prompt Keywords: flat 2D interface, bold colors, no gradients, clean lines, simple shapes, icon-heavy, typography-focused, minimal ornamentation

CSS Implementation:

.flat-card {
  background: #FFFFFF;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.flat-button {
  background: #2196F3;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 150ms ease;
}

.flat-button:hover {
  background: #1976D2;
}

.flat-icon {
  fill: currentColor;
  stroke: none;
}

Design Tokens:

  • --shadow: minimal or none
  • --color-palette: 4-6 solid colors
  • --border-radius: 2-4px
  • --gradient: none
  • --animation: 150-200ms

Checklist: No heavy shadows, 4-6 solid colors max, Clean lines, Simple shapes, Fast loading


15. Pixel Art (8-bit)

Philosophy: Retro gaming nostalgia with blocky aesthetics.

Prompt Keywords: pixel art interface, 8-bit 16-bit aesthetic, pixelated fonts, sharp edges, limited color palette, blocky UI, retro gaming feel

CSS Implementation:

.pixel-container {
  font-family: 'Press Start 2P', cursive;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.pixel-button {
  background: #5C94FC;
  color: #FFFFFF;
  border: 4px solid;
  border-color: #9CBAFC #1C3CBC #1C3CBC #9CBAFC;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
}

.pixel-button:active {
  border-color: #1C3CBC #9CBAFC #9CBAFC #1C3CBC;
}

.pixel-sprite {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

Design Tokens:

  • --pixel-size: 4px
  • --color-palette: 16 colors max
  • --font: pixel font
  • --image-rendering: pixelated

Checklist: Pixelated fonts, Sharp edges, Limited palette, Blocky elements, Retro feel


Accessibility Standards (WCAG)

Universal Requirements

/* Focus states - always visible */
:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

/* Touch targets - minimum 44x44px */
.touch-target {
  min-width: 44px;
  min-height: 44px;
  padding: 12px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --text-color: #000000;
    --bg-color: #FFFFFF;
    --border-color: #000000;
  }
}

Contrast Ratios

LevelNormal TextLarge TextUI Components
AA4.5:13:13:1
AAA7:14.5:14.5:1

Checklist for All Designs

  • Color contrast 4.5:1+ (AA) or 7:1+ (AAA)
  • Focus states visible (3px ring)
  • Touch targets 44x44px minimum
  • Keyboard navigation works
  • Screen reader tested
  • No color-only indicators
  • Reduced motion supported
  • Semantic HTML used
  • ARIA labels where needed

Animation Guidelines

Performance-Optimized Properties

/* GPU-accelerated (prefer these) */
transform: translate, scale, rotate;
opacity: 0-1;

/* Avoid animating (triggers layout) */
width, height, top, left, margin, padding;

Timing Functions

/* Natural motion */
--ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
--ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
--bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
--spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);

Duration Guidelines

InteractionDuration
Micro-interaction50-100ms
Button press100-150ms
Page transition200-400ms
Complex animation400-600ms
Background loop8-12s

Color Palette Generation

Complementary Schemes

/* Blue-Orange */
--primary: #2563EB;
--secondary: #EA580C;

/* Purple-Yellow */
--primary: #7C3AED;
--secondary: #EAB308;

/* Cyan-Red */
--primary: #06B6D4;
--secondary: #DC2626;

Neutral Scales

/* Light mode neutrals */
--gray-50: #F9FAFB;
--gray-100: #F3F4F6;
--gray-200: #E5E7EB;
--gray-300: #D1D5DB;
--gray-400: #9CA3AF;
--gray-500: #6B7280;
--gray-600: #4B5563;
--gray-700: #374151;
--gray-800: #1F2937;
--gray-900: #111827;

/* Dark mode neutrals */
--dark-50: #18181B;
--dark-100: #27272A;
--dark-200: #3F3F46;
--dark-300: #52525B;
--dark-400: #71717A;
--dark-500: #A1A1AA;

Implementation Workflow

  1. Identify Context: What's the product? Who's the audience?
  2. Choose Style: Match visual style to brand/audience
  3. Set Tokens: Define CSS custom properties
  4. Build Components: Create reusable component library
  5. Test Accessibility: Verify WCAG compliance
  6. Optimize Performance: Check animation performance
  7. Responsive Check: Test all breakpoints

Best Practices

  1. Start with tokens - Define colors, spacing, typography first
  2. Mobile-first - Design for smallest screens first
  3. Test early - Accessibility testing from day one
  4. Performance budget - Keep animations under 16ms/frame
  5. Document everything - Create a living style guide

平台分布

Codex

34.8%
按下载量换算39

Claude

32.55%
按下载量换算36

Cursor

17.77%
按下载量换算20

Gemini CLI

9.1%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills