Overview
The role-ui-ux-designer skill roots every interface in named design tokens, a legible type scale, and WCAG AA contrast; decorative gradients, emoji punctuation, and dead-click controls are deleted by default.
The UI/UX designer operates through purposeful typography scales, cohesive color palettes, strict button ergonomics (zero dead clicks), semantic vector iconography, and spring-physics micro-interactions running smoothly at 60 FPS.
When to Use
- When architecting end-to-end design systems, component libraries, or CSS token architectures (
:root variables).
- When styling web applications, dashboards, consoles, SaaS landing pages, or mobile-first interfaces.
- When eliminating AI slop, unearned gradients, and centered generic cards in existing frontends.
- When crafting fluid micro-interactions, layout transitions, and tactile hover/press states.
- When enforcing WCAG accessibility compliance (text contrast >= 4.5:1, visible focus rings, ARIA landmarks).
- When designing responsive layouts across breakpoints (375px mobile to 1440px desktop) with zero horizontal overflow.
When NOT to Use
- When writing backend server endpoints or database migrations (use
development/role-software-engineer).
- When setting up CI/CD pipelines, container orchestration, or cloud hosting (use
devops/role-devops-sre-engineer).
- When conducting penetration testing or web vulnerability exploitation (use
cybersecurity/role-penetration-tester).
- When orchestrating product roadmaps, user stories, or PRDs (use
operations/role-product-manager).
Deterministic Dispatch Matrix
| UI/UX Objective / Design Challenge |
Delegated Child Skill |
Primary Design Artifact |
| Full-lifecycle design OS, 24 commands (craft, critique, audit, polish, shape), 4 surface modes |
content/impeccable |
Production interface with PRODUCT.md & DESIGN.md artifacts |
| Anti-AI-slop design floor, dealt visual direction, distinctive styling |
content/hallmark |
Production stylesheet adhering to the strict anti-slop floor |
| Comprehensive UI/UX design standards, 50+ styles, 192 product palettes |
content/ui-ux-pro-max |
High-fidelity interface design tokens and component specs |
| Distinctive layout composition, image-to-code pipelines, typography |
content/anti-slop-frontend |
Styled component templates countering generic AI boilerplate |
| Tailwind mastery, layout grids, spacing rules, and surface archetypes |
content/frontend-design |
Clean, responsive Tailwind CSS layouts with zero dead clicks |
| Tactile micro-interactions, layout motion, spring physics, and polish |
content/emil-design-skills |
High-precision motion tokens with cubic-bezier easing curves |
| Semantic CSS custom properties, color systems, and token definitions |
content/design-tokens |
Complete design token dictionary (tokens.css or theme schema) |
| Fluid viewport layouts, container queries, mobile touch target sizes |
content/responsive-design |
Responsive media query systems without horizontal overflow |
Workflow
Phase 1: Surface Archetype & Design Token Setup
- Commit explicitly to the interface archetype:
- MONITOR: High density, status indicators, monospace telemetry data, tabular alignment (dashboards).
- OPERATE: Action affordances, clear selection state, clean data tables (admin consoles, queues).
- COMPARE: Aligned columns, parity of structure, one highlighted tier (pricing tables).
- DECIDE / LEARN: Hero allowed, single primary proposition, linear narrative (landing pages, documentation).
- Dispatch to
content/design-tokens and content/ui-ux-pro-max to define semantic color tokens, font families, and radius scales at :root.
- Never use raw hex values or arbitrary utility colors past the token definitions.
Phase 2: Anti-Slop Composition & Typography Discipline
- Apply
content/hallmark and content/anti-slop-frontend invariants:
- Ban purple-to-cyan or violet-to-blue linear gradients on buttons, text, and card borders.
- Ban centered 3-card hero stacks; left-align copy and hierarchy naturally.
- Ban emojis in UI copy, buttons, badges, and headers; use crisp SVG vector icons exclusively.
- Establish a clear typographical hierarchy: primary display font paired with high-legibility UI sans, and monospace for numerical/telemetry data.
Phase 3: Layout Construction & Component Ergonomics
- Scaffold layouts using
content/frontend-design with disciplined flexbox and CSS grid structures.
- Build interactive components with complete state coverage: default, hover glow (<= 14px), active press (
scale(0.98)), focus-visible ring, disabled (opacity 0.5), and loading state.
- Ensure all interactive targets meet minimum size constraints (desktop >= 36px height, mobile touch targets >= 44x44px with >= 8px physical separation).
Phase 4: Motion Craft & Micro-Interactions
- Dispatch to
content/emil-design-skills to configure tactile interaction motion.
- Enforce motion rules:
- Never use
transition: all.
- Never animate layout properties (
width, height, top, left); animate transform and opacity only.
- Use high-precision easing curves:
cubic-bezier(0.16, 1, 0.3, 1) or spring dynamics (150-300ms duration).
- Respect accessibility settings via
@media (prefers-reduced-motion: reduce).
Phase 5: Responsive Auditing & Accessibility Verification
- Test viewports across 375px (mobile), 768px (tablet), 1024px (laptop), and 1440px (desktop) via
content/responsive-design.
- Verify zero horizontal overflow on small viewports (
overflow-x: hidden is not a substitute for proper flex wrapping).
- Measure WCAG 2.1 AA contrast ratios (>= 4.5:1 for normal text, >= 3:1 for large text and interactive boundaries).
- Verify visible 2-3px focus rings on all keyboard interactive elements.
Anti-Rationalization Table
| Design Excuse |
Flawed Rationalization |
Required UI/UX Design Discipline |
| "Adding a colorful gradient makes the app look modern" |
"Users love vibrant purple-cyan glow effects." |
Gradients without functional hierarchy scream low-effort AI slop. Ground designs in disciplined, high-contrast monochrome or calibrated palettes. |
| "Emojis make buttons friendly and approachable" |
"A rocket emoji (🚀) increases click-through rates." |
Emojis degrade enterprise brand integrity and render inconsistently across operating systems. Use crisp, monochrome SVG icons. |
| "Centered layout looks balanced on all screen sizes" |
"Center-aligning everything makes mobile responsive trivial." |
Center-stacked dashboards make data unreadable. Left-align content naturally with tabular alignment for data. |
| "A 100px floating blur orb creates glassmorphism depth" |
"Apple uses blurred glass effects everywhere." |
Heavy backdrop blurs degrade frame rates on mobile GPUs and obscure content legibility. Use 1px crisp borders with subtle surface tints. |
| "transition: all is convenient and animates everything" |
"It ensures any property change animates smoothly." |
transition: all triggers expensive layout reflows and accidental property jumps. Explicitly declare transition: transform 180ms ease, opacity 180ms ease. |
Implementation Examples
Anti-Slop Design Token & Button System (CSS)
:root {
/* Surface Archetype: Linear Dark */
--bg-canvas: #090a0f;
--bg-surface: #11131a;
--bg-surface-raised: #181b24;
--border-subtle: rgba(255, 255, 255, 0.08);
--border-strong: rgba(255, 255, 255, 0.16);
/* Text & Accent Tokens */
--text-primary: #f0f2f5;
--text-muted: #8b92a5;
--accent-brand: #3b82f6;
--accent-brand-hover: #2563eb;
/* Motion Tokens */
--ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
--duration-fast: 150ms;
}
/* Ergonomic, Accessible Button */
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 2.25rem; /* 36px */
padding: 0 1rem;
border-radius: 6px;
background-color: var(--accent-brand);
color: #ffffff;
font-family: inherit;
font-size: 0.875rem;
font-weight: 500;
border: 1px solid transparent;
cursor: pointer;
transition: transform var(--duration-fast) var(--ease-spring),
background-color var(--duration-fast) ease,
box-shadow var(--duration-fast) ease;
}
.btn-primary:hover {
background-color: var(--accent-brand-hover);
box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}
.btn-primary:active {
transform: scale(0.98);
}
.btn-primary:focus-visible {
outline: 2px solid #ffffff;
outline-offset: 2px;
}
.btn-primary:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
Contrast & Token Verification Runner (Python)
import re
def verify_stylesheet_tokens(css_content: str):
"""Verifies that stylesheet adheres to anti-slop token rules and bans transition: all."""
# Check for transition: all
if "transition: all" in css_content or "transition:all" in css_content:
raise ValueError("SLOP DETECTED: 'transition: all' is strictly banned.")
# Check for banned AI gradient slop
banned_gradient_patterns = [
r"from-purple-\d+.*to-cyan-\d+",
r"from-violet-\d+.*to-blue-\d+",
r"linear-gradient\(.*#8b5cf6.*#06b6d4.*\)"
]
for pattern in banned_gradient_patterns:
if re.search(pattern, css_content, re.IGNORECASE):
raise ValueError(f"SLOP DETECTED: Banned AI gradient detected ({pattern}).")
print("SUCCESS: Stylesheet passed all Anti-Slop token and motion checks.")
if __name__ == "__main__":
sample_css = """
:root { --accent: #3b82f6; }
.card { transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), opacity 150ms ease; }
"""
verify_stylesheet_tokens(sample_css)
Verification Checklist
npm install -g cli-tool
1---2name: role-ui-ux-designer3description: Use when orchestrating UI/UX design systems, anti-AI-slop frontend styling,4 tactile micro-interactions, responsive design tokens, accessibility standards, and5 high-fidelity interface engineering.6domain: content7author: oyi778version: 1.0.09category: content10tags:11- ui12- ux13- design-systems14- anti-slop15- frontend16license: MIT17subdomain: ui-ux-design18triggers:19- ui ux designer role20- design system21- anti ai slop22- design tokens23- micro interactions24- wcag contrast fix25- responsive layout26- typography scale27- component library28- accessible components29metadata:30 source: https://skillmd.com/skills/oyi77/role-ui-ux-designer31---3233## Overview3435The `role-ui-ux-designer` skill roots every interface in named design tokens, a legible type scale, and WCAG AA contrast; decorative gradients, emoji punctuation, and dead-click controls are deleted by default.3637The UI/UX designer operates through purposeful typography scales, cohesive color palettes, strict button ergonomics (zero dead clicks), semantic vector iconography, and spring-physics micro-interactions running smoothly at 60 FPS.3839## When to Use4041- When architecting end-to-end design systems, component libraries, or CSS token architectures (`:root` variables).42- When styling web applications, dashboards, consoles, SaaS landing pages, or mobile-first interfaces.43- When eliminating AI slop, unearned gradients, and centered generic cards in existing frontends.44- When crafting fluid micro-interactions, layout transitions, and tactile hover/press states.45- When enforcing WCAG accessibility compliance (text contrast >= 4.5:1, visible focus rings, ARIA landmarks).46- When designing responsive layouts across breakpoints (375px mobile to 1440px desktop) with zero horizontal overflow.4748## When NOT to Use4950- When writing backend server endpoints or database migrations (use `development/role-software-engineer`).51- When setting up CI/CD pipelines, container orchestration, or cloud hosting (use `devops/role-devops-sre-engineer`).52- When conducting penetration testing or web vulnerability exploitation (use `cybersecurity/role-penetration-tester`).53- When orchestrating product roadmaps, user stories, or PRDs (use `operations/role-product-manager`).5455## Deterministic Dispatch Matrix5657| UI/UX Objective / Design Challenge | Delegated Child Skill | Primary Design Artifact |58|---|---|---|59| Full-lifecycle design OS, 24 commands (craft, critique, audit, polish, shape), 4 surface modes | `content/impeccable` | Production interface with PRODUCT.md & DESIGN.md artifacts |60| Anti-AI-slop design floor, dealt visual direction, distinctive styling | `content/hallmark` | Production stylesheet adhering to the strict anti-slop floor |61| Comprehensive UI/UX design standards, 50+ styles, 192 product palettes | `content/ui-ux-pro-max` | High-fidelity interface design tokens and component specs |62| Distinctive layout composition, image-to-code pipelines, typography | `content/anti-slop-frontend` | Styled component templates countering generic AI boilerplate |63| Tailwind mastery, layout grids, spacing rules, and surface archetypes | `content/frontend-design` | Clean, responsive Tailwind CSS layouts with zero dead clicks |64| Tactile micro-interactions, layout motion, spring physics, and polish | `content/emil-design-skills` | High-precision motion tokens with cubic-bezier easing curves |65| Semantic CSS custom properties, color systems, and token definitions | `content/design-tokens` | Complete design token dictionary (`tokens.css` or theme schema) |66| Fluid viewport layouts, container queries, mobile touch target sizes | `content/responsive-design` | Responsive media query systems without horizontal overflow |6768## Workflow6970### Phase 1: Surface Archetype & Design Token Setup71721. Commit explicitly to the interface archetype:73 - **MONITOR**: High density, status indicators, monospace telemetry data, tabular alignment (dashboards).74 - **OPERATE**: Action affordances, clear selection state, clean data tables (admin consoles, queues).75 - **COMPARE**: Aligned columns, parity of structure, one highlighted tier (pricing tables).76 - **DECIDE / LEARN**: Hero allowed, single primary proposition, linear narrative (landing pages, documentation).772. Dispatch to `content/design-tokens` and `content/ui-ux-pro-max` to define semantic color tokens, font families, and radius scales at `:root`.783. Never use raw hex values or arbitrary utility colors past the token definitions.7980### Phase 2: Anti-Slop Composition & Typography Discipline81821. Apply `content/hallmark` and `content/anti-slop-frontend` invariants:83 - Ban purple-to-cyan or violet-to-blue linear gradients on buttons, text, and card borders.84 - Ban centered 3-card hero stacks; left-align copy and hierarchy naturally.85 - Ban emojis in UI copy, buttons, badges, and headers; use crisp SVG vector icons exclusively.862. Establish a clear typographical hierarchy: primary display font paired with high-legibility UI sans, and monospace for numerical/telemetry data.8788### Phase 3: Layout Construction & Component Ergonomics89901. Scaffold layouts using `content/frontend-design` with disciplined flexbox and CSS grid structures.912. Build interactive components with complete state coverage: default, hover glow (<= 14px), active press (`scale(0.98)`), focus-visible ring, disabled (opacity 0.5), and loading state.923. Ensure all interactive targets meet minimum size constraints (desktop >= 36px height, mobile touch targets >= 44x44px with >= 8px physical separation).9394### Phase 4: Motion Craft & Micro-Interactions95961. Dispatch to `content/emil-design-skills` to configure tactile interaction motion.972. Enforce motion rules:98 - Never use `transition: all`.99 - Never animate layout properties (`width`, `height`, `top`, `left`); animate `transform` and `opacity` only.100 - Use high-precision easing curves: `cubic-bezier(0.16, 1, 0.3, 1)` or spring dynamics (150-300ms duration).1013. Respect accessibility settings via `@media (prefers-reduced-motion: reduce)`.102103### Phase 5: Responsive Auditing & Accessibility Verification1041051. Test viewports across 375px (mobile), 768px (tablet), 1024px (laptop), and 1440px (desktop) via `content/responsive-design`.1062. Verify zero horizontal overflow on small viewports (`overflow-x: hidden` is not a substitute for proper flex wrapping).1073. Measure WCAG 2.1 AA contrast ratios (>= 4.5:1 for normal text, >= 3:1 for large text and interactive boundaries).1084. Verify visible 2-3px focus rings on all keyboard interactive elements.109110## Anti-Rationalization Table111112| Design Excuse | Flawed Rationalization | Required UI/UX Design Discipline |113|---|---|---|114| "Adding a colorful gradient makes the app look modern" | "Users love vibrant purple-cyan glow effects." | Gradients without functional hierarchy scream low-effort AI slop. Ground designs in disciplined, high-contrast monochrome or calibrated palettes. |115| "Emojis make buttons friendly and approachable" | "A rocket emoji (🚀) increases click-through rates." | Emojis degrade enterprise brand integrity and render inconsistently across operating systems. Use crisp, monochrome SVG icons. |116| "Centered layout looks balanced on all screen sizes" | "Center-aligning everything makes mobile responsive trivial." | Center-stacked dashboards make data unreadable. Left-align content naturally with tabular alignment for data. |117| "A 100px floating blur orb creates glassmorphism depth" | "Apple uses blurred glass effects everywhere." | Heavy backdrop blurs degrade frame rates on mobile GPUs and obscure content legibility. Use 1px crisp borders with subtle surface tints. |118| "transition: all is convenient and animates everything" | "It ensures any property change animates smoothly." | `transition: all` triggers expensive layout reflows and accidental property jumps. Explicitly declare `transition: transform 180ms ease, opacity 180ms ease`. |119120## Implementation Examples121122### Anti-Slop Design Token & Button System (CSS)123124```css125:root {126 /* Surface Archetype: Linear Dark */127 --bg-canvas: #090a0f;128 --bg-surface: #11131a;129 --bg-surface-raised: #181b24;130 --border-subtle: rgba(255, 255, 255, 0.08);131 --border-strong: rgba(255, 255, 255, 0.16);132 133 /* Text & Accent Tokens */134 --text-primary: #f0f2f5;135 --text-muted: #8b92a5;136 --accent-brand: #3b82f6;137 --accent-brand-hover: #2563eb;138 139 /* Motion Tokens */140 --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);141 --duration-fast: 150ms;142}143144/* Ergonomic, Accessible Button */145.btn-primary {146 display: inline-flex;147 align-items: center;148 justify-content: center;149 gap: 0.5rem;150 min-height: 2.25rem; /* 36px */151 padding: 0 1rem;152 border-radius: 6px;153 background-color: var(--accent-brand);154 color: #ffffff;155 font-family: inherit;156 font-size: 0.875rem;157 font-weight: 500;158 border: 1px solid transparent;159 cursor: pointer;160 transition: transform var(--duration-fast) var(--ease-spring),161 background-color var(--duration-fast) ease,162 box-shadow var(--duration-fast) ease;163}164165.btn-primary:hover {166 background-color: var(--accent-brand-hover);167 box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);168}169170.btn-primary:active {171 transform: scale(0.98);172}173174.btn-primary:focus-visible {175 outline: 2px solid #ffffff;176 outline-offset: 2px;177}178179.btn-primary:disabled {180 opacity: 0.5;181 cursor: not-allowed;182 transform: none;183 box-shadow: none;184}185```186187### Contrast & Token Verification Runner (Python)188189```python190import re191192def verify_stylesheet_tokens(css_content: str):193 """Verifies that stylesheet adheres to anti-slop token rules and bans transition: all."""194 # Check for transition: all195 if "transition: all" in css_content or "transition:all" in css_content:196 raise ValueError("SLOP DETECTED: 'transition: all' is strictly banned.")197 198 # Check for banned AI gradient slop199 banned_gradient_patterns = [200 r"from-purple-\d+.*to-cyan-\d+",201 r"from-violet-\d+.*to-blue-\d+",202 r"linear-gradient\(.*#8b5cf6.*#06b6d4.*\)"203 ]204 for pattern in banned_gradient_patterns:205 if re.search(pattern, css_content, re.IGNORECASE):206 raise ValueError(f"SLOP DETECTED: Banned AI gradient detected ({pattern}).")207 208 print("SUCCESS: Stylesheet passed all Anti-Slop token and motion checks.")209210if __name__ == "__main__":211 sample_css = """212 :root { --accent: #3b82f6; }213 .card { transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), opacity 150ms ease; }214 """215 verify_stylesheet_tokens(sample_css)216```217218## Verification Checklist219220- [ ] All colors and font declarations reference `:root` tokens or theme variables.221- [ ] No `transition: all` used anywhere; layout dimensions (`width`, `height`) are not animated.222- [ ] Banned AI-slop gradients (purple-cyan, violet-blue linear meshes) completely eliminated.223- [ ] Interactive buttons meet minimum touch target standards (36px desktop, 44px mobile).224- [ ] Text contrast meets or exceeds WCAG 2.1 AA (>= 4.5:1 text, >= 3:1 boundaries).225- [ ] Visible focus rings present on all interactive elements during keyboard navigation.226- [ ] Zero emoji in UI copy, badges, or buttons; crisp SVG icons used exclusively.227- [ ] Mobile responsive layout displays cleanly across 375px-1440px with zero horizontal scroll.228229`npm install -g cli-tool`