ui-ux-pro-max
Comprehensive design guide for web and mobile applications. Contains 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 9 technology stacks. Searchable database with priority-based recommendations.
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 Workflow
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)
Always start with --design-system to get comprehensive recommendations with reasoning:
python3 .shared/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
ui-reasoning.csv to select best matches
- Returns complete design system: pattern, style, colors, typography, effects
- Includes anti-patterns to avoid
Example:
python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
Step 2b: Persist Design System (Master + Overrides Pattern)
To save the design system for hierarchical retrieval across sessions, add --persist:
python3 .shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
This creates:
design-system/MASTER.md — Global Source of Truth with all design rules
design-system/pages/ — Folder for page-specific overrides
With page-specific override:
python3 .shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
This also creates:
design-system/pages/dashboard.md — Page-specific 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
Step 3: Supplement with Detailed Searches (as needed)
After getting the design system, use domain searches to get additional details:
python3 .shared/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 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
Available stacks: html-tailwind, react, nextjs, vue, svelte, swiftui, react-native, flutter, shadcn, jetpack-compose
, jetpack-compose
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 |
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 |
shadcn |
shadcn/ui components, theming, forms, patterns |
jetpack-compose |
Composables, Modifiers, State Hoisting, Recomposition |
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 .shared/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 .shared/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
# Get alternative typography options if needed
python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
Step 4: Stack Guidelines
python3 .shared/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 .shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
# Markdown - best for documentation
python3 .shared/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
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
Parent Hub
Part of Workflow
This skill is utilized in the following sequential workflows:
1---2name: ui-ux-pro-max-223description: AI-powered design intelligence for building professional UI/UX across multiple platforms and frameworks.4---5
6# ui-ux-pro-max
7
8Comprehensive design guide for web and mobile applications. Contains 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 9 technology stacks. Searchable database with priority-based recommendations.
9
10## Prerequisites
11
12Check if Python is installed:
13
14```bash
15python3 --version || python --version
16```
17
18If Python is not installed, install it based on user's OS:
19
20**macOS:**
21
22```bash
23brew install python3
24```
25
26**Ubuntu/Debian:**
27
28```bash
29sudo apt update && sudo apt install python3
30```
31
32**Windows:**
33
34```powershell
35winget install Python.Python.3.12
36```
37
38---
39
40## How to Use This Workflow
41
42When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
43
44### Step 1: Analyze User Requirements
45
46Extract key information from user request:
47
48- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
49- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
50- **Industry**: healthcare, fintech, gaming, education, etc.
51- **Stack**: React, Vue, Next.js, or default to `html-tailwind`
52
53### Step 2: Generate Design System (REQUIRED)
54
55**Always start with `--design-system`** to get comprehensive recommendations with reasoning:
56
57```bash
58python3 .shared/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
59```
60
61This command:
62
631. Searches 5 domains in parallel (product, style, color, landing, typography)
642. Applies reasoning rules from `ui-reasoning.csv` to select best matches
653. Returns complete design system: pattern, style, colors, typography, effects
664. Includes anti-patterns to avoid
67
68**Example:**
69
70```bash
71python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
72```
73
74### Step 2b: Persist Design System (Master + Overrides Pattern)
75
76To save the design system for hierarchical retrieval across sessions, add `--persist`:
77
78```bash
79python3 .shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
80```
81
82This creates:
83
84- `design-system/MASTER.md` — Global Source of Truth with all design rules
85- `design-system/pages/` — Folder for page-specific overrides
86
87**With page-specific override:**
88
89```bash
90python3 .shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
91```
92
93This also creates:
94
95- `design-system/pages/dashboard.md` — Page-specific deviations from Master
96
97**How hierarchical retrieval works:**
98
991. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`
1002. If the page file exists, its rules **override** the Master file
1013. If not, use `design-system/MASTER.md` exclusively
102
103### Step 3: Supplement with Detailed Searches (as needed)
104
105After getting the design system, use domain searches to get additional details:
106
107```bash
108python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
109```
110
111**When to use detailed searches:**
112
113| Need | Domain | Example |
114| --------------------- | ------------ | --------------------------------------- |
115| More style options | `style` | `--domain style "glassmorphism dark"` |
116| Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
117| UX best practices | `ux` | `--domain ux "animation accessibility"` |
118| Alternative fonts | `typography` | `--domain typography "elegant luxury"` |
119| Landing structure | `landing` | `--domain landing "hero social-proof"` |
120
121### Step 4: Stack Guidelines (Default: html-tailwind)
122
123Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.
124
125```bash
126python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
127```
128
129Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`
130, `jetpack-compose`
131
132---
133
134## Search Reference
135
136### Available Domains
137
138| Domain | Use For | Example Keywords |
139| ------------ | ------------------------------------ | -------------------------------------------------------- |
140| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
141| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
142| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
143| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
144| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
145| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
146| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
147| `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
148| `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |
149| `prompt` | AI prompts, CSS keywords | (style name) |
150
151### Available Stacks
152
153| Stack | Focus |
154| ----------------- | ----------------------------------------------------- |
155| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
156| `react` | State, hooks, performance, patterns |
157| `nextjs` | SSR, routing, images, API routes |
158| `vue` | Composition API, Pinia, Vue Router |
159| `svelte` | Runes, stores, SvelteKit |
160| `swiftui` | Views, State, Navigation, Animation |
161| `react-native` | Components, Navigation, Lists |
162| `flutter` | Widgets, State, Layout, Theming |
163| `shadcn` | shadcn/ui components, theming, forms, patterns |
164| `jetpack-compose` | Composables, Modifiers, State Hoisting, Recomposition |
165
166---
167
168## Example Workflow
169
170**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
171
172### Step 1: Analyze Requirements
173
174- Product type: Beauty/Spa service
175- Style keywords: elegant, professional, soft
176- Industry: Beauty/Wellness
177- Stack: html-tailwind (default)
178
179### Step 2: Generate Design System (REQUIRED)
180
181```bash
182python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
183```
184
185**Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
186
187### Step 3: Supplement with Detailed Searches (as needed)
188
189```bash
190# Get UX guidelines for animation and accessibility
191python3 .shared/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
192
193# Get alternative typography options if needed
194python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
195```
196
197### Step 4: Stack Guidelines
198
199```bash
200python3 .shared/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
201```
202
203**Then:** Synthesize design system + detailed searches and implement the design.
204
205---
206
207## Output Formats
208
209The `--design-system` flag supports two output formats:
210
211```bash
212# ASCII box (default) - best for terminal display
213python3 .shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
214
215# Markdown - best for documentation
216python3 .shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
217```
218
219---
220
221## Tips for Better Results
222
2231. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
2242. **Search multiple times** - Different keywords reveal different insights
2253. **Combine domains** - Style + Typography + Color = Complete design system
2264. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
2275. **Use stack flag** - Get implementation-specific best practices
2286. **Iterate** - If first search doesn't match, try different keywords
229
230---
231
232## Common Rules for Professional UI
233
234These are frequently overlooked issues that make UI look unprofessional:
235
236### Icons & Visual Elements
237
238| Rule | Do | Don't |
239| -------------------------- | ----------------------------------------------- | -------------------------------------- |
240| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
241| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
242| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
243| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
244
245### Interaction & Cursor
246
247| Rule | Do | Don't |
248| ---------------------- | ----------------------------------------------------- | -------------------------------------------- |
249| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
250| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
251| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
252
253### Light/Dark Mode Contrast
254
255| Rule | Do | Don't |
256| ------------------------- | ----------------------------------- | --------------------------------------- |
257| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
258| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
259| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
260| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
261
262### Layout & Spacing
263
264| Rule | Do | Don't |
265| ------------------------ | ----------------------------------- | -------------------------------------- |
266| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
267| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
268| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
269
270---
271
272## Pre-Delivery Checklist
273
274Before delivering UI code, verify these items:
275
276### Visual Quality
277
278- [ ] No emojis used as icons (use SVG instead)
279- [ ] All icons from consistent icon set (Heroicons/Lucide)
280- [ ] Brand logos are correct (verified from Simple Icons)
281- [ ] Hover states don't cause layout shift
282- [ ] Use theme colors directly (bg-primary) not var() wrapper
283
284### Interaction
285
286- [ ] All clickable elements have `cursor-pointer`
287- [ ] Hover states provide clear visual feedback
288- [ ] Transitions are smooth (150-300ms)
289- [ ] Focus states visible for keyboard navigation
290
291### Light/Dark Mode
292
293- [ ] Light mode text has sufficient contrast (4.5:1 minimum)
294- [ ] Glass/transparent elements visible in light mode
295- [ ] Borders visible in both modes
296- [ ] Test both modes before delivery
297
298### Layout
299
300- [ ] Floating elements have proper spacing from edges
301- [ ] No content hidden behind fixed navbars
302- [ ] Responsive at 375px, 768px, 1024px, 1440px
303- [ ] No horizontal scroll on mobile
304
305### Accessibility
306
307- [ ] All images have alt text
308- [ ] Form inputs have labels
309- [ ] Color is not the only indicator
310- [ ] `prefers-reduced-motion` respected
311
312
313## Parent Hub
314- [_frontend-mastery](../_frontend-mastery/SKILL.md)
315
316
317## Part of Workflow
318This skill is utilized in the following sequential workflows:
319- [_workflow-feature-lifecycle](../_workflow-feature-lifecycle/SKILL.md)