Expert UI/UX design and frontend development guidance. Use when designing interfaces, creating design systems, improving user experience, implementing accessible components, or building responsive layouts. Covers WCAG compliance, design patterns, and CSS/component best practices.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: ui-ux-expert description: Expert UI/UX design and frontend development guidance. Use when designing interfaces, creating design systems, improving user experience, implementing accessible components, or building responsive layouts. Covers WCAG compliance, design patterns, and CSS/component best practices.
UI/UX Expert
Design System Tokens
/* Spacing (8px grid) */
--space-1: 4px; --space-2: 8px; --space-4: 16px; --space-6: 24px;
/* Typography */
--text-sm: 14px; --text-base: 16px; --text-lg: 18px; --text-xl: 20px;
/* Touch targets */
--touch-min: 48px; /* Android */
--touch-min-ios: 44px; /* iOS */
Accessibility (WCAG 2.1 AA)
| Element | Contrast Ratio |
|---|---|
| Normal text | 4.5:1 |
| Large text (>=18px) | 3:1 |
| UI components | 3:1 |
Requirements:
- All buttons: semantic labels/tooltips
- All images: alt text or decorative marker
- Touch targets: 48x48 minimum
- Focus: visible indicators
- Motion: respect prefers-reduced-motion
Responsive Breakpoints
--bp-sm: 640px; /* Tablets */
--bp-md: 768px; /* Small laptops */
--bp-lg: 1024px; /* Desktops */
--bp-xl: 1280px; /* Large screens */
Component Patterns
Buttons
- Primary, Secondary, Ghost, Danger variants
- sm/md/lg sizes
- Loading state with spinner
- Disabled state at 50% opacity
Forms
- Labels above inputs
- 16px font (prevents iOS zoom)
- Visible focus ring
- Inline validation errors
Cards
- Elevated (shadow), Outlined, Filled variants
- Consistent padding (16px or 24px)
- Clear visual hierarchy
Animation
--duration-fast: 150ms;
--duration-normal: 200ms;
--ease-out: cubic-bezier(0, 0, 0.2, 1);
/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
* { animation-duration: 0.01ms !important; }
}
UX Heuristics
- System status visibility (loading states)
- Match real world (familiar language)
- User control (undo, cancel options)
- Consistency (follow platform conventions)
- Error prevention (confirmations, constraints)
- Recognition over recall (visible options)
More by abbas133
View allExpert Supabase integration for Flutter. Use when working with Supabase auth, database queries, realtime subscriptions, storage, edge functions, or RLS policies. Covers supabase_flutter package patterns.
Expert Flutter/Dart guidance. Use when working with Flutter projects, implementing BLoC/Riverpod patterns, writing Dart code, optimizing performance, or following Clean Architecture. Provides architecture patterns, widget best practices, and testing strategies.
Expert Firebase integration for Flutter. Use when working with Firebase Auth, Firestore, Cloud Storage, Cloud Messaging (FCM), Analytics, Crashlytics, or Remote Config. Covers FlutterFire packages and best practices.
Complete Eisaal Sanctuary design system including Karbala shrine-inspired color palette, typography, spacing tokens, glassmorphic effects, and animation patterns. Use for any UI work.
