UI/UX Pro Max - Design Intelligence
Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.
Prerequisites
Check if Python is installed:
python3 --version || python --version
If Python is not installed, install it based on user's OS:
macOS:
brew install python3
Ubuntu/Debian:
sudo apt update && sudo apt install python3
Windows:
winget install Python.Python.3.12
How to Use This Skill
When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
Step 1: Analyze User Requirements
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
Step 2: Search Relevant Domains
Use search.py multiple times to gather comprehensive information. Search until you have enough context.
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
Recommended search order:
- Product - Get style recommendations for product type
- Style - Get detailed style guide (colors, effects, frameworks)
- Typography - Get font pairings with Google Fonts imports
- Color - Get color palette (Primary, Secondary, CTA, Background, Text, Border)
- Landing - Get page structure (if landing page)
- Chart - Get chart recommendations (if dashboard/analytics)
- UX - Get best practices and anti-patterns
- Stack - Get stack-specific guidelines (default: html-tailwind)
Step 3: Stack Guidelines (Default: html-tailwind)
If user doesn't specify a stack, default to html-tailwind.
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
Available stacks: html-tailwind, react, nextjs, vue, svelte, swiftui, react-native, flutter
Search Reference
Available Domains
| Domain |
Use For |
Example Keywords |
product |
Product type recommendations |
SaaS, e-commerce, portfolio, healthcare, beauty, service |
style |
UI styles, colors, effects |
glassmorphism, minimalism, dark mode, brutalism |
typography |
Font pairings, Google Fonts |
elegant, playful, professional, modern |
color |
Color palettes by product type |
saas, ecommerce, healthcare, beauty, fintech, service |
landing |
Page structure, CTA strategies |
hero, hero-centric, testimonial, pricing, social-proof |
chart |
Chart types, library recommendations |
trend, comparison, timeline, funnel, pie |
ux |
Best practices, anti-patterns |
animation, accessibility, z-index, loading |
prompt |
AI prompts, CSS keywords |
(style name) |
Available Stacks
| Stack |
Focus |
html-tailwind |
Tailwind utilities, responsive, a11y (DEFAULT) |
react |
State, hooks, performance, patterns |
nextjs |
SSR, routing, images, API routes |
vue |
Composition API, Pinia, Vue Router |
svelte |
Runes, stores, SvelteKit |
swiftui |
Views, State, Navigation, Animation |
react-native |
Components, Navigation, Lists |
flutter |
Widgets, State, Layout, Theming |
Example Workflow
User request: "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
AI should:
# 1. Search product type
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
# 2. Search style (based on industry: beauty, elegant)
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
# 3. Search typography
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
# 4. Search color palette
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
# 5. Search landing page structure
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
# 6. Search UX guidelines
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation" --domain ux
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
# 7. Search stack guidelines (default: html-tailwind)
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind
Then: Synthesize all search results and implement the design.
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
Common Rules for Professional UI
These are frequently overlooked issues that make UI look unprofessional:
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 |
Interaction & Cursor
| Rule |
Do |
Don't |
| Cursor pointer |
Add cursor-pointer to all clickable/hoverable cards |
Leave default cursor on interactive elements |
| Hover feedback |
Provide visual feedback (color, shadow, border) |
No indication element is interactive |
| Smooth transitions |
Use transition-colors duration-200 |
Instant state changes or too slow (>500ms) |
Light/Dark Mode Contrast
| Rule |
Do |
Don't |
| Glass card light mode |
Use bg-white/80 or higher opacity |
Use bg-white/10 (too transparent) |
| Text contrast light |
Use #0F172A (slate-900) for text |
Use #94A3B8 (slate-400) for body text |
| Muted text light |
Use #475569 (slate-600) minimum |
Use gray-400 or lighter |
| Border visibility |
Use border-gray-200 in light mode |
Use border-white/10 (invisible) |
Layout & Spacing
| Rule |
Do |
Don't |
| Floating navbar |
Add top-4 left-4 right-4 spacing |
Stick navbar to top-0 left-0 right-0 |
| Content padding |
Account for fixed navbar height |
Let content hide behind fixed elements |
| Consistent max-width |
Use same max-w-6xl or max-w-7xl |
Mix different container widths |
Pre-Delivery Checklist
Before delivering UI code, verify these items:
Visual Quality
Interaction
Light/Dark Mode
Layout
Accessibility
故障处理
| 错误 |
原因 |
解决方案 |
| 搜索返回空结果 |
关键词未命中 BM25 索引 |
换用英文同义词,或尝试不同 domain 参数 |
FileNotFoundError CSV |
数据文件缺失 |
检查 {baseDir}/data/ 目录下的 CSV 文件完整性 |
| Python 版本不兼容 |
脚本依赖 Python 3.8+ |
确认 .venv/bin/python --version ≥ 3.8 |
1---2name: ui-ux-pro-max3description: UI/UX 设计智能助手 - BM25 搜索引擎覆盖 8 大设计领域(风格/配色/字体/图表/Landing/产品/UX/Prompt),支持 8 种框架技术栈。当需要界面设计参考、配色方案、字体搭配、UI审查、设计规范时使用。关键词:UI设计、界面优化、配色、字体、设计规范、landing page4---5# UI/UX Pro Max - Design Intelligence67Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.89## Prerequisites1011Check if Python is installed:1213```bash14python3 --version || python --version15```1617If Python is not installed, install it based on user's OS:1819**macOS:**20```bash21brew install python322```2324**Ubuntu/Debian:**25```bash26sudo apt update && sudo apt install python327```2829**Windows:**30```powershell31winget install Python.Python.3.1232```3334---3536## How to Use This Skill3738When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:3940### Step 1: Analyze User Requirements4142Extract key information from user request:43- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.44- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.45- **Industry**: healthcare, fintech, gaming, education, etc.46- **Stack**: React, Vue, Next.js, or default to `html-tailwind`4748### Step 2: Search Relevant Domains4950Use `search.py` multiple times to gather comprehensive information. Search until you have enough context.5152```bash53python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]54```5556**Recommended search order:**57581. **Product** - Get style recommendations for product type592. **Style** - Get detailed style guide (colors, effects, frameworks)603. **Typography** - Get font pairings with Google Fonts imports614. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)625. **Landing** - Get page structure (if landing page)636. **Chart** - Get chart recommendations (if dashboard/analytics)647. **UX** - Get best practices and anti-patterns658. **Stack** - Get stack-specific guidelines (default: html-tailwind)6667### Step 3: Stack Guidelines (Default: html-tailwind)6869If user doesn't specify a stack, **default to `html-tailwind`**.7071```bash72python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind73```7475Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`7677---7879## Search Reference8081### Available Domains8283| Domain | Use For | Example Keywords |84|--------|---------|------------------|85| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |86| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |87| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |88| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |89| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |90| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |91| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |92| `prompt` | AI prompts, CSS keywords | (style name) |9394### Available Stacks9596| Stack | Focus |97|-------|-------|98| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |99| `react` | State, hooks, performance, patterns |100| `nextjs` | SSR, routing, images, API routes |101| `vue` | Composition API, Pinia, Vue Router |102| `svelte` | Runes, stores, SvelteKit |103| `swiftui` | Views, State, Navigation, Animation |104| `react-native` | Components, Navigation, Lists |105| `flutter` | Widgets, State, Layout, Theming |106107---108109## Example Workflow110111**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"112113**AI should:**114115```bash116# 1. Search product type117python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product118119# 2. Search style (based on industry: beauty, elegant)120python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style121122# 3. Search typography123python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography124125# 4. Search color palette126python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color127128# 5. Search landing page structure129python3 .claude/skills/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing130131# 6. Search UX guidelines132python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation" --domain ux133python3 .claude/skills/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux134135# 7. Search stack guidelines (default: html-tailwind)136python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind137```138139**Then:** Synthesize all search results and implement the design.140141---142143## Tips for Better Results1441451. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"1462. **Search multiple times** - Different keywords reveal different insights1473. **Combine domains** - Style + Typography + Color = Complete design system1484. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues1495. **Use stack flag** - Get implementation-specific best practices1506. **Iterate** - If first search doesn't match, try different keywords151152---153154## Common Rules for Professional UI155156These are frequently overlooked issues that make UI look unprofessional:157158### Icons & Visual Elements159160| Rule | Do | Don't |161|------|----|----- |162| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |163| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |164| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |165| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |166167### Interaction & Cursor168169| Rule | Do | Don't |170|------|----|----- |171| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |172| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |173| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |174175### Light/Dark Mode Contrast176177| Rule | Do | Don't |178|------|----|----- |179| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |180| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |181| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |182| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |183184### Layout & Spacing185186| Rule | Do | Don't |187|------|----|----- |188| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |189| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |190| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |191192---193194## Pre-Delivery Checklist195196Before delivering UI code, verify these items:197198### Visual Quality199- [ ] No emojis used as icons (use SVG instead)200- [ ] All icons from consistent icon set (Heroicons/Lucide)201- [ ] Brand logos are correct (verified from Simple Icons)202- [ ] Hover states don't cause layout shift203- [ ] Use theme colors directly (bg-primary) not var() wrapper204205### Interaction206- [ ] All clickable elements have `cursor-pointer`207- [ ] Hover states provide clear visual feedback208- [ ] Transitions are smooth (150-300ms)209- [ ] Focus states visible for keyboard navigation210211### Light/Dark Mode212- [ ] Light mode text has sufficient contrast (4.5:1 minimum)213- [ ] Glass/transparent elements visible in light mode214- [ ] Borders visible in both modes215- [ ] Test both modes before delivery216217### Layout218- [ ] Floating elements have proper spacing from edges219- [ ] No content hidden behind fixed navbars220- [ ] Responsive at 320px, 768px, 1024px, 1440px221- [ ] No horizontal scroll on mobile222223### Accessibility224- [ ] All images have alt text225- [ ] Form inputs have labels226- [ ] Color is not the only indicator227- [ ] `prefers-reduced-motion` respected228229## 故障处理230231| 错误 | 原因 | 解决方案 |232|------|------|----------|233| 搜索返回空结果 | 关键词未命中 BM25 索引 | 换用英文同义词,或尝试不同 domain 参数 |234| `FileNotFoundError` CSV | 数据文件缺失 | 检查 `{baseDir}/data/` 目录下的 CSV 文件完整性 |235| Python 版本不兼容 | 脚本依赖 Python 3.8+ | 确认 `.venv/bin/python --version` ≥ 3.8 |