Communitygithub.com

UI/UX Pro Max - 设计智能

全面的网页和移动应用UI/UX设计指南。包含50+种风格、97个调色板、57种字体搭配、99条UX指南和25种图表类型,覆盖9个技术栈。可搜索的数据库,提供优先级推荐。

UX Pro Max - 设计智能 是什么?

UI/UX Pro Max - 设计智能是一个面向开发者和设计师的AI技能,旨在提供全面、可搜索的UI/UX设计指南,涵盖从样式、排版、配色到图表和交互规范等各个方面。它支持React、Next.js、Vue、Svelte、SwiftUI、React Native、Flutter、Tailwind CSS和shadcn/ui等多种主流技术栈。该技能的核心功能是通过一个基于优先级的规则系统(从“严重”级别的可访问性到“低”级别的图表)提供推荐,帮助用户做出更专业的设计决策。用户可以通过CLI工具进行搜索,先生成包含样式、颜色、排版和效果的综合设计系统,再针对特定领域(如UX最佳实践、特定图表类型)进行补充搜索。该技能还强调设计系统的持久化存储(支持不同页面级别的规则覆盖),并提供一个交付前检查清单,以确保UI代码在视觉质量、交互、暗黑/亮色模式兼容性、布局和可访问性方面达到专业水准。

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/Harmeet10000/skills/ui-ux-pro-max

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

UX Pro Max - 设计智能 是做什么的?

全面的网页和移动应用设计指南。包含50+种风格、97个调色板、57种字体搭配、99条UX指南和25种图表类型,覆盖9个技术栈。可搜索的数据库,提供优先级推荐。

何时应用

在以下情况下参考这些指南:

  • 设计新的UI组件或页面时
  • 选择配色方案和排版时
  • 审查代码中潜在的UX问题时
  • 构建落地页或仪表板时
  • 实现可访问性需求时

按优先级分类的规则

优先级类别影响领域
1可访问性严重ux
2触摸与交互严重ux
3性能高ux
4布局与响应式高ux
5排版与配色中typography, color
6动画中ux
7风格选择中style, product
8图表与数据低chart

快速参考

1. 可访问性(严重)

  • color-contrast - 普通文本最小对比度4.5:1
  • focus-states - 交互元素上可见的聚焦环
  • alt-text - 对有意义的图片提供描述性alt文本
  • aria-labels - 图标按钮使用aria-label
  • keyboard-nav - Tab键顺序与视觉顺序一致
  • form-labels - 使用带for属性的label

2. 触摸与交互(严重)

  • touch-target-size - 触摸目标最小44x44px
  • hover-vs-tap - 主要交互使用点击/轻触
  • loading-buttons - 异步操作期间禁用按钮
  • error-feedback - 在问题附近显示清晰的错误信息
  • cursor-pointer - 为可点击元素添加cursor-pointer

3. 性能(高)

  • image-optimization - 使用WebP、srcset、懒加载
  • reduced-motion - 检查prefers-reduced-motion
  • content-jumping - 为异步内容预留空间

4. 布局与响应式(高)

  • viewport-meta - width=device-width initial-scale=1
  • readable-font-size - 移动端正文文字最小16px
  • horizontal-scroll - 确保内容适应视口宽度
  • z-index-management - 定义z-index层级(10, 20, 30, 50)

5. 排版与配色(中)

  • line-height - 正文行高使用1.5-1.75
  • line-length - 每行字符数限制在65-75
  • font-pairing - 匹配标题/正文的字体风格

6. 动画(中)

  • duration-timing - 微交互使用150-300ms
  • transform-performance - 使用transform/opacity,而非width/height
  • loading-states - 骨架屏或加载动画

7. 风格选择(中)

  • style-match - 风格与产品类型匹配
  • consistency - 所有页面使用相同风格
  • no-emoji-icons - 使用SVG图标,而非emoji

8. 图表与数据(低)

  • chart-type - 图表类型与数据类型匹配
  • color-guidance - 使用无障碍配色方案
  • data-table - 提供表格作为可访问性替代方案

如何使用

使用下面的CLI工具搜索特定领域。


前提条件

检查Python是否已安装:

python3 --version || python --version

如果Python未安装,请根据用户的操作系统进行安装:

macOS:

brew install python3

Ubuntu/Debian:

sudo apt update && sudo apt install python3

Windows:

winget install Python.Python.3.12

如何使用本技能

当用户提出UI/UX工作请求(设计、构建、创建、实现、审查、修复、改进)时,请遵循以下工作流程:

步骤 1: 分析用户需求

从用户请求中提取关键信息:

  • 产品类型: SaaS、电商、作品集、仪表板、落地页等。
  • 风格关键词: 极简、有趣、专业、优雅、暗黑模式等。
  • 行业: 医疗、金融科技、游戏、教育等。
  • 技术栈: React、Vue、Next.js,或默认为 html-tailwind

步骤 2: 生成设计系统(必需)

始终从 --design-system 开始,以获取包含推理的全面推荐:

python3 skills/ui-ux-pro-max/scripts/search.py "<产品类型> <行业> <关键词>" --design-system [-p "项目名称"]

此命令会:

  1. 并行搜索5个领域(产品、风格、配色、落地页、排版)
  2. 应用来自 ui-reasoning.csv 的推理规则以选择最佳匹配
  3. 返回完整的设计系统:模式、风格、配色、排版、效果
  4. 包含应避免的反模式

示例:

python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"

步骤 2b: 持久化设计系统(主文件 + 覆盖模式)

要保存设计系统以实现跨会话的分层检索,请添加 --persist:

python3 skills/ui-ux-pro-max/scripts/search.py "<查询>" --design-system --persist -p "项目名称"

这将创建:

  • design-system/MASTER.md — 包含所有设计规则的全局真实来源
  • design-system/pages/ — 用于存放页面特定覆盖的文件夹

使用页面特定覆盖:

python3 skills/ui-ux-pro-max/scripts/search.py "<查询>" --design-system --persist -p "项目名称" --page "dashboard"

这还会创建:

  • design-system/pages/dashboard.md — 页面特定于主文件的偏差

分层检索的工作原理:

  1. 构建特定页面(例如“结账”)时,首先检查 design-system/pages/checkout.md
  2. 如果页面文件存在,其规则覆盖主文件
  3. 如果不存在,则仅使用 design-system/MASTER.md

上下文感知检索提示:

我正在构建 [页面名称] 页面。请阅读 design-system/MASTER.md。
同时检查 design-system/pages/[page-name].md 是否存在。
如果页面文件存在,优先使用其规则。
如果不存在,则仅使用主文件规则。
现在,生成代码...

步骤 3: 根据需要补充详细搜索

获取设计系统后,使用领域搜索获取更多细节:

python3 skills/ui-ux-pro-max/scripts/search.py "<关键词>" --domain <领域> [-n <最大结果数>]

何时使用详细搜索:

需求领域示例
更多风格选项style--domain style "glassmorphism dark"
图表推荐chart--domain chart "real-time dashboard"
UX最佳实践ux--domain ux "animation accessibility"
替代字体typography--domain typography "elegant luxury"
落地页结构landing--domain landing "hero social-proof"

步骤 4: 技术栈指南(默认:html-tailwind)

获取实现特定的最佳实践。如果用户未指定技术栈,默认使用 html-tailwind。

python3 skills/ui-ux-pro-max/scripts/search.py "<关键词>" --stack html-tailwind

可用技术栈:html-tailwind、react、nextjs、vue、svelte、swiftui、react-native、flutter、shadcn、jetpack-compose


搜索参考

可用领域

领域用途示例关键词
product产品类型推荐SaaS、电商、作品集、医疗、美容、服务
styleUI风格、配色、效果玻璃态、极简主义、暗黑模式、粗野主义
typography字体搭配、Google Fonts优雅、有趣、专业、现代
color按产品类型分类的配色方案saas、ecommerce、healthcare、beauty、fintech、service
landing页面结构、CTA策略英雄区、以英雄区为中心、证言、定价、社交证明
chart图表类型、库推荐趋势、比较、时间线、漏斗、饼图
ux最佳实践、反模式动画、可访问性、z-index、加载
reactReact/Next.js性能瀑布流、打包、悬念、memo、重渲染、缓存
webWeb界面指南aria、焦点、键盘、语义、虚拟化
promptAI提示、CSS关键词(风格名称)

可用技术栈

技术栈关注点
html-tailwindTailwind工具类、响应式、可访问性(默认)
react状态、Hooks、性能、模式
nextjsSSR、路由、图片、API路由
vue组合式API、Pinia、Vue Router
svelteRunes、Store、SvelteKit
swiftui视图、状态、导航、动画
react-native组件、导航、列表
flutter组件(Widgets)、状态、布局、主题化
shadcnshadcn/ui组件、主题化、表单、模式
jetpack-compose组合函数(Composables)、修饰符(Modifiers)、状态提升(State Hoisting)、重组(Recomposition)

示例工作流程

用户请求:“为专业护肤服务构建落地页”

步骤 1: 分析需求

  • 产品类型:美容/水疗服务
  • 风格关键词:优雅、专业、柔和
  • 行业:美容/健康
  • 技术栈:html-tailwind (默认)

步骤 2: 生成设计系统(必需)

python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"

**输出:**包含模式、风格、配色、排版、效果和反模式的完整设计系统。

步骤 3: 根据需要补充详细搜索

# 获取动画和可访问性的UX指南
python3 skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux

# 如果需要,获取替代排版选项
python3 skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography

步骤 4: 技术栈指南

python3 skills/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind

**然后:**综合设计系统和详细搜索结果,实现设计。


输出格式

--design-system 标志支持两种输出格式:

# ASCII框(默认)- 最适合终端显示
python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system

# Markdown - 最适合文档
python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown

获得更好结果的技巧

  1. 关键词要具体 - “医疗SaaS仪表板” > “应用”
  2. 多次搜索 - 不同关键词揭示不同见解
  3. 组合领域 - 风格 + 排版 + 配色 = 完整设计系统
  4. 始终检查UX - 搜索“animation”、“z-index”、“accessibility”以解决常见问题
  5. 使用技术栈标志 - 获取实现特定的最佳实践
  6. 迭代 - 如果第一次搜索不匹配,尝试不同的关键词

专业UI的通用规则

以下是经常被忽视、但会让UI显得不专业的问题:

图标与视觉元素

规则需遵循避免
不使用emoji图标使用SVG图标(Heroicons、Lucide、Simple Icons)将 🎨 🚀 ⚙️ 等emoji用作UI图标
稳定的悬停状态悬停时使用颜色/透明度过渡使用会导致布局偏移的缩放变换
正确的品牌标志从Simple Icons研究官方SVG猜测或使用不正确的标志路径
一致的图标尺寸使用固定 viewBox (24x24) 配合 w-6 h-6随机混用不同的图标尺寸

交互与光标

规则需遵循避免
光标指针为所有可点击/悬停卡片添加 cursor-pointer在交互元素上保留默认光标
悬停反馈提供视觉反馈(颜色、阴影、边框)元素没有交互指示
平滑过渡使用 transition-colors duration-200即时状态变化或过慢(>500ms)

亮色/暗黑模式对比度

规则需遵循避免
亮色模式玻璃卡片使用 bg-white/80 或更高不透明度使用 bg-white/10 (过于透明)
亮色模式文本对比度文本使用 #0F172A (slate-900)正文使用 #94A3B8 (slate-400)
亮色模式弱化文本至少使用 #475569 (slate-600)使用 gray-400 或更浅
边框可见性亮色模式下使用 border-gray-200使用 border-white/10 (不可见)

布局与间距

规则需遵循避免
浮动导航栏添加 top-4 left-4 right-4 间距将导航栏固定在 top-0 left-0 right-0
内容内边距考虑固定导航栏高度让内容隐藏在固定元素后面
一致的最大宽度使用相同的 max-w-6xl 或 max-w-7xl混用不同的容器宽度

交付前检查清单

在交付UI代码前,请验证以下项目:

视觉质量

  • 不使用emoji作为图标(使用SVG代替)
  • 所有图标来自一致的图标集(Heroicons/Lucide)
  • 品牌标志正确(从Simple Icons验证)
  • 悬停状态不会导致布局偏移
  • 直接使用主题颜色(例如 bg-primary),而非var()包装

交互

  • 所有可点击元素具有 cursor-pointer
  • 悬停状态提供清晰的视觉反馈
  • 过渡平滑(150-300ms)
  • 聚焦状态对键盘导航可见

亮色/暗黑模式

  • 亮色模式文本具有足够的对比度(最低4.5:1)
  • 玻璃/透明元素在亮色模式下可见
  • 边框在两种模式下均可见
  • 交付前测试两种模式

布局

  • 浮动元素与边缘有适当的间距
  • 没有内容隐藏在固定导航栏后面
  • 在375px、768px、1024px、1440px处响应式良好
  • 移动端无水平滚动条

可访问性

  • 所有图片都有alt文本
  • 表单输入有标签
  • 颜色不是唯一指示符
  • 尊重 prefers-reduced-motion

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

相关技能