Skip to content

Commit 39d7e15

Browse files
committed
feat: add nextlevelbuilder/ui-ux-pro-max-skill
1 parent e856518 commit 39d7e15

1 file changed

Lines changed: 253 additions & 0 deletions

File tree

Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
---
2+
name: ui-ux-pro-max
3+
description: "UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). 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+
compatibility: "OpenCode with Python 3.x"
5+
---
6+
7+
# UI/UX Pro Max - Design Intelligence
8+
9+
Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.
10+
11+
## OpenCode Tool Mapping
12+
13+
| Claude Code Tool | OpenCode Equivalent |
14+
|---------------------|------------------------|
15+
| `TodoWrite` | `update_plan` |
16+
| `Task` subagents | `@mention` system |
17+
| `Skill` tool | `use_skill` tool |
18+
| File operations | Native OpenCode tools |
19+
20+
## When to Use
21+
22+
Use this skill when:
23+
- User requests UI/UX work (design, build, create, implement, review, fix, improve)
24+
- User wants to build frontend pages (landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app)
25+
- User asks about design patterns, color palettes, typography, or UI components
26+
27+
## Prerequisites
28+
29+
Check if Python is installed:
30+
31+
```bash
32+
python3 --version || python --version
33+
```
34+
35+
If Python is not installed, install it based on user's OS:
36+
37+
**macOS:**
38+
39+
```bash
40+
brew install python3
41+
```
42+
43+
**Ubuntu/Debian:**
44+
45+
```bash
46+
sudo apt update && sudo apt install python3
47+
```
48+
49+
**Windows:**
50+
51+
```powershell
52+
winget install Python.Python.3.12
53+
```
54+
55+
---
56+
57+
## How to Use
58+
59+
### Step 1: Analyze User Requirements
60+
61+
Extract key information from user request:
62+
63+
- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
64+
- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
65+
- **Industry**: healthcare, fintech, gaming, education, etc.
66+
- **Stack**: React, Vue, Next.js, or default to `html-tailwind`
67+
68+
### Step 2: Search Relevant Domains
69+
70+
Use `update_plan` to track your search tasks, then execute multiple searches to gather comprehensive information.
71+
72+
```bash
73+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
74+
```
75+
76+
**Recommended search order:**
77+
78+
1. **Product** - Get style recommendations for product type
79+
2. **Style** - Get detailed style guide (colors, effects, frameworks)
80+
3. **Typography** - Get font pairings with Google Fonts imports
81+
4. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)
82+
5. **Landing** - Get page structure (if landing page)
83+
6. **Chart** - Get chart recommendations (if dashboard/analytics)
84+
7. **UX** - Get best practices and anti-patterns
85+
8. **Stack** - Get stack-specific guidelines (default: html-tailwind)
86+
87+
### Step 3: Stack Guidelines (Default: html-tailwind)
88+
89+
If user doesn't specify a stack, **default to `html-tailwind`**.
90+
91+
```bash
92+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
93+
```
94+
95+
Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`
96+
97+
---
98+
99+
## Search Reference
100+
101+
### Available Domains
102+
103+
| Domain | Use For | Example Keywords |
104+
| ------------ | ------------------------------------ | -------------------------------------------------------- |
105+
| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
106+
| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
107+
| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
108+
| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
109+
| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
110+
| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
111+
| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
112+
| `prompt` | AI prompts, CSS keywords | (style name) |
113+
114+
### Available Stacks
115+
116+
| Stack | Focus |
117+
| --------------- | ---------------------------------------------- |
118+
| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
119+
| `react` | State, hooks, performance, patterns |
120+
| `nextjs` | SSR, routing, images, API routes |
121+
| `vue` | Composition API, Pinia, Vue Router |
122+
| `svelte` | Runes, stores, SvelteKit |
123+
| `swiftui` | Views, State, Navigation, Animation |
124+
| `react-native` | Components, Navigation, Lists |
125+
| `flutter` | Widgets, State, Layout, Theming |
126+
| `shadcn` | shadcn/ui components, theming, forms, patterns |
127+
128+
---
129+
130+
## Example Workflow
131+
132+
**User request:** "Build a landing page for a professional skincare service."
133+
134+
**AI should:**
135+
136+
```bash
137+
# 1. Search product type
138+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
139+
140+
# 2. Search style (based on industry: beauty, elegant)
141+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
142+
143+
# 3. Search typography
144+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
145+
146+
# 4. Search color palette
147+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
148+
149+
# 5. Search landing page structure
150+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
151+
152+
# 6. Search UX guidelines
153+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "animation" --domain ux
154+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
155+
156+
# 7. Search stack guidelines (default: html-tailwind)
157+
python3 ../../.shared/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind
158+
```
159+
160+
**Then:** Synthesize all search results and implement the design.
161+
162+
---
163+
164+
## Tips for Better Results
165+
166+
1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
167+
2. **Search multiple times** - Different keywords reveal different insights
168+
3. **Combine domains** - Style + Typography + Color = Complete design system
169+
4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
170+
5. **Use stack flag** - Get implementation-specific best practices
171+
6. **Iterate** - If first search doesn't match, try different keywords
172+
173+
---
174+
175+
## Common Rules for Professional UI
176+
177+
These are frequently overlooked issues that make UI look unprofessional:
178+
179+
### Icons & Visual Elements
180+
181+
| Rule | Do | Don't |
182+
| -------------------------- | ----------------------------------------------- | -------------------------------------- |
183+
| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
184+
| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
185+
| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
186+
| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
187+
188+
### Interaction & Cursor
189+
190+
| Rule | Do | Don't |
191+
| ---------------------- | ----------------------------------------------------- | -------------------------------------------- |
192+
| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
193+
| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
194+
| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
195+
196+
### Light/Dark Mode Contrast
197+
198+
| Rule | Do | Don't |
199+
| ------------------------- | ----------------------------------- | --------------------------------------- |
200+
| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
201+
| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
202+
| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
203+
| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
204+
205+
### Layout & Spacing
206+
207+
| Rule | Do | Don't |
208+
| ------------------------ | ----------------------------------- | -------------------------------------- |
209+
| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
210+
| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
211+
| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
212+
213+
---
214+
215+
## Pre-Delivery Checklist
216+
217+
Before delivering UI code, verify these items:
218+
219+
### Visual Quality
220+
221+
- [ ] No emojis used as icons (use SVG instead)
222+
- [ ] All icons from consistent icon set (Heroicons/Lucide)
223+
- [ ] Brand logos are correct (verified from Simple Icons)
224+
- [ ] Hover states don't cause layout shift
225+
- [ ] Use theme colors directly (bg-primary) not var() wrapper
226+
227+
### Interaction
228+
229+
- [ ] All clickable elements have `cursor-pointer`
230+
- [ ] Hover states provide clear visual feedback
231+
- [ ] Transitions are smooth (150-300ms)
232+
- [ ] Focus states visible for keyboard navigation
233+
234+
### Light/Dark Mode
235+
236+
- [ ] Light mode text has sufficient contrast (4.5:1 minimum)
237+
- [ ] Glass/transparent elements visible in light mode
238+
- [ ] Borders visible in both modes
239+
- [ ] Test both modes before delivery
240+
241+
### Layout
242+
243+
- [ ] Floating elements have proper spacing from edges
244+
- [ ] No content hidden behind fixed navbars
245+
- [ ] Responsive at 320px, 768px, 1024px, 1440px
246+
- [ ] No horizontal scroll on mobile
247+
248+
### Accessibility
249+
250+
- [ ] All images have alt text
251+
- [ ] Form inputs have labels
252+
- [ ] Color is not the only indicator
253+
- [ ] `prefers-reduced-motion` respected

0 commit comments

Comments
 (0)