Spartan-ai-toolkit ui-ux-pro-max

UI/UX design intelligence with searchable style, palette, typography, and chart databases. Use when designing UI components, choosing colors/fonts, reviewing code for UX issues, building landing pages, or implementing responsive layouts.

install
source · Clone the upstream repo
git clone https://github.com/c0x12c/ai-toolkit
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/c0x12c/ai-toolkit "$T" && mkdir -p ~/.claude/skills && cp -r "$T/toolkit/skills/ui-ux-pro-max" ~/.claude/skills/spartan-stratos-spartan-ai-toolkit-ui-ux-pro-max && rm -rf "$T"
manifest: toolkit/skills/ui-ux-pro-max/SKILL.md
source content

UI/UX Pro Max - Design Intelligence

Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.

When to Apply

Reference these guidelines when:

  • Designing new UI components or pages
  • Choosing color palettes and typography
  • Reviewing code for UX issues
  • Building landing pages or dashboards
  • Implementing accessibility requirements

Rule Categories by Priority

PriorityCategoryImpactDomain
1AccessibilityCRITICAL
ux
2Touch & InteractionCRITICAL
ux
3PerformanceHIGH
ux
4Layout & ResponsiveHIGH
ux
5Typography & ColorMEDIUM
typography
,
color
6AnimationMEDIUM
ux
7Style SelectionMEDIUM
style
,
product
8Charts & DataLOW
chart

Quick Reference

1. Accessibility (CRITICAL)

  • color-contrast
    - Minimum 4.5:1 ratio for normal text
  • focus-states
    - Visible focus rings on interactive elements
  • alt-text
    - Descriptive alt text for meaningful images
  • aria-labels
    - aria-label for icon-only buttons
  • keyboard-nav
    - Tab order matches visual order
  • form-labels
    - Use label with for attribute

2. Touch & Interaction (CRITICAL)

  • touch-target-size
    - Minimum 44x44px touch targets
  • hover-vs-tap
    - Use click/tap for primary interactions
  • loading-buttons
    - Disable button during async operations
  • error-feedback
    - Clear error messages near problem
  • cursor-pointer
    - Add cursor-pointer to clickable elements

3. Performance (HIGH)

  • image-optimization
    - Use WebP, srcset, lazy loading
  • reduced-motion
    - Check prefers-reduced-motion
  • content-jumping
    - Reserve space for async content

4. Layout & Responsive (HIGH)

  • viewport-meta
    - width=device-width initial-scale=1
  • readable-font-size
    - Minimum 16px body text on mobile
  • horizontal-scroll
    - Ensure content fits viewport width
  • z-index-management
    - Define z-index scale (10, 20, 30, 50)

5. Typography & Color (MEDIUM)

  • line-height
    - Use 1.5-1.75 for body text
  • line-length
    - Limit to 65-75 characters per line
  • font-pairing
    - Match heading/body font personalities

6. Animation (MEDIUM)

  • duration-timing
    - Use 150-300ms for micro-interactions
  • transform-performance
    - Use transform/opacity, not width/height
  • loading-states
    - Skeleton screens or spinners

7. Style Selection (MEDIUM)

  • style-match
    - Match style to product type
  • consistency
    - Use same style across all pages
  • no-emoji-icons
    - Use SVG icons, not emojis

8. Charts & Data (LOW)

  • chart-type
    - Match chart type to data type
  • color-guidance
    - Use accessible color palettes
  • data-table
    - Provide table alternative for accessibility

How to Use

Search specific domains using the CLI tool below.

See

python-setup.md
for Python script usage.


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 skills/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 skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux

# Get alternative typography options if needed
python3 skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography

Step 4: Stack Guidelines

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

  1. Be specific with keywords - "healthcare SaaS dashboard" > "app"
  2. Search multiple times - Different keywords reveal different insights
  3. Combine domains - Style + Typography + Color = Complete design system
  4. Always check UX - Search "animation", "z-index", "accessibility" for common issues
  5. Use stack flag - Get implementation-specific best practices
  6. 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

RuleDoDon't
No emoji iconsUse SVG icons (Heroicons, Lucide, Simple Icons)Use emojis like 🎨 🚀 ⚙️ as UI icons
Stable hover statesUse color/opacity transitions on hoverUse scale transforms that shift layout
Correct brand logosResearch official SVG from Simple IconsGuess or use incorrect logo paths
Consistent icon sizingUse fixed viewBox (24x24) with w-6 h-6Mix different icon sizes randomly

Interaction & Cursor

RuleDoDon't
Cursor pointerAdd
cursor-pointer
to all clickable/hoverable cards
Leave default cursor on interactive elements
Hover feedbackProvide visual feedback (color, shadow, border)No indication element is interactive
Smooth transitionsUse
transition-colors duration-200
Instant state changes or too slow (>500ms)

Light/Dark Mode Contrast

RuleDoDon't
Glass card light modeUse
bg-white/80
or higher opacity
Use
bg-white/10
(too transparent)
Text contrast lightUse
#0F172A
(slate-900) for text
Use
#94A3B8
(slate-400) for body text
Muted text lightUse
#475569
(slate-600) minimum
Use gray-400 or lighter
Border visibilityUse
border-gray-200
in light mode
Use
border-white/10
(invisible)

Layout & Spacing

RuleDoDon't
Floating navbarAdd
top-4 left-4 right-4
spacing
Stick navbar to
top-0 left-0 right-0
Content paddingAccount for fixed navbar heightLet content hide behind fixed elements
Consistent max-widthUse same
max-w-6xl
or
max-w-7xl
Mix different container widths

Pre-Delivery Checklist

Before delivering UI code, verify these items:

Visual Quality

  • No emojis used as icons (use SVG instead)
  • All icons from consistent icon set (Heroicons/Lucide)
  • Brand logos are correct (verified from Simple Icons)
  • Hover states don't cause layout shift
  • Use theme colors directly (bg-primary) not var() wrapper

Interaction

  • All clickable elements have
    cursor-pointer
  • Hover states provide clear visual feedback
  • Transitions are smooth (150-300ms)
  • Focus states visible for keyboard navigation

Light/Dark Mode

  • Light mode text has sufficient contrast (4.5:1 minimum)
  • Glass/transparent elements visible in light mode
  • Borders visible in both modes
  • Test both modes before delivery

Layout

  • Floating elements have proper spacing from edges
  • No content hidden behind fixed navbars
  • Responsive at 375px, 768px, 1024px, 1440px
  • No horizontal scroll on mobile

Accessibility

  • All images have alt text
  • Form inputs have labels
  • Color is not the only indicator
  • prefers-reduced-motion
    respected