Designs intuitive interfaces for AI assistants with glass-morphism, spatial layouts, and attention management. Includes CSS color system and typography scale.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
name: ui-ux-design-expert
risk_level: MEDIUM
description: Expert in interface design, spatial layouts, glass-morphism, attention management, and creating intuitive user experiences for AI assistants
version: 1.0.0
author: JARVIS AI Assistant
tags: [design, ui, ux, interface, hud, jarvis]
Risk Level: LOW-RISK
Justification: UI/UX design produces visual assets and interface specifications without direct code execution or data processing.
You are an expert in UI/UX design for AI assistants and futuristic interfaces. You create intuitive, accessible, and visually stunning interfaces that balance aesthetics with usability.
/* JARVIS-inspired color palette */
:root {
/* Primary - Cyan accent */
--color-primary-100: #e0f7fa;
--color-primary-500: #00bcd4;
--color-primary-900: #006064;
/* Surface - Glass effect base */
--surface-glass: rgba(255, 255, 255, 0.08);
--surface-glass-hover: rgba(255, 255, 255, 0.12);
--surface-glass-active: rgba(255, 255, 255, 0.16);
/* Status colors */
--color-success: #4caf50;
--color-warning: #ff9800;
--color-error: #f44336;
--color-info: #2196f3;
/* Text */
--text-primary: rgba(255, 255, 255, 0.95);
--text-secondary: rgba(255, 255, 255, 0.7);
--text-disabled: rgba(255, 255, 255, 0.38);
}
/* Modular type scale (1.25 ratio) */
:root {
--font-size-xs: 0.64rem; /* 10.24px */
--font-size-sm: 0.8rem; /* 12.8px */
--font-size-base: 1rem; /* 16px */
--font-size-lg: 1.25rem; /* 20px */
--font-size-xl: 1.563rem; /* 25px */
--font-size-2xl: 1.953rem; /* 31.25px */
--font-size-3xl: 2.441rem; /* 39.06px */
/* Line heights */
--line-height-tight: 1.25;
--line-height-normal: 1.5;
--line-height-relaxed: 1.75;
}
/* Font families */
body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
code {
font-family: "JetBrains Mono", "Fira Code", monospace;
}
/* 8px base grid */
:root {
--space-1: 0.25rem; /* 4px */
--space-2: 0.5rem; /* 8px */
--space-3: 0.75rem; /* 12px */
--space-4: 1rem; /* 16px */
--space-5: 1.5rem; /* 24px */
--space-6: 2rem; /* 32px */
--space-8: 3rem; /* 48px */
--space-10: 4rem; /* 64px */
}
.glass-card {
/* Glass effect */
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
/* Border for definition */
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
/* Subtle shadow */
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.12),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
/* Padding */
padding: var(--space-4);
}
.glass-card:hover {
background: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.2);
}
<!-- Main HUD container -->
<div class="hud-container">
<!-- Top bar - status and controls -->
<header class="hud-header">
<div class="status-indicators">
<span class="indicator active">System Online</span>
<span class="indicator">Processing: 23%</span>
</div>
<nav class="quick-actions">
<button aria-label="Settings">⚙</button>
<button aria-label="Help">?</button>
</nav>
</header>
<!-- Main content area -->
<main class="hud-main">
<!-- Primary interaction panel -->
<section class="primary-panel">
<div class="chat-interface">
<!-- Conversation display -->
</div>
<div class="input-area">
<!-- User input -->
</div>
</section>
<!-- Side panels for context -->
<aside class="context-panel">
<div class="data-widgets">
<!-- Status widgets -->
</div>
</aside>
</main>
<!-- Bottom bar - notifications -->
<footer class="hud-footer">
<div class="notifications">
<!-- System notifications -->
</div>
</footer>
</div>
/* Priority levels through visual weight */
/* Critical - highest attention */
.priority-critical {
color: var(--color-error);
font-weight: 700;
font-size: var(--font-size-lg);
animation: pulse 1s ease-in-out infinite;
}
/* High - significant attention */
.priority-high {
color: var(--color-warning);
font-weight: 600;
font-size: var(--font-size-base);
}
/* Normal - default */
.priority-normal {
color: var(--text-primary);
font-weight: 400;
}
/* Low - reduced attention */
.priority-low {
color: var(--text-secondary);
font-size: var(--font-size-sm);
}
/* Ambient - minimal attention */
.priority-ambient {
color: var(--text-disabled);
font-size: var(--font-size-xs);
}
// Attention priority queue
interface AttentionItem {
id: string;
priority: "critical" | "high" | "normal" | "low";
content: string;
duration?: number;
}
class AttentionManager {
private queue: AttentionItem[] = [];
add(item: AttentionItem): void {
// Insert by priority
const index = this.queue.findIndex(i =>
this.getPriorityValue(i.priority) < this.getPriorityValue(item.priority)
);
if (index === -1) {
this.queue.push(item);
} else {
this.queue.splice(index, 0, item);
}
this.notify();
}
private getPriorityValue(priority: string): number {
const values = { critical: 4, high: 3, normal: 2, low: 1 };
return values[priority] || 0;
}
}
/* Mobile-first breakpoints */
:root {
--breakpoint-sm: 640px;
--breakpoint-md: 768px;
--breakpoint-lg: 1024px;
--breakpoint-xl: 1280px;
--breakpoint-2xl: 1536px;
}
/* Usage */
.container {
padding: var(--space-4);
}
@media (min-width: 768px) {
.container {
padding: var(--space-6);
}
}
@media (min-width: 1024px) {
.container {
padding: var(--space-8);
}
}
// tests/components/GlassCard.test.ts
import { describe, it, expect } from 'vitest'
import { mount } from '@vue/test-utils'
import GlassCard from '@/components/ui/GlassCard.vue'
describe('GlassCard', () => {
it('renders with default glass styling', () => {
const wrapper = mount(GlassCard)
expect(wrapper.classes()).toContain('glass-card')
})
it('applies hover state on mouse enter', async () => {
const wrapper = mount(GlassCard)
await wrapper.trigger('mouseenter')
expect(wrapper.emitted('hover')).toBeTruthy()
})
it('renders slot content correctly', () => {
const wrapper = mount(GlassCard, {
slots: { default: '<p>Test content</p>' }
})
expect(wrapper.text()).toContain('Test content')
})
it('meets accessibility requirements', () => {
const wrapper = mount(GlassCard, {
props: { role: 'region', ariaLabel: 'Card section' }
})
expect(wrapper.attributes('role')).toBe('region')
expect(wrapper.attributes('aria-label')).toBe('Card section')
})
})
<!-- components/ui/GlassCard.vue -->
<template>
<div
class="glass-card"
:role="role"
:aria-label="ariaLabel"
@mouseenter="$emit('hover', true)"
@mouseleave="$emit('hover', false)"
>
<slot />
</div>
</template>
<script setup lang="ts">
defineProps<{
role?: string
ariaLabel?: string
}>()
defineEmits<{
hover: [isHovered: boolean]
}>()
</script>
Apply glass-morphism styles, ensure spacing system compliance, add transitions.
# Run component tests
npm run test -- --filter=GlassCard
# Check accessibility
npm run test:a11y
# Visual regression test
npm run test:visual
# Build verification
npm run build
// Bad - loads all components upfront
import HeavyWidget from '@/components/HeavyWidget.vue'
import DataChart from '@/components/DataChart.vue'
// Good - lazy load off-screen components
const HeavyWidget = defineAsyncComponent(() =>
import('@/components/HeavyWidget.vue')
)
const DataChart = defineAsyncComponent({
loader: () => import('@/components/DataChart.vue'),
loadingComponent: ChartSkeleton,
delay: 200
})
<!-- Bad - unoptimized images -->
<img src="/hero.png" />
<!-- Good - optimized with lazy loading and sizing -->
<template>
<picture>
<source
srcset="/hero.avif"
type="image/avif"
/>
<source
srcset="/hero.webp"
type="image/webp"
/>
<img
src="/hero.png"
alt="Hero image"
loading="lazy"
decoding="async"
width="800"
height="600"
/>
</picture>
</template>
// Bad - all styles in one bundle
import './styles/all.css'
// Good - inline critical, defer rest
// In nuxt.config.ts
export default defineNuxtConfig({
css: ['~/assets/css/critical.css'],
app: {
head: {
link: [
{
rel: 'preload',
href: '/styles/non-critical.css',
as: 'style',
onload: "this.onload=null;this.rel='stylesheet'"
}
]
}
}
})
<!-- Bad - spinner or blank state -->
<template>
<div v-if="loading">
<Spinner />
</div>
</template>
<!-- Good - skeleton matching content shape -->
<template>
<div v-if="loading" class="skeleton-container">
<div class="skeleton skeleton-avatar" />
<div class="skeleton skeleton-text w-3/4" />
<div class="skeleton skeleton-text w-1/2" />
</div>
<div v-else>
<UserCard :user="data" />
</div>
</template>
<style scoped>
.skeleton {
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0.06) 25%,
rgba(255, 255, 255, 0.12) 50%,
rgba(255, 255, 255, 0.06) 75%
);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
border-radius: 4px;
}
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
</style>
<!-- Bad - all-or-nothing rendering -->
<template>
<ComplexAnimation v-if="supportsWebGL" />
</template>
<!-- Good - progressive enhancement -->
<template>
<div class="hero-section">
<!-- Base: works everywhere -->
<StaticHero />
<!-- Enhanced: CSS animations -->
<CSSAnimatedHero v-if="prefersMotion" />
<!-- Premium: WebGL effects -->
<WebGLHero v-if="supportsWebGL && prefersMotion" />
</div>
</template>
<script setup lang="ts">
const prefersMotion = !window.matchMedia(
'(prefers-reduced-motion: reduce)'
).matches
const supportsWebGL = (() => {
try {
const canvas = document.createElement('canvas')
return !!canvas.getContext('webgl2')
} catch {
return false
}
})()
</script>
prefers-reduced-motion preference/* Focus visible */
:focus-visible {
outline: 2px solid var(--color-primary-500);
outline-offset: 2px;
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
will-change sparingly for animations/* ❌ Too many layers */
.page {
background: rgba(255, 255, 255, 0.1);
}
.section {
background: rgba(255, 255, 255, 0.1);
}
.card {
background: rgba(255, 255, 255, 0.1);
}
/* ✅ Strategic use */
.page {
background: var(--bg-solid);
}
.card {
background: var(--surface-glass);
backdrop-filter: blur(20px);
}
/* ❌ Wasted space */
.widget {
padding: 48px;
margin: 32px;
}
/* ✅ Appropriate density */
.widget {
padding: var(--space-4);
margin: var(--space-3);
}
/* ❌ No feedback */
{data && <Content data={data} />}
/* ✅ Complete states */
{loading && <Skeleton />}
{error && <ErrorMessage error={error} />}
{data && <Content data={data} />}
{!data && !loading && !error && <EmptyState />}
Your goal is to create interfaces that are:
You understand that great UI/UX design is invisible - users accomplish their goals without friction. Balance visual appeal with usability, and always prioritize the user's needs over aesthetic trends.
Design interfaces that delight users while helping them succeed.
What SKILL.md sets; muted values are Claude Code's defaults
/martinholovsky-claude-skills-generator:ui-ux-designfrom martinholovsky-claude-skills-generator
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /martinholovsky-claude-skills-generator:ui-ux-design still runs it.
martinholovsky-claude-skills-generator@cascade-code-general-misc-2 is listed by joshuarweaver/cascade-code-general-misc-2 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-2 --plugin martinholovsky-claude-skills-generator65 skills in this plugin
/accessibility-wcagAccessibility & WCAG Compliance Skill```yaml/api-expertExpert API architect specializing in RESTful API design, GraphQL, gRPC, and API security. Deep expertise in OpenAPI 3.1, authentication patterns (OAuth2, JWT), rate limiting, pagination, and OWASP API Security Top 10. Use when designing scalable APIs, implementing API gateways, or securing API endpoints./applescriptExpert in AppleScript and JavaScript for Automation (JXA) for macOS system scripting. Specializes in secure script execution, application automation, and system integration. HIGH-RISK skill due to shell command execution and system-wide control capabilities.Other plugins' skills for the same job