UI/UX Pro Max - Design Intelligence v2.0
Comprehensive design guide for web, mobile, and desktop applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks (including PySide6/Qt). Searchable database with priority-based recommendations and AI-powered Design System Generator.
What's New in v2.0
Intelligent Design System Generation
The flagship feature of v2.0 is the Design System Generator - an AI-powered reasoning engine that analyzes your project requirements and generates a complete, tailored design system in seconds.
How it works:
┌─────────────────────────────────────────────────────────────────┐
│ 1. USER REQUEST │
│ "Build a landing page for my beauty spa" │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ 2. MULTI-DOMAIN SEARCH (5 parallel searches) │
│ • Product type matching (100 categories) │
│ • Style recommendations (67 styles) │
│ • Color palette selection (96 palettes) │
│ • Landing page patterns (24 patterns) │
│ • Typography pairing (57 font combinations) │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ 3. REASONING ENGINE │
│ • Match product → UI category rules │
│ • Apply style priorities (BM25 ranking) │
│ • Filter anti-patterns for industry │
│ • Process decision rules (JSON conditions) │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ 4. COMPLETE DESIGN SYSTEM OUTPUT │
│ Pattern + Style + Colors + Typography + Effects │
│ + Anti-patterns to avoid + Pre-delivery checklist │
└─────────────────────────────────────────────────────────────────┘
100 Industry-Specific Reasoning Rules covering:
- SaaS (General, Micro, Enterprise, B2B)
- E-commerce (General, Luxury)
- Healthcare, Fintech, Banking, Insurance
- Education, Gaming, Entertainment
- Beauty/Spa/Wellness, Food/Restaurant
- Real Estate, Travel, Logistics
- And 80+ more specialized categories
Each rule includes:
- Recommended Pattern - Landing page structure optimized for industry
- Style Priority - Best matching UI styles (e.g., "Glassmorphism + Flat Design")
- Color Mood - Industry-appropriate palettes (e.g., "Trust blue + Accent contrast")
- Typography Mood - Font personality matching (e.g., "Professional + Hierarchy")
- Key Effects - Animations and interactions (e.g., "Subtle hover 200-250ms")
- Decision Rules - JSON conditions for dynamic recommendations
- Anti-Patterns - What NOT to do (e.g., "AI purple/pink gradients" for banking)
- Severity - Impact level (HIGH, MEDIUM, LOW)
When to Apply
Reference these guidelines when:
- Designing new UI components or pages
- Choosing color palettes and typography
- Reviewing code for UX issues
- Building landing pages or dashboards
- Implementing accessibility requirements
Rule Categories by Priority
| Priority |
Category |
Impact |
Domain |
| 1 |
Accessibility |
CRITICAL |
ux |
| 2 |
Touch & Interaction |
CRITICAL |
ux |
| 3 |
Performance |
HIGH |
ux |
| 4 |
Layout & Responsive |
HIGH |
ux |
| 5 |
Typography & Color |
MEDIUM |
typography, color |
| 6 |
Animation |
MEDIUM |
ux |
| 7 |
Style Selection |
MEDIUM |
style, product |
| 8 |
Charts & Data |
LOW |
chart |
Quick Reference
1. Accessibility (CRITICAL)
color-contrast - Minimum 4.5:1 ratio for normal text
focus-states - Visible focus rings on interactive elements
alt-text - Descriptive alt text for meaningful images
aria-labels - aria-label for icon-only buttons
keyboard-nav - Tab order matches visual order
form-labels - Use label with for attribute
2. Touch & Interaction (CRITICAL)
touch-target-size - Minimum 44x44px touch targets
hover-vs-tap - Use click/tap for primary interactions
loading-buttons - Disable button during async operations
error-feedback - Clear error messages near problem
cursor-pointer - Add cursor-pointer to clickable elements
3. Performance (HIGH)
image-optimization - Use WebP, srcset, lazy loading
reduced-motion - Check prefers-reduced-motion
content-jumping - Reserve space for async content
4. Layout & Responsive (HIGH)
viewport-meta - width=device-width initial-scale=1
readable-font-size - Minimum 16px body text on mobile
horizontal-scroll - Ensure content fits viewport width
z-index-management - Define z-index scale (10, 20, 30, 50)
5. Typography & Color (MEDIUM)
line-height - Use 1.5-1.75 for body text
line-length - Limit to 65-75 characters per line
font-pairing - Match heading/body font personalities
6. Animation (MEDIUM)
duration-timing - Use 150-300ms for micro-interactions
transform-performance - Use transform/opacity, not width/height
loading-states - Skeleton screens or spinners
7. Style Selection (MEDIUM)
style-match - Match style to product type
consistency - Use same style across all pages
no-emoji-icons - Use SVG icons, not emojis
8. Charts & Data (LOW)
chart-type - Match chart type to data type
color-guidance - Use accessible color palettes
data-table - Provide table alternative for accessibility
How to Use
Search specific domains using the CLI tool below.
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: Generate Design System (⚡ REQUIRED - DO THIS FIRST ⚡)
CRITICAL: Always start with --design-system to get the AI-powered reasoning engine recommendations:
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
Why this is required:
- Searches 5 domains in parallel (product, style, color, landing, typography)
- Applies 100 industry-specific reasoning rules from
ui-reasoning.csv
- Returns complete design system: pattern, style, colors, typography, effects
- Includes anti-patterns to avoid (e.g., "AI purple/pink gradients" for banking)
- Pre-delivery checklist for professional quality
Example:
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
Output format: ASCII box (default) or Markdown (-f markdown)
Step 3: Supplement with Detailed Searches (as needed)
After getting the design system, use domain searches for additional details:
python3 .claude/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 |
style |
--domain style "glassmorphism dark" |
| Chart recommendations |
chart |
--domain chart "real-time dashboard" |
| UX best practices |
ux |
--domain ux "animation accessibility" |
| Alternative fonts |
typography |
--domain typography "elegant luxury" |
| Landing structure |
landing |
--domain landing "hero social-proof" |
Step 4: Stack Guidelines (Default: html-tailwind)
Get implementation-specific best practices. 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, shadcn
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 |
react |
React/Next.js performance |
waterfall, bundle, suspense, memo, rerender, cache |
web |
Web interface guidelines |
aria, focus, keyboard, semantic, virtualize |
web |
Web interface guidelines |
aria, focus, keyboard, semantic, virtualize |
prompt |
AI prompts, CSS keywords |
(style name) |
templates |
FREE High-quality Templates |
site:htmlrev.com <stack> <category> |
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 |
shadcn |
shadcn/ui components, theming, forms, patterns |
desktop-qt |
PySide6/PyQt6: QSS styling, Glassmorphism, Signals/Slots, resource systems (.rcc), custom title bars |
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
- Product type: Beauty/Spa service
- Style keywords: elegant, professional, soft
- Industry: Beauty/Wellness
- Stack: html-tailwind (default)
Step 2: Generate Design System (REQUIRED)
python3 .claude/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.
Step 3: Supplement with Detailed Searches (as needed)
# Get UX guidelines for animation and accessibility
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
# Get alternative typography options if needed
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
Step 4: Stack Guidelines
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
Then: Synthesize design system + detailed searches and implement the design.
Output Formats
The --design-system flag supports two output formats:
# ASCII box (default) - best for terminal display
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
# Markdown - best for documentation
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
Design System Persistence (Advanced)
Master + Overrides Pattern
Save your design system to files for hierarchical retrieval across sessions:
# Generate and persist to design-system/MASTER.md
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "SaaS dashboard" --design-system --persist -p "MyApp"
# Also create a page-specific override file
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "checkout payment" --design-system --persist -p "MyApp" --page "checkout"
This creates a design-system/ folder structure:
design-system/
├── MASTER.md # Global Source of Truth (colors, typography, spacing, components)
└── pages/
└── checkout.md # Page-specific overrides (only deviations from Master)
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
design-system/MASTER.md exclusively
Context-aware retrieval prompt:
I am building the [Page Name] page.
Please read design-system/MASTER.md.
Also check if design-system/pages/[page-name].md exists.
If the page file exists, prioritize its rules. If not, use the Master rules exclusively.
Now, generate the code...
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
1---2name: ui-ux-pro-max3description: UI/UX design intelligence v2.0 with AI-powered Design System Generator. 67 styles, 96 color palettes, 57 font pairings, 25 chart types, 100 industry-specific reasoning rules, 13 tech stacks. Auto-generates complete design systems with pattern recommendations, color moods, typography, effects, and anti-patterns. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.4---56# UI/UX Pro Max - Design Intelligence v2.078Comprehensive design guide for web, mobile, and **desktop** applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks (including **PySide6/Qt**). Searchable database with priority-based recommendations and **AI-powered Design System Generator**.910## What's New in v2.01112### Intelligent Design System Generation1314The flagship feature of v2.0 is the **Design System Generator** - an AI-powered reasoning engine that analyzes your project requirements and generates a complete, tailored design system in seconds.1516**How it works:**1718```19┌─────────────────────────────────────────────────────────────────┐20│ 1. USER REQUEST │21│ "Build a landing page for my beauty spa" │22└─────────────────────────────────────────────────────────────────┘23 │24 ▼25┌─────────────────────────────────────────────────────────────────┐26│ 2. MULTI-DOMAIN SEARCH (5 parallel searches) │27│ • Product type matching (100 categories) │28│ • Style recommendations (67 styles) │29│ • Color palette selection (96 palettes) │30│ • Landing page patterns (24 patterns) │31│ • Typography pairing (57 font combinations) │32└─────────────────────────────────────────────────────────────────┘33 │34 ▼35┌─────────────────────────────────────────────────────────────────┐36│ 3. REASONING ENGINE │37│ • Match product → UI category rules │38│ • Apply style priorities (BM25 ranking) │39│ • Filter anti-patterns for industry │40│ • Process decision rules (JSON conditions) │41└─────────────────────────────────────────────────────────────────┘42 │43 ▼44┌─────────────────────────────────────────────────────────────────┐45│ 4. COMPLETE DESIGN SYSTEM OUTPUT │46│ Pattern + Style + Colors + Typography + Effects │47│ + Anti-patterns to avoid + Pre-delivery checklist │48└─────────────────────────────────────────────────────────────────┘49```5051**100 Industry-Specific Reasoning Rules** covering:52- SaaS (General, Micro, Enterprise, B2B)53- E-commerce (General, Luxury)54- Healthcare, Fintech, Banking, Insurance55- Education, Gaming, Entertainment56- Beauty/Spa/Wellness, Food/Restaurant57- Real Estate, Travel, Logistics58- And 80+ more specialized categories5960Each rule includes:61- **Recommended Pattern** - Landing page structure optimized for industry62- **Style Priority** - Best matching UI styles (e.g., "Glassmorphism + Flat Design")63- **Color Mood** - Industry-appropriate palettes (e.g., "Trust blue + Accent contrast")64- **Typography Mood** - Font personality matching (e.g., "Professional + Hierarchy")65- **Key Effects** - Animations and interactions (e.g., "Subtle hover 200-250ms")66- **Decision Rules** - JSON conditions for dynamic recommendations67- **Anti-Patterns** - What NOT to do (e.g., "AI purple/pink gradients" for banking)68- **Severity** - Impact level (HIGH, MEDIUM, LOW)6970## When to Apply7172Reference these guidelines when:7374- Designing new UI components or pages75- Choosing color palettes and typography76- Reviewing code for UX issues77- Building landing pages or dashboards78- Implementing accessibility requirements7980## Rule Categories by Priority8182| Priority | Category | Impact | Domain |83| -------- | ------------------- | -------- | --------------------- |84| 1 | Accessibility | CRITICAL | `ux` |85| 2 | Touch & Interaction | CRITICAL | `ux` |86| 3 | Performance | HIGH | `ux` |87| 4 | Layout & Responsive | HIGH | `ux` |88| 5 | Typography & Color | MEDIUM | `typography`, `color` |89| 6 | Animation | MEDIUM | `ux` |90| 7 | Style Selection | MEDIUM | `style`, `product` |91| 8 | Charts & Data | LOW | `chart` |9293## Quick Reference9495### 1. Accessibility (CRITICAL)9697- `color-contrast` - Minimum 4.5:1 ratio for normal text98- `focus-states` - Visible focus rings on interactive elements99- `alt-text` - Descriptive alt text for meaningful images100- `aria-labels` - aria-label for icon-only buttons101- `keyboard-nav` - Tab order matches visual order102- `form-labels` - Use label with for attribute103104### 2. Touch & Interaction (CRITICAL)105106- `touch-target-size` - Minimum 44x44px touch targets107- `hover-vs-tap` - Use click/tap for primary interactions108- `loading-buttons` - Disable button during async operations109- `error-feedback` - Clear error messages near problem110- `cursor-pointer` - Add cursor-pointer to clickable elements111112### 3. Performance (HIGH)113114- `image-optimization` - Use WebP, srcset, lazy loading115- `reduced-motion` - Check prefers-reduced-motion116- `content-jumping` - Reserve space for async content117118### 4. Layout & Responsive (HIGH)119120- `viewport-meta` - width=device-width initial-scale=1121- `readable-font-size` - Minimum 16px body text on mobile122- `horizontal-scroll` - Ensure content fits viewport width123- `z-index-management` - Define z-index scale (10, 20, 30, 50)124125### 5. Typography & Color (MEDIUM)126127- `line-height` - Use 1.5-1.75 for body text128- `line-length` - Limit to 65-75 characters per line129- `font-pairing` - Match heading/body font personalities130131### 6. Animation (MEDIUM)132133- `duration-timing` - Use 150-300ms for micro-interactions134- `transform-performance` - Use transform/opacity, not width/height135- `loading-states` - Skeleton screens or spinners136137### 7. Style Selection (MEDIUM)138139- `style-match` - Match style to product type140- `consistency` - Use same style across all pages141- `no-emoji-icons` - Use SVG icons, not emojis142143### 8. Charts & Data (LOW)144145- `chart-type` - Match chart type to data type146- `color-guidance` - Use accessible color palettes147- `data-table` - Provide table alternative for accessibility148149## How to Use150151Search specific domains using the CLI tool below.152153---154155## Prerequisites156157Check if Python is installed:158159```bash160python3 --version || python --version161```162163If Python is not installed, install it based on user's OS:164165**macOS:**166167```bash168brew install python3169```170171**Ubuntu/Debian:**172173```bash174sudo apt update && sudo apt install python3175```176177**Windows:**178179```powershell180winget install Python.Python.3.12181```182183---184185## How to Use This Skill186187When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:188189### Step 1: Analyze User Requirements190191Extract key information from user request:192193- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.194- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.195- **Industry**: healthcare, fintech, gaming, education, etc.196- **Stack**: React, Vue, Next.js, or default to `html-tailwind`197198### Step 2: Generate Design System (⚡ REQUIRED - DO THIS FIRST ⚡)199200**CRITICAL: Always start with `--design-system`** to get the AI-powered reasoning engine recommendations:201202```bash203python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]204```205206**Why this is required:**2072081. **Searches 5 domains in parallel** (product, style, color, landing, typography)2092. **Applies 100 industry-specific reasoning rules** from `ui-reasoning.csv`2103. **Returns complete design system**: pattern, style, colors, typography, effects2114. **Includes anti-patterns to avoid** (e.g., "AI purple/pink gradients" for banking)2125. **Pre-delivery checklist** for professional quality213214**Example:**215216```bash217python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"218```219220**Output format:** ASCII box (default) or Markdown (`-f markdown`)221222### Step 3: Supplement with Detailed Searches (as needed)223224After getting the design system, use domain searches for additional details:225226```bash227python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]228```229230**When to use detailed searches:**231232| Need | Domain | Example |233| --------------------- | ------------ | --------------------------------------- |234| More style options | `style` | `--domain style "glassmorphism dark"` |235| Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |236| UX best practices | `ux` | `--domain ux "animation accessibility"` |237| Alternative fonts | `typography` | `--domain typography "elegant luxury"` |238| Landing structure | `landing` | `--domain landing "hero social-proof"` |239240### Step 4: Stack Guidelines (Default: html-tailwind)241242Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.243244```bash245python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind246```247248Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`249250---251252## Search Reference253254### Available Domains255256| Domain | Use For | Example Keywords |257| ------------ | ------------------------------------ | -------------------------------------------------------- |258| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |259| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |260| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |261| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |262| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |263| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |264| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |265| `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |266| `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |267| `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |268| `prompt` | AI prompts, CSS keywords | (style name) |269| `templates` | FREE High-quality Templates | `site:htmlrev.com <stack> <category>` |270271### Available Stacks272273| Stack | Focus |274| --------------- | ---------------------------------------------------------------------------------------------------------- |275| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |276| `react` | State, hooks, performance, patterns |277| `nextjs` | SSR, routing, images, API routes |278| `vue` | Composition API, Pinia, Vue Router |279| `svelte` | Runes, stores, SvelteKit |280| `swiftui` | Views, State, Navigation, Animation |281| `react-native` | Components, Navigation, Lists |282| `flutter` | Widgets, State, Layout, Theming |283| `shadcn` | shadcn/ui components, theming, forms, patterns |284| `desktop-qt` | **PySide6/PyQt6**: QSS styling, Glassmorphism, Signals/Slots, resource systems (`.rcc`), custom title bars |285286---287288## Example Workflow289290**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"291292### Step 1: Analyze Requirements293294- Product type: Beauty/Spa service295- Style keywords: elegant, professional, soft296- Industry: Beauty/Wellness297- Stack: html-tailwind (default)298299### Step 2: Generate Design System (REQUIRED)300301```bash302python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"303```304305**Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.306307### Step 3: Supplement with Detailed Searches (as needed)308309```bash310# Get UX guidelines for animation and accessibility311python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux312313# Get alternative typography options if needed314python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography315```316317### Step 4: Stack Guidelines318319```bash320python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind321```322323**Then:** Synthesize design system + detailed searches and implement the design.324325---326327## Output Formats328329The `--design-system` flag supports two output formats:330331```bash332# ASCII box (default) - best for terminal display333python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system334335# Markdown - best for documentation336python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown337```338339---340341## Design System Persistence (Advanced)342343### Master + Overrides Pattern344345Save your design system to files for hierarchical retrieval across sessions:346347```bash348# Generate and persist to design-system/MASTER.md349python3 .claude/skills/ui-ux-pro-max/scripts/search.py "SaaS dashboard" --design-system --persist -p "MyApp"350351# Also create a page-specific override file352python3 .claude/skills/ui-ux-pro-max/scripts/search.py "checkout payment" --design-system --persist -p "MyApp" --page "checkout"353```354355This creates a `design-system/` folder structure:356357```358design-system/359├── MASTER.md # Global Source of Truth (colors, typography, spacing, components)360└── pages/361 └── checkout.md # Page-specific overrides (only deviations from Master)362```363364**How hierarchical retrieval works:**3653661. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`3672. If the page file exists, its rules **override** the Master file3683. If not, use `design-system/MASTER.md` exclusively369370**Context-aware retrieval prompt:**371372```373I am building the [Page Name] page.374Please read design-system/MASTER.md.375Also check if design-system/pages/[page-name].md exists.376If the page file exists, prioritize its rules. If not, use the Master rules exclusively.377Now, generate the code...378```379380---381382## Tips for Better Results3833841. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"3852. **Search multiple times** - Different keywords reveal different insights3863. **Combine domains** - Style + Typography + Color = Complete design system3874. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues3885. **Use stack flag** - Get implementation-specific best practices3896. **Iterate** - If first search doesn't match, try different keywords390391---392393## Common Rules for Professional UI394395These are frequently overlooked issues that make UI look unprofessional:396397### Icons & Visual Elements398399| Rule | Do | Don't |400| -------------------------- | ----------------------------------------------- | -------------------------------------- |401| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |402| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |403| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |404| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |405406### Interaction & Cursor407408| Rule | Do | Don't |409| ---------------------- | ----------------------------------------------------- | -------------------------------------------- |410| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |411| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |412| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |413414### Light/Dark Mode Contrast415416| Rule | Do | Don't |417| ------------------------- | ----------------------------------- | --------------------------------------- |418| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |419| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |420| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |421| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |422423### Layout & Spacing424425| Rule | Do | Don't |426| ------------------------ | ----------------------------------- | -------------------------------------- |427| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |428| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |429| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |430431---432433## Pre-Delivery Checklist434435Before delivering UI code, verify these items:436437### Visual Quality438439- [ ] No emojis used as icons (use SVG instead)440- [ ] All icons from consistent icon set (Heroicons/Lucide)441- [ ] Brand logos are correct (verified from Simple Icons)442- [ ] Hover states don't cause layout shift443- [ ] Use theme colors directly (bg-primary) not var() wrapper444445### Interaction446447- [ ] All clickable elements have `cursor-pointer`448- [ ] Hover states provide clear visual feedback449- [ ] Transitions are smooth (150-300ms)450- [ ] Focus states visible for keyboard navigation451452### Light/Dark Mode453454- [ ] Light mode text has sufficient contrast (4.5:1 minimum)455- [ ] Glass/transparent elements visible in light mode456- [ ] Borders visible in both modes457- [ ] Test both modes before delivery458459### Layout460461- [ ] Floating elements have proper spacing from edges462- [ ] No content hidden behind fixed navbars463- [ ] Responsive at 375px, 768px, 1024px, 1440px464- [ ] No horizontal scroll on mobile465466### Accessibility467468- [ ] All images have alt text469- [ ] Form inputs have labels470- [ ] Color is not the only indicator471- [ ] `prefers-reduced-motion` respected