agentleFS
mandarzopemandarzope/fullstack-swarm/.cursor/skills/ui-ux-pro-max/SKILL.md

ui-ux-pro-max

Skill4 starsChanged 4 months agoMITView on GitHub

Comprehensive design guide for web, mobile, and desktop applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 22 technology stacks.

  • Installs packages

177 other projects use a version of this, 111 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use stock_analysis, ckm:design-system and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 5 projects that use this

  • klauswgSkill

    ckm:design-system

    Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.

    Also in 24 projects that use this

  • dav-niu474Skill

    aminer-data-search

    使用 AMiner 开放平台 API 进行学术数据查询与分析。当用户需要查询学者信息、论文详情、机构数据、期刊内容或专利信息时使用此 skill。 触发场景:提到 AMiner、学术数据查询、查论文/学者/机构/期刊/专利、学术问答搜索、引用分析、科研机构分析、学者画像、论文引用链、期刊投稿分析等。 支持 6 大组合工作流(学者全景分析、论文深度挖掘、机构研究力分析、期刊论文监控、学术智能问答、专利链分析)以及 28 个独立 API 的直接调用。 即使用户只说"帮我查一下 XXX 学者"或"找找关于 XXX 的论文",也应主动使用此 skill。

    Also in 4 projects that use this

  • dav-niu474Skill

    auto-target-tracker

    自动目标进度追踪器。在对话中检测到目标相关图片(笔记、进度、截图、记录)时,自动调用 VLM 识别关键信息并记录到目标日记。适用于学习管理、健身追踪、工作进度、习惯养成、创作记录等所有目标管理场景。

    Also in 4 projects that use this

  • +7 more from dav-niu474

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 9 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 166 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check if Python is installed:

    line 11
  2. Distinctive:

    If Python is not installed, install it based on user's OS:

    line 17
  3. Distinctive:

    Use this skill when the user requests any of the following:

    line 40
  4. Very specific:

    When building a specific page (e.g., "Checkout"), first check design-system/pages/checkout.md

    line 104
  5. Distinctive:

    If the page file exists, its rules override the Master file

    line 105
  6. Very specific:

    If not, use design-system/MASTER.md exclusively

    line 106
  7. Distinctive:

    After getting the design system, use domain searches to get additional details:

    line 142
  8. Very specific:

    Use multi-dimensional keywords — combine product + industry + tone + density: "entertainment social vibrant content-dense" not just "app"

    line 263
  9. Very specific:

    Use --design-system first for full recommendations, then --domain to deep-dive any dimension you're unsure about

    line 265
  10. Very specific:

    Add --stack <stack> for implementation-specific guidance when the target stack is known

    line 266
  11. Very specific:

    Run --domain ux "animation accessibility z-index loading" as a UX validation pass before implementation

    line 282
  12. Distinctive:

    Run through Quick Reference §1–§3 (CRITICAL + HIGH) as a final review

    line 283
  13. Distinctive:

    Test on 375px (small phone) and landscape orientation

    line 284
  14. Distinctive:

    Verify behavior with reduced-motion enabled and Dynamic Type at largest size

    line 285
  15. Distinctive:

    Check dark mode contrast independently (don't assume light mode values work)

    line 286
  16. Very specific:

    Before delivering UI code, verify these items: Scope notice: This checklist is for App UI (iOS/Android/React Native/Flutter).

    line 358

“Common” is measured: kept by at least 6 in 10 of the 166 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ui-ux-pro-max

Comprehensive design guide for web, mobile, and desktop applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 22 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

Note: On Windows, use python instead of python3 to run scripts (e.g., python scripts/search.py instead of python3 scripts/search.py).


How to Use This Skill

Use this skill when the user requests any of the following:

ScenarioTrigger ExamplesStart From
New project / page"做一个 landing page"、"Build a dashboard"Step 1 → Step 2 (design system)
New component"Create a pricing card"、"Add a modal"Step 3 (domain search: style, ux)
Choose style / color / font"What style fits a fintech app?"、"推荐配色"Step 2 (design system)
Review existing UI"Review this page for UX issues"、"检查无障碍"Quick Reference checklist above
Fix a UI bug"Button hover is broken"、"Layout shifts on load"Quick Reference → relevant section
Improve / optimize"Make this faster"、"Improve mobile experience"Step 3 (domain search: ux, react)
Implement dark mode"Add dark mode support"Step 3 (domain: style "dark mode")
Add charts / data viz"Add an analytics dashboard chart"Step 3 (domain: chart)
Stack best practices"React performance tips"、"SwiftUI navigation"Step 4 (stack search)

Follow this workflow:

Step 1: Analyze User Requirements

Extract key information from user request:

  • Product type: Entertainment (social, video, music, gaming), Tool (scanner, editor, converter), Productivity (task manager, notes, calendar), or hybrid
  • Target audience: C-end consumer users; consider age group, usage context (commute, leisure, work)
  • Style keywords: playful, vibrant, minimal, dark mode, content-first, immersive, etc.
  • Stack: React Native (this project's only tech stack)

Step 2: Generate Design System (REQUIRED)

Always start with --design-system to get comprehensive recommendations with reasoning:

python3 skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]

This command:

  1. Searches domains in parallel (product, style, color, landing, typography)
  2. Applies reasoning rules from ui-reasoning.csv to select best matches
  3. Returns complete design system: pattern, style, colors, typography, effects
  4. Includes anti-patterns to avoid

Example:

python3 skills/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 skills/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 skills/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:

  1. When building a specific page (e.g., "Checkout"), first check design-system/pages/checkout.md
  2. If the page file exists, its rules override the Master file
  3. 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...

Step 2c: Design Dials (optional)

Three optional 1-10 sliders that tune --design-system output without changing your query. Add any combination of them to the same command:

python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --variance <1-10> --motion <1-10> --density <1-10>
DialLow (1-3)Mid (4-7)High (8-10)
--varianceCentered / minimal (biases toward Minimalism-style categories)Balanced / modernBold / asymmetric (biases toward Brutalism, Bento Grids)
--motionSubtle micro-interactionsStandard scroll/stagger motionComplex choreography (pin, Flip, SplitText)
--densitySpacious (24-96px spacing scale)Standard (16-64px, current default)Dense/dashboard (8-32px spacing scale)
  • --motion attaches a ready-to-use GSAP snippet (with framework notes, Do/Don't, and performance notes) pulled from --domain gsap, matched to the resolved tier (Subtle/Standard/Complex).
  • --density overrides the --space-* CSS variable table in the ASCII/markdown/MASTER.md output — use it for dashboards (high) vs. marketing pages (low) without hand-editing tokens.
  • Leaving a dial unset keeps that part of the output exactly as it was before (no behavior change).

Example:

python3 skills/ui-ux-pro-max/scripts/search.py "internal analytics dashboard" --design-system --variance 8 --motion 7 --density 8 -p "Ops Console"

Step 3: Supplement with Detailed Searches (as needed)

After getting the design system, use domain searches to get additional details:

python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]

When to use detailed searches:

NeedDomainExample
Product type patternsproduct--domain product "entertainment social"
More style optionsstyle--domain style "glassmorphism dark"
Color palettescolor--domain color "entertainment vibrant"
Font pairingstypography--domain typography "playful modern"
Chart recommendationschart--domain chart "real-time dashboard"
UX best practicesux--domain ux "animation accessibility"
Landing structurelanding--domain landing "hero social-proof"
React Native perfreact--domain react "rerender memo list"
App interface a11yweb--domain web "accessibilityLabel touch safe-areas"
AI prompt / CSS keywordsprompt--domain prompt "minimalism"

Step 4: Stack Guidelines

Get implementation-specific best practices for the user's stack:

python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack <stack>

Search Reference

Available Domains

DomainUse ForExample Keywords
productProduct type recommendationsSaaS, e-commerce, portfolio, healthcare, beauty, service
styleUI styles, colors, effectsglassmorphism, minimalism, dark mode, brutalism
typographyFont pairings, Google Fontselegant, playful, professional, modern
colorColor palettes by product typesaas, ecommerce, healthcare, beauty, fintech, service
landingPage structure, CTA strategieshero, hero-centric, testimonial, pricing, social-proof
chartChart types, library recommendationstrend, comparison, timeline, funnel, pie
uxBest practices, anti-patternsanimation, accessibility, z-index, loading
gsapGSAP animation skeletons by intensity tierscroll reveal, stagger, magnetic cursor, page transition
reactReact/Next.js performancewaterfall, bundle, suspense, memo, rerender, cache
webApp interface guidelines (iOS/Android/React Native)accessibilityLabel, touch targets, safe areas, Dynamic Type
promptAI prompts, CSS keywords(style name)

Available Stacks

StackFocus
react-nativeComponents, Navigation, Lists
javafxEnterprise desktop apps, AtlantaFX themes, FXML, CSS, Controls, Binding, Threading, Packaging

JavaFX enterprise examples:

python3 skills/ui-ux-pro-max/scripts/search.py "atlantafx primer enterprise theme" --stack javafx
python3 skills/ui-ux-pro-max/scripts/search.py "enterprise tableview density permission" --stack javafx

Example Workflow

User request: "Make an AI search homepage。"

Step 1: Analyze Requirements

  • Product type: Tool (AI search engine)
  • Target audience: C-end users looking for fast, intelligent search
  • Style keywords: modern, minimal, content-first, dark mode
  • Stack: React Native

Step 2: Generate Design System (REQUIRED)

python3 skills/ui-ux-pro-max/scripts/search.py "AI search tool modern minimal" --design-system -p "AI Search"

Output: Complete design system with pattern, style, colors, typography, effects, and anti-patterns.

Step 3: Supplement with Detailed Searches (as needed)

# Get style options for a modern tool product
python3 skills/ui-ux-pro-max/scripts/search.py "minimalism dark mode" --domain style

# Get UX best practices for search interaction and loading
python3 skills/ui-ux-pro-max/scripts/search.py "search loading animation" --domain ux

Step 4: Stack Guidelines

python3 skills/ui-ux-pro-max/scripts/search.py "list performance navigation" --stack react-native

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 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system

# Markdown - best for documentation
python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown

Tips for Better Results

Query Strategy

  • Use multi-dimensional keywords — combine product + industry + tone + density: "entertainment social vibrant content-dense" not just "app"
  • Try different keywords for the same need: "playful neon" → "vibrant dark" → "content-first minimal"
  • Use --design-system first for full recommendations, then --domain to deep-dive any dimension you're unsure about
  • Add --stack <stack> for implementation-specific guidance when the target stack is known

Common Sticking Points

ProblemWhat to Do
Can't decide on style/colorRe-run --design-system with different keywords
Dark mode contrast issuesQuick Reference §6: color-dark-mode + color-accessible-pairs
Animations feel unnaturalQuick Reference §7: spring-physics + easing + exit-faster-than-enter
Form UX is poorQuick Reference §8: inline-validation + error-clarity + focus-management
Navigation feels confusingQuick Reference §9: nav-hierarchy + bottom-nav-limit + back-behavior
Layout breaks on small screensQuick Reference §5: mobile-first + breakpoint-consistency
Performance / jankQuick Reference §3: virtualize-lists + main-thread-budget + debounce-throttle

Pre-Delivery Checklist

  • Run --domain ux "animation accessibility z-index loading" as a UX validation pass before implementation
  • Run through Quick Reference §1–§3 (CRITICAL + HIGH) as a final review
  • Test on 375px (small phone) and landscape orientation
  • Verify behavior with reduced-motion enabled and Dynamic Type at largest size
  • Check dark mode contrast independently (don't assume light mode values work)
  • Confirm all touch targets ≥44pt and no content hidden behind safe areas

Common Rules for Professional UI

These are frequently overlooked issues that make UI look unprofessional: Scope notice: The rules below are for App UI (iOS/Android/React Native/Flutter), not desktop-web interaction patterns.

Icons & Visual Elements

  • 默认图标库使用 Phosphor (@phosphor-icons/react)。src/ui-ux-pro-max/data/icons.csv 中列出的只是常用推荐图标,不是完整集合。
  • 当推荐表中找不到合适的图标时:
    • 优先继续从 Phosphor 的完整图标集中选择任何语义更贴切的图标;
    • 如果 Phosphor 也没有理想选项,可以使用 Heroicons (@heroicons/react) 作为备选,注意保持风格一致(线性/填充、笔画粗细、圆角风格)。
RuleStandardAvoidWhy It Matters
No Emoji as Structural IconsUse vector-based icons (e.g., Phosphor @phosphor-icons/react, Heroicons @heroicons/react, react-native-vector-icons, @expo/vector-icons).Using emojis (🎨 🚀 ⚙️) for navigation, settings, or system controls.Emojis are font-dependent, inconsistent across platforms, and cannot be controlled via design tokens.
Vector-Only AssetsUse SVG or platform vector icons that scale cleanly and support theming.Raster PNG icons that blur or pixelate.Ensures scalability, crisp rendering, and dark/light mode adaptability.
Stable Interaction StatesUse color, opacity, or elevation transitions for press states without changing layout bounds.Layout-shifting transforms that move surrounding content or trigger visual jitter.Prevents unstable interactions and preserves smooth motion/perceived quality on mobile.
Correct Brand LogosUse official brand assets and follow their usage guidelines (spacing, color, clear space).Guessing logo paths, recoloring unofficially, or modifying proportions.Prevents brand misuse and ensures legal/platform compliance.
Consistent Icon SizingDefine icon sizes as design tokens (e.g., icon-sm, icon-md = 24pt, icon-lg).Mixing arbitrary values like 20pt / 24pt / 28pt randomly.Maintains rhythm and visual hierarchy across the interface.
Stroke ConsistencyUse a consistent stroke width within the same visual layer (e.g., 1.5px or 2px).Mixing thick and thin stroke styles arbitrarily.Inconsistent strokes reduce perceived polish and cohesion.
Filled vs Outline DisciplineUse one icon style per hierarchy level.Mixing filled and outline icons at the same hierarchy level.Maintains semantic clarity and stylistic coherence.
Touch Target MinimumMinimum 44×44pt interactive area (use hitSlop if icon is smaller).Small icons without expanded tap area.Meets accessibility and platform usability standards.
Icon AlignmentAlign icons to text baseline and maintain consistent padding.Misaligned icons or inconsistent spacing around them.Prevents subtle visual imbalance that reduces perceived quality.
Icon ContrastFollow WCAG contrast standards: 4.5:1 for small elements, 3:1 minimum for larger UI glyphs.Low-contrast icons that blend into the background.Ensures accessibility in both light and dark modes.

Interaction (App)

RuleDoDon't
Tap feedbackProvide clear pressed feedback (ripple/opacity/elevation) within 80-150msNo visual response on tap
Animation timingKeep micro-interactions around 150-300ms with platform-native easingInstant transitions or slow animations (>500ms)
Accessibility focusEnsure screen reader focus order matches visual order and labels are descriptiveUnlabeled controls or confusing focus traversal
Disabled state clarityUse disabled semantics (disabled/native disabled props), reduced emphasis, and no tap actionControls that look tappable but do nothing
Touch target minimumKeep tap areas >=44x44pt (iOS) or >=48x48dp (Android), expand hit area when icon is smallerTiny tap targets or icon-only hit areas without padding
Gesture conflict preventionKeep one primary gesture per region and avoid nested tap/drag conflictsOverlapping gestures causing accidental actions
Semantic native controlsPrefer native interactive primitives (Button, Pressable, platform equivalents) with proper accessibility rolesGeneric containers used as primary controls without semantics

Light/Dark Mode Contrast

RuleDoDon't
Surface readability (light)Keep cards/surfaces clearly separated from background with sufficient opacity/elevationOverly transparent surfaces that blur hierarchy
Text contrast (light)Maintain body text contrast >=4.5:1 against light surfacesLow-contrast gray body text
Text contrast (dark)Maintain primary text contrast >=4.5:1 and secondary text >=3:1 on dark surfacesDark mode text that blends into background
Border and divider visibilityEnsure separators are visible in both themes (not just light mode)Theme-specific borders disappearing in one mode
State contrast parityKeep pressed/focused/disabled states equally distinguishable in light and dark themesDefining interaction states for one theme only
Token-driven themingUse semantic color tokens mapped per theme across app surfaces/text/iconsHardcoded per-screen hex values
Scrim and modal legibilityUse a modal scrim strong enough to isolate foreground content (typically 40-60% black)Weak scrim that leaves background visually competing

Layout & Spacing

RuleDoDon't
Safe-area complianceRespect top/bottom safe areas for all fixed headers, tab bars, and CTA barsPlacing fixed UI under notch, status bar, or gesture area
System bar clearanceAdd spacing for status/navigation bars and gesture home indicatorLet tappable content collide with OS chrome
Consistent content widthKeep predictable content width per device class (phone/tablet)Mixing arbitrary widths between screens
8dp spacing rhythmUse a consistent 4/8dp spacing system for padding/gaps/section spacingRandom spacing increments with no rhythm
Readable text measureKeep long-form text readable on large devices (avoid edge-to-edge paragraphs on tablets)Full-width long text that hurts readability
Section spacing hierarchyDefine clear vertical rhythm tiers (e.g., 16/24/32/48) by hierarchySimilar UI levels with inconsistent spacing
Adaptive gutters by breakpointIncrease horizontal insets on larger widths and in landscapeSame narrow gutter on all device sizes/orientations
Scroll and fixed element coexistenceAdd bottom/top content insets so lists are not hidden behind fixed barsScroll content obscured by sticky headers/footers

Pre-Delivery Checklist

Before delivering UI code, verify these items: Scope notice: This checklist is for App UI (iOS/Android/React Native/Flutter).

Visual Quality

  • No emojis used as icons (use SVG instead)
  • All icons come from a consistent icon family and style
  • Official brand assets are used with correct proportions and clear space
  • Pressed-state visuals do not shift layout bounds or cause jitter
  • Semantic theme tokens are used consistently (no ad-hoc per-screen hardcoded colors)

Interaction

  • All tappable elements provide clear pressed feedback (ripple/opacity/elevation)
  • Touch targets meet minimum size (>=44x44pt iOS, >=48x48dp Android)
  • Micro-interaction timing stays in the 150-300ms range with native-feeling easing
  • Disabled states are visually clear and non-interactive
  • Screen reader focus order matches visual order, and interactive labels are descriptive
  • Gesture regions avoid nested/conflicting interactions (tap/drag/back-swipe conflicts)

Light/Dark Mode

  • Primary text contrast >=4.5:1 in both light and dark mode
  • Secondary text contrast >=3:1 in both light and dark mode
  • Dividers/borders and interaction states are distinguishable in both modes
  • Modal/drawer scrim opacity is strong enough to preserve foreground legibility (typically 40-60% black)
  • Both themes are tested before delivery (not inferred from a single theme)

Layout

  • Safe areas are respected for headers, tab bars, and bottom CTA bars
  • Scroll content is not hidden behind fixed/sticky bars
  • Verified on small phone, large phone, and tablet (portrait + landscape)
  • Horizontal insets/gutters adapt correctly by device size and orientation
  • 4/8dp spacing rhythm is maintained across component, section, and page levels
  • Long-form text measure remains readable on larger devices (no edge-to-edge paragraphs)

Accessibility

  • All meaningful images/icons have accessibility labels
  • Form fields have labels, hints, and clear error messages
  • Color is not the only indicator
  • Reduced motion and dynamic text size are supported without layout breakage
  • Accessibility traits/roles/states (selected, disabled, expanded) are announced correctly

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.