ui-ux-pro-max
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseui-ux-pro-max
ui-ux-pro-max
Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.
面向网页和移动应用的综合性设计指南。涵盖13种技术栈,包含67种设计风格、96套调色板、57组字体搭配、99条UX设计指南以及25种图表类型。内置可搜索数据库,提供基于优先级的设计建议。
Prerequisites
前置条件
Check if Python is installed:
bash
python3 --version || python --versionIf Python is not installed, install it based on user's OS:
macOS:
bash
brew install python3Ubuntu/Debian:
bash
sudo apt update && sudo apt install python3Windows:
powershell
winget install Python.Python.3.12检查Python是否已安装:
bash
python3 --version || python --version如果未安装Python,请根据你的操作系统进行安装:
macOS:
bash
brew install python3Ubuntu/Debian:
bash
sudo apt update && sudo apt install python3Windows:
powershell
winget install Python.Python.3.12How to Use This Skill
如何使用该工具
When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
当用户提出UI/UX相关需求(设计、构建、创建、实现、评审、修复、优化)时,请遵循以下工作流程:
Step 1: Analyze User Requirements
步骤1:分析用户需求
Extract key information from user request:
- Product type: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
- Style keywords: minimal, playful, professional, elegant, dark mode, etc.
- Industry: healthcare, fintech, gaming, education, etc.
- Stack: React, Vue, Next.js, or default to
html-tailwind
从用户请求中提取关键信息:
- 产品类型:SaaS、电商、作品集、仪表盘、着陆页等
- 风格关键词:极简风、趣味风、专业风、优雅风、深色模式等
- 行业领域:医疗健康、金融科技、游戏、教育等
- 技术栈:React、Vue、Next.js,默认使用
html-tailwind
Step 2: Generate Design System (REQUIRED)
步骤2:生成设计系统(必填)
Always start with to get comprehensive recommendations with reasoning:
--design-systembash
python3 skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]This command:
- Searches 5 domains in parallel (product, style, color, landing, typography)
- Applies reasoning rules from to select best matches
ui-reasoning.csv - Returns complete design system: pattern, style, colors, typography, effects
- Includes anti-patterns to avoid
Example:
bash
python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"请始终以参数启动,以获取带有推理依据的完整设计建议:
--design-systembash
python3 skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]该命令将:
- 并行搜索5个领域(产品、风格、色彩、着陆页、排版)
- 应用中的推理规则筛选最佳匹配项
ui-reasoning.csv - 返回完整的设计系统:设计模式、风格、色彩、排版、效果
- 包含需要避免的反模式
示例:
bash
python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"Step 2b: Persist Design System (Master + Overrides Pattern)
步骤2b:持久化设计系统(主文件+覆盖项模式)
To save the design system for hierarchical retrieval across sessions, add :
--persistbash
python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"This creates:
- — Global Source of Truth with all design rules
design-system/MASTER.md - — Folder for page-specific overrides
design-system/pages/
With page-specific override:
bash
python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"This also creates:
- — Page-specific deviations from Master
design-system/pages/dashboard.md
How hierarchical retrieval works:
- When building a specific page (e.g., "Checkout"), first check
design-system/pages/checkout.md - If the page file exists, its rules override the Master file
- If not, use exclusively
design-system/MASTER.md
若要保存设计系统以便在多会话中进行分层检索,请添加参数:
--persistbash
python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"此命令将创建:
- — 包含所有设计规则的全局可信源文件
design-system/MASTER.md - — 用于存储页面专属覆盖规则的文件夹
design-system/pages/
添加页面专属覆盖项:
bash
python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"该命令还将创建:
- — 与主文件不同的仪表盘页面专属规则
design-system/pages/dashboard.md
分层检索工作原理:
- 当构建特定页面(如“结账页”)时,首先检查
design-system/pages/checkout.md - 若该页面文件存在,其规则将覆盖主文件中的规则
- 若不存在,则仅使用中的规则
design-system/MASTER.md
Step 3: Supplement with Detailed Searches (as needed)
步骤3:按需补充详细搜索
After getting the design system, use domain searches to get additional details:
bash
python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]When to use detailed searches:
| Need | Domain | Example |
|---|---|---|
| More style options | | |
| Chart recommendations | | |
| UX best practices | | |
| Alternative fonts | | |
| Landing structure | | |
获取设计系统后,可使用领域搜索获取更多细节:
bash
python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]何时使用详细搜索:
| 需求 | 领域 | 示例 |
|---|---|---|
| 更多风格选项 | | |
| 图表推荐 | | |
| UX最佳实践 | | |
| 替代字体 | | |
| 着陆页结构 | | |
Step 4: Stack Guidelines (Default: html-tailwind)
步骤4:技术栈指南(默认:html-tailwind)
Get implementation-specific best practices. If user doesn't specify a stack, default to .
html-tailwindbash
python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwindAvailable stacks: , , , , , , , , ,
html-tailwindreactnextjsvuesvelteswiftuireact-nativefluttershadcnjetpack-compose获取针对特定技术栈的最佳实践。若用户未指定技术栈,默认使用。
html-tailwindbash
python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind支持的技术栈:, , , , , , , , ,
html-tailwindreactnextjsvuesvelteswiftuireact-nativefluttershadcnjetpack-composeSearch Reference
搜索参考
Available Domains
支持的领域
| Domain | Use For | Example Keywords |
|---|---|---|
| Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
| UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
| Font pairings, Google Fonts | elegant, playful, professional, modern |
| Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
| Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
| Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
| Best practices, anti-patterns | animation, accessibility, z-index, loading |
| React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
| Web interface guidelines | aria, focus, keyboard, semantic, virtualize |
| AI prompts, CSS keywords | (style name) |
| 领域 | 用途 | 示例关键词 |
|---|---|---|
| 产品类型推荐 | SaaS, e-commerce, portfolio, healthcare, beauty, service |
| UI风格、色彩、效果 | glassmorphism, minimalism, dark mode, brutalism |
| 字体搭配、Google Fonts | elegant, playful, professional, modern |
| 按产品类型推荐调色板 | saas, ecommerce, healthcare, beauty, fintech, service |
| 页面结构、CTA策略 | hero, hero-centric, testimonial, pricing, social-proof |
| 图表类型、库推荐 | trend, comparison, timeline, funnel, pie |
| 最佳实践、反模式 | animation, accessibility, z-index, loading |
| React/Next.js性能优化 | waterfall, bundle, suspense, memo, rerender, cache |
| Web界面指南 | aria, focus, keyboard, semantic, virtualize |
| AI提示词、CSS关键词 | (style name) |
Available Stacks
支持的技术栈
| Stack | Focus |
|---|---|
| Tailwind utilities, responsive, a11y (DEFAULT) |
| State, hooks, performance, patterns |
| SSR, routing, images, API routes |
| Composition API, Pinia, Vue Router |
| Runes, stores, SvelteKit |
| Views, State, Navigation, Animation |
| Components, Navigation, Lists |
| Widgets, State, Layout, Theming |
| shadcn/ui components, theming, forms, patterns |
| Composables, Modifiers, State Hoisting, Recomposition |
| 技术栈 | 关注重点 |
|---|---|
| Tailwind工具类、响应式设计、无障碍访问(默认) |
| 状态管理、Hooks、性能、设计模式 |
| SSR、路由、图片处理、API路由 |
| 组合式API、Pinia、Vue Router |
| Runes、状态存储、SvelteKit |
| 视图、状态、导航、动画 |
| 组件、导航、列表 |
| Widget、状态、布局、主题 |
| shadcn/ui组件、主题、表单、设计模式 |
| 可组合函数、修饰符、状态提升、重组 |
Example Workflow
示例工作流程
User request: "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
用户请求:“为专业护肤服务制作着陆页”
Step 1: Analyze Requirements
步骤1:分析需求
- Product type: Beauty/Spa service
- Style keywords: elegant, professional, soft
- Industry: Beauty/Wellness
- Stack: html-tailwind (default)
- 产品类型:美容/SPA服务
- 风格关键词:优雅、专业、柔和
- 行业领域:美容/健康
- 技术栈:html-tailwind(默认)
Step 2: Generate Design System (REQUIRED)
步骤2:生成设计系统(必填)
bash
python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"Output: Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
bash
python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"输出:包含设计模式、风格、色彩、排版、效果及反模式的完整设计系统。
Step 3: Supplement with Detailed Searches (as needed)
步骤3:按需补充详细搜索
bash
undefinedbash
undefinedGet UX guidelines for animation and accessibility
获取动画与无障碍访问的UX指南
python3 skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
python3 skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
Get alternative typography options if needed
若需要,获取替代排版选项
python3 skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
undefinedpython3 skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
undefinedStep 4: Stack Guidelines
步骤4:技术栈指南
bash
python3 skills/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwindThen: Synthesize design system + detailed searches and implement the design.
bash
python3 skills/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind后续操作:整合设计系统与详细搜索结果,完成设计实现。
Output Formats
输出格式
The flag supports two output formats:
--design-systembash
undefined--design-systembash
undefinedASCII box (default) - best for terminal display
ASCII框格式(默认)- 最适合终端显示
python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
Markdown - best for documentation
Markdown格式 - 最适合文档记录
python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
---python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
---Tips for Better Results
获取更好结果的技巧
- Be specific with keywords - "healthcare SaaS dashboard" > "app"
- Search multiple times - Different keywords reveal different insights
- Combine domains - Style + Typography + Color = Complete design system
- Always check UX - Search "animation", "z-index", "accessibility" for common issues
- Use stack flag - Get implementation-specific best practices
- Iterate - If first search doesn't match, try different keywords
- 关键词要具体 - “医疗健康SaaS仪表盘” > “应用”
- 多次搜索 - 不同关键词会呈现不同的设计见解
- 组合多个领域 - 风格+排版+色彩=完整的设计系统
- 始终检查UX - 搜索“animation”“z-index”“accessibility”以排查常见问题
- 使用技术栈参数 - 获取针对特定技术栈的最佳实践
- 反复迭代 - 若首次搜索结果不符合预期,尝试不同的关键词
Common Rules for Professional UI
专业UI设计的通用规则
These are frequently overlooked issues that make UI look unprofessional:
以下是常被忽视但会影响UI专业性的问题:
Icons & Visual Elements
图标与视觉元素
| Rule | Do | Don't |
|---|---|---|
| No emoji icons | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
| Stable hover states | Use color/opacity transitions on hover | Use scale transforms that shift layout |
| Correct brand logos | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
| Consistent icon sizing | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
| 规则 | 正确做法 | 错误做法 |
|---|---|---|
| 禁止使用emoji图标 | 使用SVG图标(Heroicons、Lucide、Simple Icons) | 使用🎨 🚀 ⚙️等emoji作为UI图标 |
| 稳定的悬停状态 | 悬停时使用颜色/透明度过渡效果 | 使用会改变布局的缩放变换 |
| 正确的品牌Logo | 从Simple Icons获取官方SVG文件 | 猜测或使用错误的Logo路径 |
| 统一的图标尺寸 | 使用固定的viewBox(24x24)搭配w-6 h-6 | 随机混合不同尺寸的图标 |
Interaction & Cursor
交互与光标
| Rule | Do | Don't |
|---|---|---|
| Cursor pointer | Add | Leave default cursor on interactive elements |
| Hover feedback | Provide visual feedback (color, shadow, border) | No indication element is interactive |
| Smooth transitions | Use | Instant state changes or too slow (>500ms) |
| 规则 | 正确做法 | 错误做法 |
|---|---|---|
| 光标样式为指针 | 为所有可点击/可悬停的卡片添加 | 交互元素保留默认光标样式 |
| 悬停反馈 | 提供视觉反馈(颜色、阴影、边框变化) | 无任何元素可交互的提示 |
| 平滑过渡 | 使用 | 状态瞬间变化或过渡过慢(>500ms) |
Light/Dark Mode Contrast
明暗模式对比度
| Rule | Do | Don't |
|---|---|---|
| Glass card light mode | Use | Use |
| Text contrast light | Use | Use |
| Muted text light | Use | Use gray-400 or lighter |
| Border visibility | Use | Use |
| 规则 | 正确做法 | 错误做法 |
|---|---|---|
| 浅色模式玻璃卡片 | 使用 | 使用 |
| 浅色模式文本 | 使用 | 使用 |
| 浅色模式弱化文本 | 最低使用 | 使用gray-400或更浅的颜色 |
| 边框可见性 | 浅色模式下使用 | 使用 |
Layout & Spacing
布局与间距
| Rule | Do | Don't |
|---|---|---|
| Floating navbar | Add | Stick navbar to |
| Content padding | Account for fixed navbar height | Let content hide behind fixed elements |
| Consistent max-width | Use same | Mix different container widths |
| 规则 | 正确做法 | 错误做法 |
|---|---|---|
| 浮动导航栏 | 添加 | 将导航栏固定在 |
| 内容内边距 | 考虑固定导航栏的高度 | 让内容被固定导航栏遮挡 |
| 统一的最大宽度 | 使用相同的 | 混合使用不同的容器宽度 |
Pre-Delivery Checklist
交付前检查清单
Before delivering UI code, verify these items:
交付UI代码前,请验证以下项目:
Visual Quality
视觉质量
- No emojis used as icons (use SVG instead)
- All icons from consistent icon set (Heroicons/Lucide)
- Brand logos are correct (verified from Simple Icons)
- Hover states don't cause layout shift
- Use theme colors directly (bg-primary) not var() wrapper
- 未使用emoji作为图标(改用SVG)
- 所有图标来自统一的图标库(Heroicons/Lucide)
- 品牌Logo正确(已从Simple Icons验证)
- 悬停状态不会导致布局偏移
- 直接使用主题色(如bg-primary)而非var()包装器
Interaction
交互体验
- All clickable elements have
cursor-pointer - Hover states provide clear visual feedback
- Transitions are smooth (150-300ms)
- Focus states visible for keyboard navigation
- 所有可点击元素均添加
cursor-pointer - 悬停状态提供清晰的视觉反馈
- 过渡效果平滑(150-300ms)
- 键盘导航的焦点状态可见
Light/Dark Mode
明暗模式
- Light mode text has sufficient contrast (4.5:1 minimum)
- Glass/transparent elements visible in light mode
- Borders visible in both modes
- Test both modes before delivery
- 浅色模式文本具备足够对比度(最低4.5:1)
- 玻璃/透明元素在浅色模式下可见
- 边框在两种模式下均可见
- 交付前测试两种模式
Layout
布局适配
- Floating elements have proper spacing from edges
- No content hidden behind fixed navbars
- Responsive at 375px, 768px, 1024px, 1440px
- No horizontal scroll on mobile
- 浮动元素与边缘有适当间距
- 无内容被固定导航栏遮挡
- 在375px、768px、1024px、1440px分辨率下均适配
- 移动端无横向滚动条
Accessibility
无障碍访问
- All images have alt text
- Form inputs have labels
- Color is not the only indicator
- respected
prefers-reduced-motion
- 所有图片均有alt文本
- 表单输入框均有标签
- 不单独使用颜色作为状态指示
- 遵循设置
prefers-reduced-motion