--- name: ui-ux-pro-max description: UI/UX design intelligence for web and mobile. Covers accessibility, touch interaction, performance, typography, animation, forms, navigation, and data visualization. Use when the task involves UI structure, visual design decisions, interaction patterns, or user experience quality control. Projects include websites, landing pages, dashboards, admin panels, SaaS, portfolios, and mobile apps. Stacks include React, Next.js, Vue, Svelte, HTML/CSS/Tailwind, and shadcn/ui. license: Adapted from nextlevelbuilder/ui-ux-pro-max-skill (MIT). Source: https://github.com/nextlevelbuilder/ui-ux-pro-max-skill --- # UI/UX Pro Max — Design Intelligence Comprehensive UX/UI guidance for web and mobile. Covers 10 rule categories: accessibility, touch & interaction, performance, style, layout, typography & color, animation, forms & feedback, navigation, and data visualization. Applied with priority weighting — fix CRITICAL first, HIGH second, MEDIUM third. --- ## When to Apply ### Must Use - Designing new pages (landing, dashboard, admin, SaaS, mobile app) - Creating or refactoring UI components (buttons, modals, forms, tables, charts) - Choosing color schemes, typography, spacing, or layout systems - Reviewing UI code for accessibility, visual consistency, or UX quality - Implementing navigation, animations, or responsive behavior - Making product-level design decisions (style, hierarchy, brand) ### Recommended - UI looks "unprofessional" but the reason is unclear - Receiving feedback on usability or experience - Pre-launch UI quality pass - Aligning cross-platform design (Web / iOS / Android) - Building design systems or reusable component libraries ### Skip - Pure backend logic, API/database design, DevOps, infrastructure, non-visual scripts **Decision rule**: If the task changes how something *looks, feels, moves, or is interacted with* — use this skill. --- ## How to Use **Step 1 — Analyze requirements** Identify: product type, target audience, style keywords, tech stack. **Step 2 — Apply the rule categories below** in priority order (1→10). Focus on CRITICAL and HIGH first. **Step 3 — Run the Pre-Delivery Checklist** before submitting any UI code. | Scenario | Start From | |---|---| | New project / page | Step 1 → Style Selection → Layout → Typography | | New component | Animation + Forms + Interaction rules | | Review existing UI | Quick Reference checklist, §1–§3 first | | Fix a UI bug | Relevant section from Quick Reference | | Improve / optimize | §3 Performance + §5 Layout | | Add charts / data viz | §10 Charts & Data | --- ## Rule Categories by Priority | Priority | Category | Impact | Key Checks (Must Have) | Anti-Patterns (Avoid) | |---|---|---|---|---| | 1 | Accessibility | CRITICAL | Contrast 4.5:1, Alt text, Keyboard nav, Aria-labels | Removing focus rings, Icon-only buttons without labels | | 2 | Touch & Interaction | CRITICAL | Min size 44×44px, 8px+ spacing, Loading feedback | Reliance on hover only, Instant state changes (0ms) | | 3 | Performance | HIGH | WebP/AVIF, Lazy loading, Reserve space (CLS < 0.1) | Layout thrashing, Cumulative Layout Shift | | 4 | Style Selection | HIGH | Match product type, Consistency, SVG icons (no emoji) | Mixing flat & skeuomorphic randomly | | 5 | Layout & Responsive | HIGH | Mobile-first, Viewport meta, No horizontal scroll | Fixed px widths, Disable zoom | | 6 | Typography & Color | MEDIUM | Base 16px, Line-height 1.5, Semantic color tokens | Text < 12px body, Raw hex in components | | 7 | Animation | MEDIUM | 150–300ms, Motion conveys meaning, Spatial continuity | Decorative-only animation, No reduced-motion support | | 8 | Forms & Feedback | MEDIUM | Visible labels, Error near field, Progressive disclosure | Placeholder-only label, Overwhelm upfront | | 9 | Navigation Patterns | HIGH | Predictable back, Bottom nav ≤5, Deep linking | Overloaded nav, Broken back behavior | | 10 | Charts & Data | LOW | Legends, Tooltips, Accessible colors | Relying on color alone | --- ## Quick Reference ### §1 Accessibility (CRITICAL) - `color-contrast` — Minimum 4.5:1 for normal text; 3:1 for large text - `focus-states` — Visible focus rings on all interactive elements (2–4px) - `alt-text` — Descriptive alt text for meaningful images - `aria-labels` — aria-label for icon-only buttons; accessibilityLabel in native - `keyboard-nav` — Tab order matches visual order; full keyboard support - `form-labels` — `