nextlevelbuilder/ui-ux-pro-max-skill v2.15.0 đối chiếu 2026-10-21

HƯỚNG DẪN SỬ DỤNG UI-UX PRO MAX SKILL - TỪ A-Z

Repo gốc: https://github.com/nextlevelbuilder/ui-ux-pro-max-skill - 138.2k stars, 14.6k forks (21/10/2026), MIT license Phiên bản scan: quét 2026-09 (bản đầu ghi “v2.13.0”, nhưng v2.13.0 phát hành 03/08/2026). Đối chiếu 21/10/2026 với release mới nhất v2.15.0 (13/08/2026): các con số dưới không đổi; package CLI vẫn là ui-ux-pro-max-cli. - 1 skill duy nhất nhưng chứa 192 Reasoning Rules + 79 Styles + 192 Palettes + 74 Font Pairings + 34 Landing Patterns + 25 Chart Types + 119 UX Guidelines + 22 Tech Stacks Tác giả: NextLevelBuilder - https://uupm.cc Tương thích: Claude Code, Cursor, Windsurf, Copilot, Codex, Antigravity, OpenCode, Kiro, Trae, Gemini CLI, Qoder, CodeBuddy, Droid, Warp… (19 platforms) - spec skill.json:platforms File này: Hướng dẫn tiếng Việt nghiên cứu sâu - khi nào dùng domain nào, stack nào, riêng lẻ hay combo, dự án mới vs dự án có sẵn.


MỤC LỤC

  1. UI-UX Pro Max là gì? - Không phải 50 skill rời mà là 1 engine
  2. Cài đặt
  3. Kiến trúc - Design System Generator + 12 Domains + 22 Stacks
  4. 12 Domains - Khi nào dùng cái nào
  5. 22 Stacks - Viết đúng stack mới ra code dùng được
  6. Workflow chuẩn 4 bước (từ template chính thức)
  7. Design Dials - 3 núm vặn tinh chỉnh
  8. Persist - Master + Overrides (lưu hệ thống thiết kế xuyên session)
  9. Khi nào dùng riêng lẻ vs combo?
  10. Lộ trình DỰ ÁN MỚI (từ 0 -> design system -> code)
  11. Lộ trình DỰ ÁN ĐÃ TỒN TẠI (audit -> fix -> nâng cấp)
  12. Ma trận ra quyết định - Tôi muốn làm X -> dùng gì
  13. 7 Combo kinh điển
  14. Pre-delivery Checklist & bẫy thường gặp
  15. Nâng cấp, premium vs basic, troubleshooting
  16. Dùng thực tế trong team (đã thử 27/10/2026)
  17. Ghép với plugin frontend-design

1. UI-UX PRO MAX LÀ GÌ? - KHÔNG PHẢI 50 SKILL RỜI MÀ LÀ 1 ENGINE

Khác với marketingskills (53 skills rời), repo này chỉ có 1 skill duy nhất ui-ux-pro-max (skill.json:name) nhưng bên trong là một design intelligence engine với:

Thành phầnSố lượngFile nguồnChức năng
Reasoning Rules192 rules theo ngànhsrc/ui-ux-pro-max/data/ui-reasoning.csvSinh design system tự động theo product type
UI Styles79 searchable (50 active, 29 supplemental)src/ui-ux-pro-max/data/styles.csvGlassmorphism, Claymorphism, Brutalism, Bento Grid…
Color Palettes192 palettes 1:1 với product typessrc/ui-ux-pro-max/data/colors.csvMỗi ngành có palette riêng (light/dark, semantic tokens)
Font Pairings74 cặpsrc/ui-ux-pro-max/data/typography.csvKèm Google Fonts URL + CSS import + Tailwind config
Landing Patterns34 patterns (Hero, Funnel, Pricing…)src/ui-ux-pro-max/data/landing.csvCấu trúc section, CTA placement, conversion tips
Chart Types25 loạisrc/ui-ux-pro-max/data/charts.csvLine, Bar, Pie, Heatmap… + library đề xuất
UX Guidelines119 rulessrc/ui-ux-pro-max/data/ux-guidelines.csvAnimations, layout, a11y, resilient text, cancellable interactions
Icon Catalog105 curated + 1,512 upstream Phosphorsrc/ui-ux-pro-max/data/icons.csvImport code Phosphor/Heroicons, semantic roles
Google Fonts1,934 approved + 8 exclusionssrc/ui-ux-pro-max/data/google-fonts.csvLookup chi tiết
Motion (GSAP)17 snippets theo tiersrc/ui-ux-pro-max/data/motion.csvHover, scroll reveal, stagger, page transition, parallax
Tech Stacks22 stackssrc/ui-ux-pro-max/data/stacks/*.csvReact, Next.js, Vue, SwiftUI, Flutter… guidelines
Google Fonts Licenses1,934 licensesgoogle-font-licenses.jsonProvenance

Công cụ tìm kiếm: src/ui-ux-pro-max/scripts/search.py + core.py (BM25 + regex hybrid) + design_system.py (reasoning engine).

Điểm khác biệt lớn nhất: Không phải bạn chọn thủ công từng màu/font, mà engine tự suy luận - bạn chỉ cần nói “beauty spa wellness” và nó trả về complete design system (pattern + style + colors + typography + effects + anti-patterns + checklist).


2. CÀI ĐẶT

Cách 1: CLI (khuyên dùng)

# Cài CLI global
npm install -g ui-ux-pro-max-cli

# Vào project của bạn
cd /path/to/your/project

# Cài cho từng AI assistant
uipro init --ai claude      # Claude Code
uipro init --ai cursor      # Cursor
uipro init --ai windsurf    # Windsurf
uipro init --ai codex       # Codex CLI
uipro init --ai opencode    # OpenCode  <- dùng cho OpenCode
uipro init --ai copilot     # GitHub Copilot
uipro init --ai antigravity # Antigravity
uipro init --ai universal   # Chuẩn chung -> .agents/skills/
uipro init --ai all         # Cài hết cho mọi assistant đang có

# Không muốn cài global
npx ui-ux-pro-max-cli init --ai claude

Lưu ý: Package là ui-ux-pro-max-cli (tạo lệnh uipro), không phải uipro-cli cũ. (README.md:Installation)

Cách 2: Claude Marketplace (chỉ Claude Code)

/plugin marketplace add nextlevelbuilder/ui-ux-pro-max-skill
/plugin install ui-ux-pro-max@ui-ux-pro-max-skill

Cách 3: Global install (dùng cho mọi project)

uipro init --ai claude --global      # -> ~/.claude/skills/
uipro init --ai universal --global   # -> ~/.agents/skills/

Quản lý

uipro versions              # List versions
uipro update                # Refresh từ CLI package
uipro update --global       # Refresh global
uipro uninstall             # Auto-detect platform
uipro uninstall --ai claude # Gỡ riêng
uipro uninstall --global    # Gỡ global

# Preview không ghi file
uipro init --dry-run
uipro init --offline        # Dùng bundled templates

Yêu cầu

Gọi skill thế nào cho chắc chạy


3. KIẾN TRÚC - DESIGN SYSTEM GENERATOR + 12 DOMAINS + 22 STACKS

Bạn nói: "Build a landing page for my beauty spa"
         |
         v
+---------------------------------------------------------+
|  1. USER REQUEST                                        |
|     Agent phân tích: product type, audience, keywords,  |
|     stack (từ package.json), platform (web/native)      |
+---------------------------------------------------------+
         |
         v
+----------------------------------------------------------+
|  2. MULTI-DOMAIN SEARCH (5 parallel searches)            |
|     - Product type matching (192 categories)             |
|     - Style recommendations (79 searchable; 50 active)   |
|     - Color palette selection (192 palettes)             |
|     - Landing page patterns (34 patterns)                |
|     - Typography pairing (74 font combos)                |
+----------------------------------------------------------+
         |
         v
+-----------------------------------------------------------+
|  3. REASONING ENGINE (ui-reasoning.csv)                   |
|     - Match product -> UI category rules                  |
|     - Apply style priorities (BM25 ranking)               |
|     - Filter anti-patterns cho ngành                      |
|     - Process decision rules (JSON conditions)            |
|       VD: if_luxury -> style:liquid-glass                 |
|           if_pre_launch -> pattern:Waitlist               |
|           must_have: [case-studies, roi-messaging]        |
+-----------------------------------------------------------+
         |
         v
+----------------------------------------------------------+
|  4. COMPLETE DESIGN SYSTEM OUTPUT                        |
|     Pattern + Style + Colors + Typography + Effects      |
|     + Anti-patterns to avoid + Pre-delivery checklist    |
|     + Semantic tokens (--color-primary, --space-*)       |
+----------------------------------------------------------+
         |
         +--> Persist: design-system/<slug>/MASTER.md (+ pages/*.md)
         +--> 3 Dials: --variance / --motion / --density

Ví dụ output thực tế (Serenity Spa)

TARGET: Serenity Spa - RECOMMENDED DESIGN SYSTEM
  PATTERN: Hero-Centric + Social Proof
  STYLE: Soft UI Evolution (soft shadows, calming, premium, organic shapes)
  COLORS: Primary #E8B4B8 (Soft Pink), Secondary #A8D5BA (Sage), CTA #D4AF37 (Gold)
  TYPOGRAPHY: Cormorant Garamond / Montserrat - Elegant, calming
  KEY EFFECTS: Soft shadows + gentle hover states
  AVOID: Bright neon + harsh animations + dark mode + AI purple/pink gradients
  CHECKLIST: No emojis as icons, cursor-pointer, 4.5:1 contrast, prefers-reduced-motion...

4. 12 DOMAINS - KHI NÀO DÙNG CÁI NÀO

Đây là trái tim của việc dùng riêng lẻ. Mỗi domain là một CSV, search qua search.py --domain <domain>.

#DomainFileKhi nào dùngVí dụ queryOutput
1productproducts.csv (192 dòng)Muốn xem product type của mình thuộc category nào, có gì đặc biệt"SaaS dashboard" --domain productCategory, đặc điểm ngành
2stylestyles.csv (79 styles)Chọn/bàn về visual style - “nên dùng style gì cho fintech?”"glassmorphism dark" --domain styleStyle ID, keywords, colors, effects, Best For / Do Not Use For, performance, a11y, checklist
3colorcolors.csv (192 palettes)Lấy palette - mỗi ngành có 1 palette semantic (Primary/Accent/Background…)"fintech banking" --domain color16 tokens: Primary, Secondary, Accent/CTA, Background, Foreground, Card, Muted, Border, Destructive, Ring + Notes
4typographytypography.csv (74 cặp)Chọn font pairing"elegant serif" --domain typographyHeading Font + Body Font + Mood + Google Fonts URL + CSS import + Tailwind config
5landinglanding.csv (34 patterns)Chọn cấu trúc landing page + CTA placement"hero social-proof" --domain landingPattern Name, Section Order, CTA Placement, Color Strategy, Effects, Conversion tips
6chartcharts.csv (25 types)Dashboard cần chart gì, dùng library nào"real-time dashboard" --domain chartBest Chart Type, secondary options, when to use/not, color guidance, library (Chart.js/Recharts/D3)
7uxux-guidelines.csv (119 rules)Best practices, anti-patterns, a11y, resilient text, cancellable interactions"error summary validation" --domain uxCategory, Issue, Platform, Do/Don’t, Code Good/Bad, Severity
8iconsicons.csv (105 curated)Tìm icon + import code"decorative icon aria hidden" --domain iconsIcon Name, Library (Phosphor), Import Code, Semantic Role, Allowed Contexts
9google-fontsgoogle-fonts.csv (1,934 fonts)Lookup font đơn lẻ"variable sans serif" --domain google-fontsFont details + license
10gsapmotion.csv (17 snippets)Animation snippet theo tier (Subtle/Standard/Complex)"scroll reveal stagger" --domain gsapTrigger, Duration, Easing, GSAP Snippet, Framework Notes, Do/Don’t, Performance Notes
11reactreact-performance.csvReact/Next.js performance patterns"rerender memo list" --domain reactWaterfall, bundle, suspense, memo patterns
12webapp-interface.csvApp interface guidelines (iOS/Android/React Native) - touch, safe areas, Dynamic Type"accessibilityLabel touch safe-areas" --domain webNative app UI rules

Chi tiết Style Taxonomy (quan trọng để không chọn sai)

79 searchable styles:
  +-- 50 active       -> Được recommend mặc định, hiện trong gallery
  +-- 29 supplemental -> Chỉ trả về khi query exact/explicit variant
  +-- 9 deprecated    -> Legacy name, redirect sang canonical style hoặc landing pattern

Thành phần active: 43 general visual families + 2 mobile-specific + 3 official design systems
(Fluent 2, Shopify Polaris, Adobe Spectrum) + 1 platform material (Liquid Glass) + 1 core analytics

Bẫy: Các landing-page structures (Hero-Centric, Conversion-Optimized…) đã chuyển sang landing domain, không còn cạnh tranh BM25 với visual styles nữa. Đừng search style để tìm landing pattern.

# Tự động detect domain (không truyền --domain)
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa" 

# Chỉ định domain
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "glassmorphism" --domain style
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant serif" --domain typography
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "error summary validation" --domain ux
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "decorative icon aria hidden" --domain icons

# Design system (tổng hợp 5 domains cùng lúc)
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --design-system -p "Serenity Spa"
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --design-system -f markdown  # Output markdown
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --design-system --json       # Không truncate 300 chars

# Truncate: output thường cắt 300 chars, dùng --json để lấy full

5. 22 STACKS - VIẾT ĐÚNG STACK MỚI RA CODE DÙNG ĐƯỢC

Domain cho bạn ý tưởng thiết kế, Stack cho bạn code đúng framework.

python3 scripts/search.py "form validation" --stack react
python3 scripts/search.py "responsive layout" --stack html-tailwind
python3 scripts/search.py "virtualized list" --stack react-native
python3 scripts/search.py "atlantafx primer enterprise theme" --stack javafx
CategoryStacksDùng khi
Web (HTML)html-tailwind (default)Không nói stack gì -> mặc định ra Tailwind. Guidelines: animate utilities, z-index scale, container, aspect-ratio… (stacks/html-tailwind.csv)
React Ecosystemreact, nextjs, shadcnReact performance (memo, suspense, waterfall), Next.js App Router
Vue Ecosystemvue, nuxtjs, nuxt-uiVue/Nuxt specific
Other Websvelte, astro, threejs, angular, laravelSvelte, Astro, Three.js (WebGL), Angular, Laravel Blade/Livewire
Desktopjavafx, wpf, winui, avalonia, uno, uwpJavaFX (có enterprise examples: Atlantafx, TableView density), WPF/WinUI
iOSswiftuiSwiftUI navigation, controls
Androidjetpack-composeCompose guidelines
Cross-Platformreact-native, flutterReact Native (virtualized list…), Flutter

Nguyên tắc vàng (templates/base/skill-content.md:Step 1):


6. WORKFLOW CHUẨN 4 BƯỚC (TỪ TEMPLATE CHÍNH THỨC)

Nguồn: src/ui-ux-pro-max/templates/base/skill-content.md - đây là workflow agent bắt buộc tuân theo.

Bước 1: Analyze - Phân tích yêu cầu

Trích xuất:

Bước 2: Generate Design System - Chỉ cho project/page mới

python3 {{SCRIPT_PATH}} "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
# VD:
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"

Bước 2b & 2c: Persist + Dials (xem Mục 7, 8)

Bước 3: Supplement - Tìm chi tiết bổ sung (khi cần)

python3 {{SCRIPT_PATH}} "<keyword>" --domain <domain> [-n <max_results>]
# VD sau khi có design system:
python3 scripts/search.py "minimalism dark mode" --domain style
python3 scripts/search.py "search loading animation" --domain ux
python3 scripts/search.py "real-time dashboard" --domain chart

Bước 4: Stack Guidelines - Lấy best practices theo stack

python3 {{SCRIPT_PATH}} "<keyword>" --stack <stack>
# VD:
python3 scripts/search.py "virtualized list" --stack react-native
python3 scripts/search.py "form validation" --stack react

Sau đó: Tổng hợp design system + detailed searches + stack guidelines -> implement code.

Query Contract (quy tắc viết query)

Khi nào bắt đầu từ đâu? (Bảng trong template)

ScenarioTrigger ví dụBắt đầu từ
New project / page“Build a landing page”, “làm dashboard”Step 1 -> Step 2 (design system)
New component“Create a pricing card”, “Fix modal focus”Step 3 (1 domain search tập trung)
Choose style/color/font“What style fits fintech?”, “gợi ý palette”Step 2 (design system)
Review existing UI“Review this page for UX issues”Quick Reference checklist
Fix UI bug“Button hover broken”, “Layout shifts”Quick Reference -> section liên quan
Improve / optimize“Reduce React rerenders”, “Fix touch targets”Step 3 (explicit react/ux/web)
Dark mode“Add dark mode”Step 3 (domain: style “dark mode”)
Charts“Add analytics chart”Step 3 (domain: chart)
Stack best practices“React performance tips”Step 4 (stack search)

7. DESIGN DIALS - 3 NÚM VẶN TINH CHỈNH

Chỉ dùng kèm --design-system, 1-10, không thay query mà bias kết quả.

python3 scripts/search.py "<query>" --design-system --variance <1-10> --motion <1-10> --density <1-10>
# VD dashboard cần dense + motion vừa:
python3 scripts/search.py "internal analytics dashboard" --design-system --variance 8 --motion 7 --density 8 -p "Ops Console"
Dial1-3 Low4-7 Mid8-10 HighTác dụng
--varianceCentered / Minimal - bias về Minimalism, Exaggerated Minimalism, centered, symmetricBalanced / ModernBold / Asymmetric - bias về Brutalism, Bento Grids, asymmetric, experimentalChọn style family
--motionSubtle micro-interactionsStandard scroll/staggerComplex choreography (pin, Flip, SplitText)Đính kèm GSAP snippet từ motion.csv theo tier (Subtle/Standard/Complex)
--densitySpacious (24-96px spacing scale)Standard (16-64px, default hiện tại)Dense/dashboard (8-32px spacing scale)Override bảng --space-* CSS variables trong output ASCII/markdown/MASTER.md

8. PERSIST - MASTER + OVERRIDES (LƯU HỆ THỐNG THIẾT KẾ XUYÊN SESSION)

Vấn đề: Mỗi lần chat mới, agent quên design system đã chọn -> màu/font lệch.

Giải pháp: --persist lưu vào files để hierarchical retrieval.

# Lưu Master
python3 scripts/search.py "SaaS dashboard" --design-system --persist -p "MyApp" --output-dir "/path/to/project"

# Lưu kèm page override
python3 scripts/search.py "SaaS dashboard" --design-system --persist -p "MyApp" --page "dashboard" --output-dir "/path/to/project"

Cấu trúc tạo ra:

design-system/
+-- myapp/                  # slug của -p "MyApp"
    +-- MASTER.md           # Global Source of Truth (colors, typography, spacing, components)
    +-- pages/
        +-- dashboard.md    # Chỉ chứa deviations so với Master

Quy tắc:

Cách retrieve (prompt cho agent ở session sau):

I am building the [Page Name] page. Please read design-system/[project-slug]/MASTER.md.
Also check if design-system/[project-slug]/pages/[page-name].md exists.
If the page file exists, prioritize its rules.
If not, use the Master rules exclusively.
Now, generate the code...

Luồng:

  1. Build page cụ thể (VD “Checkout”) -> check design-system/[slug]/pages/checkout.md
  2. Nếu tồn tại -> rules trong page override Master
  3. Nếu không -> dùng MASTER.md thuần

9. KHI NÀO DÙNG RIÊNG LẺ VS COMBO?

Quy tắc ngón tay cái

Tình huốngDùng riêng lẻDùng combo
Chỉ cần 1 thứ đơn (chọn màu, chọn font, fix 1 bug, thêm 1 chart)[x] 1 domain hoặc 1 stack search
Mục tiêu là page/project mới hoàn chỉnh[x] Bắt buộc combo: Design System -> supplement -> stack
Chưa có design system mà đi fix lẻ tẻ[x] Quay lại Step 2 trước - không có system thì mọi fix rời rạc
Task xuyên nhiều khía cạnh (landing + dashboard + dark mode)[x] Combo nhiều domains
Chỉ review/audit UI có sẵn[x] Quick Reference checklist + 1-2 ux searches

Ma trận combo chính

Mục tiêuComboThứ tự
Landing mới từ 0--design-system -> --domain landing (chi tiết CTA) -> --domain ux (validation) -> --stack html-tailwindSystem -> Structure -> Validation -> Code
Dashboard analytics--design-system (với --density 8) -> --domain chart (chọn chart types) -> --domain ux (loading, data density) -> --stack react/nextjsSystem dense -> Charts -> UX -> Stack
Fix UI bugQuick Reference -> --domain ux (semantic outcome) -> --stack <your-stack> (implementation)Outcome -> Code
Dark mode--domain style (“dark mode”) -> --domain color (dark palettes) -> --stack <stack> (token theming)Style -> Palette -> Tokens
Marketing site nhiều pages--design-system --persist (MASTER) -> từng page --persist --page <name> với tweakMaster -> Overrides
Mobile app--design-system -> --domain web (safe areas, haptics, touch targets) -> --domain icons -> --stack swiftui/react-native/flutterSystem -> App UI rules -> Icons -> Native stack
Review toàn diệnQuick Reference Mục 1-3 (CRITICAL+HIGH) + focused ux searches cho từng concern có thậtChecklist -> targeted searches

10. LỘ TRÌNH DỰ ÁN MỚI (TỪ 0 -> DESIGN SYSTEM -> CODE)

Dành cho: chưa có gì, muốn build landing/dashboard/app từ scratch

Phase 0 - Chuẩn bị (15 phút)

[ ] Xác định stack thực tế: đọc package.json, file hiện có, hoặc hỏi user
  -> Đừng assume React Native nếu chưa rõ
[ ] Xác định platform: web vs native (quyết định có áp safe areas/haptics không)
[ ] Chuẩn bị prompt 2-5 từ có nghĩa + 1 constraint:
  VD: "beauty spa wellness service" / "fintech crypto dashboard dark" / "AI chatbot platform minimal"

Phase 1 - Sinh Design System (5 phút)

# Bước quan trọng nhất - làm 1 lần, dùng cho cả project
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"

# Nếu cần tinh chỉnh:
# Landing marketing -> spacious, subtle motion
python3 scripts/search.py "beauty spa wellness service" --design-system --variance 3 --motion 3 --density 3 -p "Serenity Spa"

# Dashboard internal -> bold, dense, standard motion
python3 scripts/search.py "internal analytics dashboard" --design-system --variance 7 --motion 5 --density 9 -p "Ops Console"

# Output formats:
# - ASCII box (default, terminal)
# - Markdown (docs): thêm -f markdown
# - JSON full (không truncate): thêm --json

Nhận được: Pattern + Style + Colors (16 semantic tokens) + Typography (Google Fonts URLs) + Effects + Anti-patterns + Pre-delivery checklist.

Phase 2 - Persist (để không mất khi chat mới)

python3 scripts/search.py "beauty spa wellness service" --design-system --persist -p "Serenity Spa" --output-dir "."
# Tạo: design-system/serenity-spa/MASTER.md

# Nếu có nhiều pages với tweak riêng:
python3 scripts/search.py "SaaS pricing page" --design-system --persist -p "Serenity Spa" --page "pricing" --output-dir "."
# Tạo: design-system/serenity-spa/pages/pricing.md (chỉ deviations)

Phase 3 - Supplement (tùy nhu cầu)

# Cần hiểu sâu style hơn?
python3 scripts/search.py "soft ui evolution" --domain style

# Cần chart cho dashboard?
python3 scripts/search.py "trend comparison" --domain chart

# Cần xử lý form validation?
python3 scripts/search.py "error summary validation" --domain ux

# Cần icon?
python3 scripts/search.py "navigation arrow" --domain icons

Phase 4 - Stack Guidelines -> Code

# Lấy guidelines đúng stack trước khi code
python3 scripts/search.py "responsive layout" --stack html-tailwind
python3 scripts/search.py "virtualized list" --stack react-native
python3 scripts/search.py "tableview binding" --stack javafx

# Rồi mới code - agent sẽ tổng hợp system + stack rules để sinh code

Lưu ý cho dự án mới


11. LỘ TRÌNH DỰ ÁN ĐÃ TỒN TẠI (AUDIT -> FIX -> NÂNG CẤP)

Dành cho: đã có code/UI, muốn audit, fix bug, hoặc nâng cấp

Bước 0 - Kiểm tra có gì (10 phút)

[ ] Đã có design-system/MASTER.md chưa? Chưa -> chạy --design-system ngay để có baseline
[ ] Đã có stack guidelines chưa? Chưa -> chạy --stack <your-stack> cho concern hiện tại
[ ] Biết style hiện tại là gì không? -> search --domain style để identify

Kịch bản A - “UI trông không chuyên nghiệp / muốn review”

1. Quick Reference checklist (Mục 1-3 CRITICAL+HIGH) - chạy như final review:
   - Icons: không dùng emoji làm icon, SVG + semantic tokens
   - Interaction: tap feedback 80-150ms, touch targets 44pt iOS / 48dp Android
   - Light/Dark: text contrast >=4.5:1 cả 2 themes, scrim đủ mạnh
2. Focused ux searches cho từng issue tìm thấy:
   -> "keyboard focus modal" --domain ux
   -> "content jumping layout shift" --domain ux
   -> "z-index stacking context" --domain ux
3. Chỉ fix những concerns có thật trong interface - không search lan man

Kịch bản B - “Fix 1 bug cụ thể” (VD: button hover broken, layout shifts)

1. Quick Reference -> section liên quan (không search bừa)
2. Domain search 1 intent:
   -> "button hover broken" --domain ux  (semantic outcome)
3. Stack search cho implementation:
   -> "hover transitions" --stack html-tailwind
   -> "chip badge overflow nowrap" --stack html-tailwind
4. Fix theo Do/Don't + Code Good/Bad trong result
   VD: ux-guidelines.csv:22-30 có Touch Target Size, Content Jumping, Viewport Units...

Quy tắc Text Layout Bugs (quan trọng):

Kịch bản C - “Thêm feature mới vào app có sẵn” (VD: thêm dashboard, thêm dark mode)

# Thêm dashboard:
1. --design-system với --density 8 (dense) cho dashboard page riêng
2. --persist --page "dashboard" để không làm lệch MASTER
3. --domain chart cho chart types phù hợp
4. --stack <your-stack> cho implementation

# Thêm dark mode:
1. --domain style "dark mode" -> lấy Dark Mode (OLED) guidance
2. --domain color cho dark palettes (Financial Dashboard #020617 bg...)
3. --stack <stack> cho token-driven theming (không hardcode hex per-screen)
4. Test cả 2 themes - không assume light values work cho dark

Kịch bản D - “Tối ưu performance / animation”

1. --domain ux "transform performance" hoặc "continuous animation"
2. --domain gsap "scroll reveal stagger" cho snippet đúng tier
3. --domain react "rerender memo list" nếu là React/Next.js
4. --stack <stack> cho stack-specific perf patterns
   VD: "virtualized list" --stack react-native (chỉ animate mounted items)

Kịch bản E - “Migrate / đổi stack” (VD: từ html-tailwind sang Next.js)

1. Giữ MASTER.md (design tokens không đổi)
2. Chạy lại --stack nextjs cho từng concern:
   -> "streaming suspense" --stack nextjs
   -> "route transition" --stack nextjs
3. So sánh stacks/*.csv cũ vs mới - chú ý Severity High

Kịch bản F - “Không biết nên làm gì tiếp theo”

1. Chạy --design-system cho product type của mình -> xem Anti-patterns
   VD: SaaS General tránh "Excessive animation + Dark mode by default"
2. Đọc ui-reasoning.csv Decision_Rules cho category của mình
   VD: B2B Service must_have: [case-studies, roi-messaging]
3. Từ đó chọn 1-2 việc có impact cao nhất

12. MA TRẬN RA QUYẾT ĐỊNH - TÔI MUỐN LÀM X -> DÙNG GÌ

Tôi muốn…DùngLệnh
Tạo design system cho project/page mới--design-systemsearch.py "beauty spa" --design-system -p "MyApp"
Chọn visual style--domain stylesearch.py "glassmorphism" --domain style
Lấy palette màu--domain colorsearch.py "fintech" --domain color
Chọn font pairing--domain typographysearch.py "elegant serif" --domain typography
Chọn cấu trúc landing + CTA--domain landingsearch.py "hero social-proof" --domain landing
Chọn chart cho dashboard--domain chartsearch.py "trend comparison" --domain chart
Fix UX / a11y / layout bug--domain ux (outcome trước)search.py "error summary validation" --domain ux
Tìm icon + import code--domain iconssearch.py "arrow navigation" --domain icons
Lookup Google Font đơn lẻ--domain google-fontssearch.py "variable sans serif" --domain google-fonts
Lấy GSAP animation snippet--domain gsapsearch.py "scroll reveal stagger" --domain gsap
React/Next.js perf patterns--domain reactsearch.py "rerender memo" --domain react
Native app guidelines--domain websearch.py "safe areas haptics" --domain web
Code đúng framework--stack <name>search.py "form validation" --stack react
Tinh chỉnh bold/spacious/motion--variance/--motion/--densitysearch.py "dashboard" --design-system --variance 8 --density 9
Lưu system xuyên session--persistsearch.py "SaaS" --design-system --persist -p "MyApp" --output-dir "."
Tạo override cho 1 page--persist --pagesearch.py "pricing" --design-system --persist -p "MyApp" --page "pricing"
Review UI có sẵnQuick Reference + uxChecklist Mục 1-3 + search.py "keyboard focus modal" --domain ux
Thêm dark modestyle + color + stackstyle "dark mode" -> color dark palette -> stack token theming

13. 7 COMBO KINH ĐIỂN

Combo 1 - “Landing mới từ 0” (Marketing)

# 1. Design system
python3 scripts/search.py "SaaS B2B service professional" --design-system -p "Acme" --persist --output-dir "."

# 2. Chi tiết landing structure
python3 scripts/search.py "hero features cta" --domain landing

# 3. Stack code
python3 scripts/search.py "responsive layout" --stack html-tailwind
# hoặc: --stack nextjs / --stack react

# 4. Checklist trước khi ship: Quick Reference Mục 1-3

Combo 2 - “Dashboard analytics” (Data-heavy)

# 1. Design system dense + dashboard pattern
python3 scripts/search.py "analytics dashboard data dense" --design-system --variance 6 --density 9 -p "OpsDash" --persist --output-dir "."

# 2. Chọn charts
python3 scripts/search.py "trend over time" --domain chart
python3 scripts/search.py "compare categories" --domain chart
python3 scripts/search.py "heatmap intensity" --domain chart

# 3. UX cho data
python3 scripts/search.py "data dense loading states" --domain ux
python3 scripts/search.py "virtualize lists" --domain ux

# 4. Stack
python3 scripts/search.py "chart rendering" --stack react

Combo 3 - “Fix UI bug” (Existing project)

# 1. Semantic outcome (ux) - KHÔNG gộp nhiều concerns
python3 scripts/search.py "orphan heading line balance" --domain ux
# hoặc: "badge chip label wraps" / "rapid chip animation interrupted"

# 2. Implementation (stack)
python3 scripts/search.py "chip badge overflow nowrap" --stack html-tailwind

# 3. Fix theo Do/Don't + Code Good/Bad

Combo 4 - “Mobile app mới”

# 1. Design system
python3 scripts/search.py "social media app vibrant engagement" --design-system -p "SocialApp" --persist --output-dir "."

# 2. App-specific guidelines
python3 scripts/search.py "touch targets safe areas" --domain web
python3 scripts/search.py "bottom nav limit back behavior" --domain web

# 3. Icons
python3 scripts/search.py "navigation tab bar icons" --domain icons

# 4. Stack native
python3 scripts/search.py "navigation safe areas" --stack react-native
# hoặc: --stack swiftui / --stack flutter / --stack jetpack-compose

# 5. Checklist mobile: touch 44pt/48dp, safe areas, Dynamic Type, haptics

Combo 5 - “Marketing site nhiều pages” (Master + Overrides)

# 1. Master - 1 lần
python3 scripts/search.py "SaaS general trust blue professional" --design-system --persist -p "Acme" --output-dir "."

# 2. Từng page - override riêng
python3 scripts/search.py "pricing page comparison" --design-system --persist -p "Acme" --page "pricing" --output-dir "."
python3 scripts/search.py "dashboard analytics dense" --design-system --persist -p "Acme" --page "dashboard" --output-dir "." --density 9

# 3. Khi build page "pricing": đọc MASTER.md + pages/pricing.md (ưu tiên page)
# 4. Khi build page "about": chỉ đọc MASTER.md

Combo 6 - “Thêm dark mode vào app có sẵn”

# 1. Style guidance
python3 scripts/search.py "dark mode oled" --domain style

# 2. Dark palettes (VD Financial Dashboard #020617 bg, Analytics #1E40AF...)
python3 scripts/search.py "financial dashboard dark" --domain color

# 3. Stack token theming
python3 scripts/search.py "dark mode token theming" --stack html-tailwind
# Quy tắc: semantic tokens per theme, không hardcode hex per-screen

# 4. Pre-delivery: test cả 2 themes, scrim measured, dividers visible in both

Combo 7 - “A11y audit & fix”

# 1. Outcome queries - mỗi query 1 criterion
python3 scripts/search.py "error summary validation" --domain ux
python3 scripts/search.py "focus not obscured" --domain ux
python3 scripts/search.py "dragging movements" --domain ux
python3 scripts/search.py "accessible authentication" --domain ux

# 2. Component-specific
python3 scripts/search.py "decorative icon aria hidden" --domain icons
python3 scripts/search.py "icon button accessible label" --domain icons

# 3. Stack a11y
python3 scripts/search.py "keyboard focus modal" --stack html-tailwind
# hoặc: --stack react / --stack swiftui

# 4. Không accept generic a11y result cho specific interaction/WCAG criterion

14. PRE-DELIVERY CHECKLIST & BẪY THƯỜNG GẶP

Checklist trước khi giao code (từ templates/base/skill-content.md)

Scope: Checklist này cho App UI (iOS/Android/React Native/Flutter). Với web/desktop, chỉ áp Mục 1-3 và các concerns có thật.

Visual Quality:

Interaction:

Light/Dark Mode:

Plus từ Quick Reference:

Bẫy thường gặp

BẫyHậu quảCách tránh
Query quá dài / gộp nhiều concernsBM25 ranking loạn, trả về off-topic hoặc emptyMỗi query 1 intent, 2-5 từ + 1 constraint. Tách “glassmorphism dark mode dashboard animation” thành 3 queries.
Dùng style query để tìm landing patternEmpty - landing patterns đã tách sang landing domainDùng --domain landing cho Hero, Funnel, Pricing, Waitlist…
Assume React Native mặc địnhCode sai stack, guidelines không khớpSuy ra stack từ package.json/file thực tế, hoặc hỏi user. Default là html-tailwind.
Hardcode hex per-screenDark mode vỡ, maintain khóDùng semantic tokens (--color-primary…), mapped per theme.
Dùng emoji làm iconInconsistent cross-platform, không control được design tokensDùng Phosphor (@phosphor-icons/react) / Heroicons, size tokens (icon-sm/md/lg).
Không respect prefers-reduced-motionA11y fail, motion sicknessCheck @media (prefers-reduced-motion: reduce), pause GSAP, render final state.
Persist unverified outputLưu design system sai, lệch cả projectVerify domain/category/top result khớp product/platform, retry 1 lần nếu empty/off-topic, không persist nếu chưa verify.
Quên touch-action: manipulation300ms tap delay trên mobileThêm touch-action: manipulation hoặc fastclick.
Dùng 100vh cho full-screen mobileBị browser chrome cheDùng dvh hoặc min-h-dvh / min-h-screen.
Truncate 300 chars làm mất dataThiếu tokens, import URLsDùng --json để lấy full untruncated.
Không test 375px + landscapeLayout vỡ trên small phoneTest 2 breakpoints này trước khi ship.
Overwrite MASTER.md không hỏiMất design decisions cũĐọc MASTER.md trước, chỉ --force khi user cho phép rõ ràng.

15. NÂNG CẤP, PREMIUM VS BASIC, TROUBLESHOOTING

Basic (repo này) vs Premium (https://uupm.cc)

Basic (Open Source)Premium
GiáMiễn phí, MITTrả phí
UI/UX IntelligenceĐủ: 79 styles, 192 palettes, 74 fonts, 25 charts, 119 UX guidelinesNhư Basic + thêm
SearchBM25 engine đầy đủNhư Basic
Stacks22 stacksNhư Basic
Design System GeneratorCó (192 reasoning rules)Có
Brand DesignKhôngCó: Brand Identity, Logo, CIP, Banners, Slides, Iconography
Asset CreationPlaceholdersAI image generation ra visual assets thật
Design TokensStandardEnterprise-scale, team deployment
SupportCommunity (Issues/PRs)Priority dedicated

Nâng cấp CLI

npm install -g ui-ux-pro-max-cli@latest
uipro update          # Refresh skill files từ package mới
uipro update --global # Nếu dùng global install

Troubleshooting

LỗiFix
uipro: unknown command 'uninstall'/'update'CLI cũ -> npm install -g ui-ux-pro-max-cli@latest
No installed AI skill directories detectedChạy từ project root đã cài, hoặc uipro uninstall --global, hoặc xóa tay rm -rf .claude/skills/ui-ux-pro-max
Zip contains too many files (max 200) khi upload Claude.aiĐừng upload repo ZIP - dùng Marketplace hoặc CLI
Zip contains a symbolic linkDùng CLI thay vì Marketplace (đã fix từ v2.5.1)
npm install -g permission errorDùng Node version manager, hoặc npx ui-ux-pro-max-cli init --ai claude (không cần -g)
Python not foundCài Python 3 từ python.org / Homebrew / apt / winget - agent không được tự cài
Output bị cắt/truncateDùng --json để lấy full
response exceeded output token maximumChia task nhỏ, hoặc export CLAUDE_CODE_MAX_OUTPUT_TOKENS="64000" rồi restart Claude Code
Marketplace failDùng CLI: npm install -g ui-ux-pro-max-cli && uipro init --ai claude

Cấu trúc repo (để contribute)

src/ui-ux-pro-max/              # Source of Truth
+-- data/                       # CSV databases (products, styles, colors...)
|   +-- stacks/                 # Stack-specific guidelines (22 stacks)
+-- scripts/
|   +-- search.py               # CLI entry
|   +-- core.py                 # BM25 + regex engine
|   +-- design_system.py        # Reasoning engine
+-- templates/
    +-- base/                   # skill-content.md, quick-reference.md
    +-- platforms/              # claude.json, cursor.json...

cli/                            # NPM package ui-ux-pro-max-cli
+-- src/commands/init.ts
+-- assets/                     # Mirrored từ src/ (~564KB)

.claude/skills/ui-ux-pro-max/   # Claude Code skill (mirrored, không symlink)

Sync rule: Sửa data/*.csv hoặc scripts/*.py trong src/ui-ux-pro-max/, rồi cd cli && npm run sync:assets && npm run check:assets - không có symlink (tránh break trên Windows).

Catalog provenance

npm --prefix cli run verify:data              # Full offline gate
npm --prefix cli run validate:catalog-summary # Chỉ catalog summary

16. DÙNG THỰC TẾ TRONG TEAM (ĐÃ THỬ 27/10/2026)

Rút từ lần so mù A/B ở review: bản có skill thắng cả 2 việc dựng giao diện (landing page cho developer của một sản phẩm TTS, màn hình mobile của một app xem ngày), nhưng chỉ khi gọi đích danh.

Lúc thử đã làm gì

  1. Gọi skill đích danh: câu đầu prompt là “Dùng skill ui-ux-pro-max (đọc SKILL.md và chạy các script tìm kiếm của nó)”. Không có câu này thì skill không chạy.
  2. Agent đọc ngữ cảnh sản phẩm (README hoặc mô tả sản phẩm), rồi chạy search.py 2 đến 3 lần: một lần --design-system để chọn kiểu, bảng màu, font; một lần --domain landing hoặc ux để lấy quy tắc bố cục.
  3. Agent dựng một file index.html tự chứa theo hệ thiết kế vừa chọn.
  4. Chụp màn hình bằng Chrome headless (desktop 1440 px, mobile 390 px) rồi chấm mù.

Khi làm thật chỉ khác một điểm: đưa MASTER.md có sẵn vào để agent dựng theo, thay vì để skill sinh hệ thiết kế mới.

Mẹo rút ra


17. GHÉP VỚI PLUGIN FRONTEND-DESIGN

Plugin frontend-design 1.1.1 trong marketplace anthropics/claude-plugins-official (Apache-2.0). Đọc từ plugins/frontend-design/skills/frontend-design/SKILL.md (71 dòng, sửa lần cuối 01/09/2026), đối chiếu 29/10/2026. Review và kết quả thử: claude-plugins-official.md.

Vì sao ghép

Pro Max chọn style và bảng màu theo ngành từ kho dữ liệu, nên trang đúng chuẩn nhưng dễ giống nhau. frontend-design không có dữ liệu, chỉ là chỉ dẫn về gu: bắt agent chọn hướng thị giác riêng cho từng brief và tự soát lối mặc định. Hai bên bù nhau: Pro Max lo UX, bố cục, a11y theo stack; frontend-design lo màu, font, phong cách.

Lần thử 29/10/2026 (landing page cho developer, chấm mù desktop 1440 px và mobile 390 px): ghép hai skill > chỉ Pro Max > chỉ frontend-design. Bản ghép rẻ hơn (1,10 so với 1,40 USD), nhanh hơn (189 so với 261 giây), HTML gọn hơn (706 so với 1.141 dòng). Mỗi cách chạy 1 lần nên kết quả còn nhiễu; lỗi mobile của bản chỉ frontend-design chưa xác minh trên máy thật.

Lần thử 30/10/2026 (trang chủ của chính site này, đã có MASTER.md, chấm mù 4 bản ở 1440 và 390 px thật, sáng và tối): ghép, làm lại từ đầu > ghép, theo MASTER.md > chỉ Pro Max theo MASTER.md > trang cũ. Bản ghép theo MASTER.md không thêm màu, font hay bóng đổ nào ngoài hệ đã chốt: lời “theo đúng MASTER.md” trong prompt thắng chỉ dẫn tìm hướng mới của frontend-design (SKILL.md:45). Chi phí: chỉ Pro Max 0,84 USD/94 giây, ghép theo MASTER.md 1,12 USD/154 giây, ghép làm lại từ đầu 1,62 USD/243 giây. Bản làm lại từ đầu được tự chụp màn hình để soát còn hai bản kia bị chặn quyền, nên phần thắng của nó có lợi thế này. Site đã áp bản thắng và viết lại site/design-system/MASTER.md.

Cài và gọi

/plugin install frontend-design@claude-plugins-official

Plugin không tự kích hoạt trong lần thử (đã nạp nhưng agent không gọi), giống Pro Max. Luôn gọi tên cả hai:

Dùng skill ui-ux-pro-max cho UX và bố cục, skill frontend-design cho hướng thị giác
(màu, font, phong cách). Dựng landing page cho <sản phẩm>, người xem là <ai>,
việc chính của trang là <...>.

Chỉ có bản cho Claude Code và claude.ai; OpenCode phải tự chép SKILL.md (chưa thử).

frontend-design bắt agent làm gì

Năm “dấu hiệu trang do AI làm” cần né (SKILL.md:38-45)

  1. Nền kem (gần #F4F1EA), tiêu đề serif tương phản cao, màu nhấn terracotta (gần #D97757).
  2. Nền gần đen với một màu nhấn xanh acid hoặc đỏ son.
  3. Bố cục kiểu báo giấy: kẻ chỉ mảnh, không bo góc, cột dày đặc.
  4. Bộ thẻ SaaS: mọi nội dung cắt thành thẻ bo góc giống hệt, cùng bóng xám, gradient trang trí.
  5. “Khung template”: nhãn chữ in hoa trên mọi tiêu đề, chuỗi ngăn bằng dấu chấm giữa, mũi tên → cuối nút, font monospace cho nhãn nhỏ.

Ngoài ra (SKILL.md:17-32): tránh hero mặc định “số to + nhãn nhỏ + gradient”, tô màu riêng một chữ trong tiêu đề, đánh số 01/02/03 khi nội dung không phải trình tự, hiệu ứng hiện dần ở mọi section.

Brief nói rõ thì brief thắng (SKILL.md:45): nếu bạn yêu cầu đúng một kiểu trong danh sách trên thì agent vẫn làm theo.

Trang mới: dùng Hallmark thay cách ghép (từ 03/11/2026)

Lần thử 03/11/2026 (cùng việc landing page cho developer của một sản phẩm TTS như 29/10, chấm mù 1440 và 390 px, sáng và tối, cả ba bản có quyền tự chụp màn hình): chỉ Hallmark > Pro Max + Hallmark > Pro Max + frontend-design. Chi phí: ghép với frontend-design 2,03 USD/351 giây, chỉ Hallmark 3,43 USD/655 giây (khoảng 1,7 lần). Hallmark là skill cùng nhóm với frontend-design nhưng có máy kiểm: theme có sẵn, ngưỡng cứng về số chữ, linter sloplint đo trong trình duyệt. Mỗi bản chạy 1 lần, kết quả còn nhiễu.

Khi nào không ghép

Kiểm tra sau khi dựng


KẾT

Quy tắc 1: Project/page mới -> luôn --design-system trước. Không có system, mọi component rời rạc sẽ lệch nhau. Quy tắc 2: Mỗi query 1 intent (2-5 từ + 1 constraint). Đừng gộp, đừng lan man. Quy tắc 3: A11y/layout bug -> search semantic outcome (--domain ux) trước, rồi mới --stack cho code. Quy tắc 4: Project >2 pages -> dùng Master + Overrides (--persist) để giữ consistency xuyên session. Quy tắc 5: Trước khi ship -> chạy Quick Reference Mục 1-3 + focused ux searches cho từng concern có thật + test 375px/landscape/reduced-motion/Dynamic Type/cả 2 themes.

Cần hỗ trợ? Mở issue tại https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/issues - hoặc xem gallery tại https://uupm.cc

File được tạo bởi nghiên cứu sâu skill.json + CLAUDE.md + templates/base/skill-content.md + 12 CSV databases + search.py/design_system.py/core.py của repo ui-ux-pro-max-skill. Mọi tham chiếu file:line trỏ tới file gốc trong src/ui-ux-pro-max/.

← Tất cả hướng dẫn