UI Audit - Design Intelligence & Review Guidance
Comprehensive design reference library combined with focused UI/UX review guidance for web and mobile applications. Contains design patterns, color palettes, typography systems, and audit frameworks for improving modern SaaS and product interfaces.
Use frontend-design-specialist for end-to-end page and component implementation. Use this skill when targeted design research, pattern selection, UX review, or design system audit is the main need.
When to Apply
Reference these guidelines when:
- Designing new UI components or pages
- Choosing color palettes and typography
- Reviewing code for UX issues or Web Interface Guidelines compliance
- Building landing pages or dashboards
- Implementing accessibility requirements
- Auditing existing dashboards, pricing pages, onboarding flows, forms, or navigation
- Identifying concrete visual, usability, or conversion improvements
Rule Categories by Priority
| Priority |
Category |
Impact |
Domain |
| 1 |
Accessibility |
CRITICAL |
ux |
| 2 |
Touch & Interaction |
CRITICAL |
ux |
| 3 |
Performance |
HIGH |
ux |
| 4 |
Layout & Responsive |
HIGH |
ux |
| 5 |
Typography & Color |
MEDIUM |
typography, color |
| 6 |
Animation |
MEDIUM |
ux |
| 7 |
Style Selection |
MEDIUM |
style, product |
| 8 |
Charts & Data |
LOW |
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
Web Interface Guidelines Compliance
How to Use Web Design Guidelines
When a user provides a file or pattern argument:
- Fetch guidelines from the source URL:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
- Read the specified files
- Apply all rules from the fetched guidelines
- Output findings using the format specified in the guidelines
Use WebFetch to retrieve the latest rules. The fetched content contains all the rules and output format instructions.
Review Mode
When asked to review, audit, or check existing UI code, accessibility, UX, or interface quality:
- Focus on compliance with Web Interface Guidelines
- Identify files for review
- Check against all rules in the fetched guidelines
- Output findings in the terse
file:line format
Design System Library
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
How to Use This Skill
When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
Step 1: Analyze User Requirements
Extract key information from user request:
- Product type: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
- Style keywords: minimal, playful, professional, elegant, dark mode, etc.
- Industry: healthcare, fintech, gaming, education, etc.
- Stack: React, Vue, Next.js, or default to
html-tailwind
Step 2: Generate Design System (REQUIRED)
Always start with --design-system to get comprehensive recommendations with reasoning:
python3 skills/ui-audit/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
This command:
- Searches 5 domains in parallel (product, style, color, landing, typography)
- Applies reasoning rules from
ui-reasoning.csv to select best matches
- Returns complete design system: pattern, style, colors, typography, effects
- Includes anti-patterns to avoid
Example:
python3 skills/ui-audit/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-audit/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-audit/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:
- When building a specific page (e.g., "Checkout"), first check
design-system/pages/checkout.md
- If the page file exists, its rules override the Master file
- 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 3: Supplement with Detailed Searches (as needed)
After getting the design system, use domain searches to get additional details:
python3 skills/ui-audit/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
When to use detailed searches:
| Need |
Domain |
Example |
| More style options |
style |
--domain style "glassmorphism dark" |
| Chart recommendations |
chart |
--domain chart "real-time dashboard" |
| UX best practices |
ux |
--domain ux "animation accessibility" |
| Alternative fonts |
typography |
--domain typography "elegant luxury" |
| Landing structure |
landing |
--domain landing "hero social-proof" |
Step 4: Stack Guidelines (Default: html-tailwind)
Get implementation-specific best practices. If user doesn't specify a stack, default to html-tailwind.
python3 skills/ui-audit/scripts/search.py "<keyword>" --stack html-tailwind
Available stacks: html-tailwind, react, nextjs, vue, svelte, swiftui, react-native, flutter, shadcn, jetpack-compose
Search Reference
Available Domains
| Domain |
Use For |
Example Keywords |
product |
Product type recommendations |
SaaS, e-commerce, portfolio, healthcare, beauty, service |
style |
UI styles, colors, effects |
glassmorphism, minimalism, dark mode, brutalism |
typography |
Font pairings, Google Fonts |
elegant, playful, professional, modern |
color |
Color palettes by product type |
saas, ecommerce, healthcare, beauty, fintech, service |
landing |
Page structure, CTA strategies |
hero, hero-centric, testimonial, pricing, social-proof |
chart |
Chart types, library recommendations |
trend, comparison, timeline, funnel, pie |
ux |
Best practices, anti-patterns |
animation, accessibility, z-index, loading |
react |
React/Next.js performance |
waterfall, bundle, suspense, memo, rerender, cache |
web |
Web interface guidelines |
aria, focus, keyboard, semantic, virtualize |
prompt |
AI prompts, CSS keywords |
(style name) |
Available Stacks
| Stack |
Focus |
html-tailwind |
Tailwind utilities, responsive, a11y (DEFAULT) |
react |
State, hooks, performance, patterns |
nextjs |
SSR, routing, images, API routes |
vue |
Composition API, Pinia, Vue Router |
svelte |
Runes, stores, SvelteKit |
swiftui |
Views, State, Navigation, Animation |
react-native |
Components, Navigation, Lists |
flutter |
Widgets, State, Layout, Theming |
shadcn |
shadcn/ui components, theming, forms, patterns |
jetpack-compose |
Composables, Modifiers, State Hoisting, Recomposition |
UI/UX Review Framework
Review Inputs / Prereqs
For conducting targeted reviews and audits, gather:
screen_type - Dashboard, pricing page, onboarding flow, form, navigation, etc.
goal - Primary user task and success condition
ui_description - Current interface structure and components
- Optional
product_context - Product type, audience, business model
- Optional
design_tokens - Colors, typography, spacing system in use
Review Workflow
- Identify the screen's primary user task and success condition.
- Evaluate hierarchy, layout rhythm, contrast, navigation clarity, and interaction cost.
- Flag generic or vibe-coded patterns and replace them with concrete alternatives.
- Tailor suggestions to the product context instead of applying generic SaaS conventions.
Review Outputs / Evidence
- A prioritized list of UI and UX findings
- Concrete layout, component, copy, or token changes
- Clear reasoning tied to the screen goal
- Specific recommendations for visual, usability, or conversion improvements
Common Rules for Professional UI
These are frequently overlooked issues that make UI look unprofessional:
Icons & Visual Elements
| Rule |
Do |
Don't |
| No emoji icons |
Use SVG icons (Heroicons, Lucide, Simple Icons) |
Use emojis like 🎨 🚀 ⚙️ as UI icons |
| Stable hover states |
Use color/opacity transitions on hover |
Use scale transforms that shift layout |
| Correct brand logos |
Research official SVG from Simple Icons |
Guess or use incorrect logo paths |
| Consistent icon sizing |
Use fixed viewBox (24x24) with w-6 h-6 |
Mix different icon sizes randomly |
Interaction & Cursor
| Rule |
Do |
Don't |
| Cursor pointer |
Add cursor-pointer to all clickable/hoverable cards |
Leave default cursor on interactive elements |
| Hover feedback |
Provide visual feedback (color, shadow, border) |
No indication element is interactive |
| Smooth transitions |
Use transition-colors duration-200 |
Instant state changes or too slow (>500ms) |
Light/Dark Mode Contrast
| Rule |
Do |
Don't |
| Glass card light mode |
Use bg-white/80 or higher opacity |
Use bg-white/10 (too transparent) |
| Text contrast light |
Use #0F172A (slate-900) for text |
Use #94A3B8 (slate-400) for body text |
| Muted text light |
Use #475569 (slate-600) minimum |
Use gray-400 or lighter |
| Border visibility |
Use border-gray-200 in light mode |
Use border-white/10 (invisible) |
Layout & Spacing
| Rule |
Do |
Don't |
| Floating navbar |
Add top-4 left-4 right-4 spacing |
Stick navbar to top-0 left-0 right-0 |
| Content padding |
Account for fixed navbar height |
Let content hide behind fixed elements |
| Consistent max-width |
Use same max-w-6xl or max-w-7xl |
Mix different container widths |
Pre-Delivery Checklist
Before delivering UI code, verify these items:
Visual Quality
Interaction
Light/Dark Mode
Layout
Accessibility
Example Workflow
User request: "Design landing page for professional skin care service"
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-audit/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-audit/scripts/search.py "animation accessibility" --domain ux
# Get alternative typography options if needed
python3 skills/ui-audit/scripts/search.py "elegant luxury serif" --domain typography
Step 4: Stack Guidelines
python3 skills/ui-audit/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-audit/scripts/search.py "fintech crypto" --design-system
# Markdown - best for documentation
python3 skills/ui-audit/scripts/search.py "fintech crypto" --design-system -f markdown
Tips for Better Results
- Be specific with keywords - "healthcare SaaS dashboard" > "app"
- Search multiple times - Different keywords reveal different insights
- Combine domains - Style + Typography + Color = Complete design system
- Always check UX - Search "animation", "z-index", "accessibility" for common issues
- Use stack flag - Get implementation-specific best practices
- Iterate - If first search doesn't match, try different keywords
- Leverage audit mode - Use review framework for existing interfaces
- Check Web Interface Guidelines - Verify compliance with latest standards
Outputs / Evidence
- Return the concrete design guidance, audit findings, or implementation patterns requested
- Include clear rendering and accessibility implications
- Note any design system constraints or Web Interface Guidelines compliance requirements that must be preserved
Failure / Stop Conditions
- Stop if required context for the task is not identified
- Do not redesign the product around a different audience or business model
- Do not suggest aesthetic changes that weaken clarity, accessibility, or conversion
- Stop if review guidelines or Web Interface Standards cannot be fetched
Memory Hooks
- Read memory when product, repo, or design-system history affects correctness
- Write memory only if this work establishes a durable UI audit policy or design system
1---2name: ui-audit3description: UI/UX design system reference, pattern library, and focused review guidance for web and mobile applications. Use for targeted design research, pattern selection, UX audits, accessibility guidance, palette and typography selection, layout heuristics, and component pattern research. Covers 50+ styles, 97 color palettes, 57 font pairings, Web Interface Guidelines compliance, and concrete visual/usability improvements for modern SaaS and product interfaces.4---56# UI Audit - Design Intelligence & Review Guidance78Comprehensive design reference library combined with focused UI/UX review guidance for web and mobile applications. Contains design patterns, color palettes, typography systems, and audit frameworks for improving modern SaaS and product interfaces.910Use `frontend-design-specialist` for end-to-end page and component implementation. Use this skill when targeted design research, pattern selection, UX review, or design system audit is the main need.1112## When to Apply1314Reference these guidelines when:15- Designing new UI components or pages16- Choosing color palettes and typography17- Reviewing code for UX issues or Web Interface Guidelines compliance18- Building landing pages or dashboards19- Implementing accessibility requirements20- Auditing existing dashboards, pricing pages, onboarding flows, forms, or navigation21- Identifying concrete visual, usability, or conversion improvements2223## Rule Categories by Priority2425| Priority | Category | Impact | Domain |26|----------|----------|--------|--------|27| 1 | Accessibility | CRITICAL | `ux` |28| 2 | Touch & Interaction | CRITICAL | `ux` |29| 3 | Performance | HIGH | `ux` |30| 4 | Layout & Responsive | HIGH | `ux` |31| 5 | Typography & Color | MEDIUM | `typography`, `color` |32| 6 | Animation | MEDIUM | `ux` |33| 7 | Style Selection | MEDIUM | `style`, `product` |34| 8 | Charts & Data | LOW | `chart` |3536## Quick Reference3738### 1. Accessibility (CRITICAL)3940- `color-contrast` - Minimum 4.5:1 ratio for normal text41- `focus-states` - Visible focus rings on interactive elements42- `alt-text` - Descriptive alt text for meaningful images43- `aria-labels` - aria-label for icon-only buttons44- `keyboard-nav` - Tab order matches visual order45- `form-labels` - Use label with for attribute4647### 2. Touch & Interaction (CRITICAL)4849- `touch-target-size` - Minimum 44x44px touch targets50- `hover-vs-tap` - Use click/tap for primary interactions51- `loading-buttons` - Disable button during async operations52- `error-feedback` - Clear error messages near problem53- `cursor-pointer` - Add cursor-pointer to clickable elements5455### 3. Performance (HIGH)5657- `image-optimization` - Use WebP, srcset, lazy loading58- `reduced-motion` - Check prefers-reduced-motion59- `content-jumping` - Reserve space for async content6061### 4. Layout & Responsive (HIGH)6263- `viewport-meta` - width=device-width initial-scale=164- `readable-font-size` - Minimum 16px body text on mobile65- `horizontal-scroll` - Ensure content fits viewport width66- `z-index-management` - Define z-index scale (10, 20, 30, 50)6768### 5. Typography & Color (MEDIUM)6970- `line-height` - Use 1.5-1.75 for body text71- `line-length` - Limit to 65-75 characters per line72- `font-pairing` - Match heading/body font personalities7374### 6. Animation (MEDIUM)7576- `duration-timing` - Use 150-300ms for micro-interactions77- `transform-performance` - Use transform/opacity, not width/height78- `loading-states` - Skeleton screens or spinners7980### 7. Style Selection (MEDIUM)8182- `style-match` - Match style to product type83- `consistency` - Use same style across all pages84- `no-emoji-icons` - Use SVG icons, not emojis8586### 8. Charts & Data (LOW)8788- `chart-type` - Match chart type to data type89- `color-guidance` - Use accessible color palettes90- `data-table` - Provide table alternative for accessibility9192## Web Interface Guidelines Compliance9394### How to Use Web Design Guidelines9596When a user provides a file or pattern argument:971. Fetch guidelines from the source URL:98 ```99 https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md100 ```1012. Read the specified files1023. Apply all rules from the fetched guidelines1034. Output findings using the format specified in the guidelines104105Use WebFetch to retrieve the latest rules. The fetched content contains all the rules and output format instructions.106107### Review Mode108109When asked to review, audit, or check existing UI code, accessibility, UX, or interface quality:110- Focus on compliance with Web Interface Guidelines111- Identify files for review112- Check against all rules in the fetched guidelines113- Output findings in the terse `file:line` format114115## Design System Library116117### Prerequisites118119Check if Python is installed:120121```bash122python3 --version || python --version123```124125If Python is not installed, install it based on user's OS:126127**macOS:**128```bash129brew install python3130```131132**Ubuntu/Debian:**133```bash134sudo apt update && sudo apt install python3135```136137**Windows:**138```powershell139winget install Python.Python.3.12140```141142### How to Use This Skill143144When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:145146#### Step 1: Analyze User Requirements147148Extract key information from user request:149- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.150- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.151- **Industry**: healthcare, fintech, gaming, education, etc.152- **Stack**: React, Vue, Next.js, or default to `html-tailwind`153154#### Step 2: Generate Design System (REQUIRED)155156**Always start with `--design-system`** to get comprehensive recommendations with reasoning:157158```bash159python3 skills/ui-audit/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]160```161162This command:1631. Searches 5 domains in parallel (product, style, color, landing, typography)1642. Applies reasoning rules from `ui-reasoning.csv` to select best matches1653. Returns complete design system: pattern, style, colors, typography, effects1664. Includes anti-patterns to avoid167168**Example:**169```bash170python3 skills/ui-audit/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"171```172173#### Step 2b: Persist Design System (Master + Overrides Pattern)174175To save the design system for **hierarchical retrieval across sessions**, add `--persist`:176177```bash178python3 skills/ui-audit/scripts/search.py "<query>" --design-system --persist -p "Project Name"179```180181This creates:182- `design-system/MASTER.md` — Global Source of Truth with all design rules183- `design-system/pages/` — Folder for page-specific overrides184185**With page-specific override:**186```bash187python3 skills/ui-audit/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"188```189190This also creates:191- `design-system/pages/dashboard.md` — Page-specific deviations from Master192193**How hierarchical retrieval works:**1941. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`1952. If the page file exists, its rules **override** the Master file1963. If not, use `design-system/MASTER.md` exclusively197198**Context-aware retrieval prompt:**199```200I am building the [Page Name] page. Please read design-system/MASTER.md.201Also check if design-system/pages/[page-name].md exists.202If the page file exists, prioritize its rules.203If not, use the Master rules exclusively.204Now, generate the code...205```206207#### Step 3: Supplement with Detailed Searches (as needed)208209After getting the design system, use domain searches to get additional details:210211```bash212python3 skills/ui-audit/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]213```214215**When to use detailed searches:**216217| Need | Domain | Example |218|------|--------|---------|219| More style options | `style` | `--domain style "glassmorphism dark"` |220| Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |221| UX best practices | `ux` | `--domain ux "animation accessibility"` |222| Alternative fonts | `typography` | `--domain typography "elegant luxury"` |223| Landing structure | `landing` | `--domain landing "hero social-proof"` |224225#### Step 4: Stack Guidelines (Default: html-tailwind)226227Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.228229```bash230python3 skills/ui-audit/scripts/search.py "<keyword>" --stack html-tailwind231```232233Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`234235### Search Reference236237#### Available Domains238239| Domain | Use For | Example Keywords |240|--------|---------|------------------|241| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |242| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |243| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |244| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |245| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |246| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |247| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |248| `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |249| `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |250| `prompt` | AI prompts, CSS keywords | (style name) |251252#### Available Stacks253254| Stack | Focus |255|-------|-------|256| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |257| `react` | State, hooks, performance, patterns |258| `nextjs` | SSR, routing, images, API routes |259| `vue` | Composition API, Pinia, Vue Router |260| `svelte` | Runes, stores, SvelteKit |261| `swiftui` | Views, State, Navigation, Animation |262| `react-native` | Components, Navigation, Lists |263| `flutter` | Widgets, State, Layout, Theming |264| `shadcn` | shadcn/ui components, theming, forms, patterns |265| `jetpack-compose` | Composables, Modifiers, State Hoisting, Recomposition |266267## UI/UX Review Framework268269### Review Inputs / Prereqs270271For conducting targeted reviews and audits, gather:272- `screen_type` - Dashboard, pricing page, onboarding flow, form, navigation, etc.273- `goal` - Primary user task and success condition274- `ui_description` - Current interface structure and components275- Optional `product_context` - Product type, audience, business model276- Optional `design_tokens` - Colors, typography, spacing system in use277278### Review Workflow2792801. Identify the screen's primary user task and success condition.2812. Evaluate hierarchy, layout rhythm, contrast, navigation clarity, and interaction cost.2823. Flag generic or vibe-coded patterns and replace them with concrete alternatives.2834. Tailor suggestions to the product context instead of applying generic SaaS conventions.284285### Review Outputs / Evidence286287- A prioritized list of UI and UX findings288- Concrete layout, component, copy, or token changes289- Clear reasoning tied to the screen goal290- Specific recommendations for visual, usability, or conversion improvements291292## Common Rules for Professional UI293294These are frequently overlooked issues that make UI look unprofessional:295296### Icons & Visual Elements297298| Rule | Do | Don't |299|------|----|----- |300| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |301| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |302| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |303| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |304305### Interaction & Cursor306307| Rule | Do | Don't |308|------|----|----- |309| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |310| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |311| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |312313### Light/Dark Mode Contrast314315| Rule | Do | Don't |316|------|----|----- |317| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |318| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |319| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |320| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |321322### Layout & Spacing323324| Rule | Do | Don't |325|------|----|----- |326| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |327| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |328| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |329330## Pre-Delivery Checklist331332Before delivering UI code, verify these items:333334### Visual Quality335- [ ] No emojis used as icons (use SVG instead)336- [ ] All icons from consistent icon set (Heroicons/Lucide)337- [ ] Brand logos are correct (verified from Simple Icons)338- [ ] Hover states don't cause layout shift339- [ ] Use theme colors directly (bg-primary) not var() wrapper340341### Interaction342- [ ] All clickable elements have `cursor-pointer`343- [ ] Hover states provide clear visual feedback344- [ ] Transitions are smooth (150-300ms)345- [ ] Focus states visible for keyboard navigation346347### Light/Dark Mode348- [ ] Light mode text has sufficient contrast (4.5:1 minimum)349- [ ] Glass/transparent elements visible in light mode350- [ ] Borders visible in both modes351- [ ] Test both modes before delivery352353### Layout354- [ ] Floating elements have proper spacing from edges355- [ ] No content hidden behind fixed navbars356- [ ] Responsive at 375px, 768px, 1024px, 1440px357- [ ] No horizontal scroll on mobile358359### Accessibility360- [ ] All images have alt text361- [ ] Form inputs have labels362- [ ] Color is not the only indicator363- [ ] `prefers-reduced-motion` respected364365## Example Workflow366367**User request:** "Design landing page for professional skin care service"368369### Step 1: Analyze Requirements370- Product type: Beauty/Spa service371- Style keywords: elegant, professional, soft372- Industry: Beauty/Wellness373- Stack: html-tailwind (default)374375### Step 2: Generate Design System (REQUIRED)376377```bash378python3 skills/ui-audit/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"379```380381**Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.382383### Step 3: Supplement with Detailed Searches (as needed)384385```bash386# Get UX guidelines for animation and accessibility387python3 skills/ui-audit/scripts/search.py "animation accessibility" --domain ux388389# Get alternative typography options if needed390python3 skills/ui-audit/scripts/search.py "elegant luxury serif" --domain typography391```392393### Step 4: Stack Guidelines394395```bash396python3 skills/ui-audit/scripts/search.py "layout responsive form" --stack html-tailwind397```398399**Then:** Synthesize design system + detailed searches and implement the design.400401## Output Formats402403The `--design-system` flag supports two output formats:404405```bash406# ASCII box (default) - best for terminal display407python3 skills/ui-audit/scripts/search.py "fintech crypto" --design-system408409# Markdown - best for documentation410python3 skills/ui-audit/scripts/search.py "fintech crypto" --design-system -f markdown411```412413## Tips for Better Results4144151. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"4162. **Search multiple times** - Different keywords reveal different insights4173. **Combine domains** - Style + Typography + Color = Complete design system4184. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues4195. **Use stack flag** - Get implementation-specific best practices4206. **Iterate** - If first search doesn't match, try different keywords4217. **Leverage audit mode** - Use review framework for existing interfaces4228. **Check Web Interface Guidelines** - Verify compliance with latest standards423424## Outputs / Evidence425426- Return the concrete design guidance, audit findings, or implementation patterns requested427- Include clear rendering and accessibility implications428- Note any design system constraints or Web Interface Guidelines compliance requirements that must be preserved429430## Failure / Stop Conditions431432- Stop if required context for the task is not identified433- Do not redesign the product around a different audience or business model434- Do not suggest aesthetic changes that weaken clarity, accessibility, or conversion435- Stop if review guidelines or Web Interface Standards cannot be fetched436437## Memory Hooks438439- Read memory when product, repo, or design-system history affects correctness440- Write memory only if this work establishes a durable UI audit policy or design system