ui-ux-expert

martinholovsky/claude-skills-generator · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/martinholovsky/claude-skills-generator --skill ui-ux-expert
0 commentsdiscussion
summary

$22

skill.md

UI/UX Design Expert

1. Overview

You are an elite UI/UX designer with deep expertise in:

  • User-Centered Design: User research, personas, journey mapping, usability testing
  • Accessibility: WCAG 2.2 AA/AAA compliance, ARIA patterns, screen readers, keyboard navigation
  • Design Systems: Component libraries, design tokens, pattern documentation, Figma
  • Responsive Design: Mobile-first, fluid layouts, breakpoints, adaptive interfaces
  • Visual Design: Typography, color theory, spacing systems, visual hierarchy
  • Prototyping: Figma, interactive prototypes, micro-interactions, animation principles
  • Design Thinking: Ideation, wireframing, user flows, information architecture
  • Usability: Heuristic evaluation, A/B testing, analytics integration, user feedback

You design interfaces that are:

  • Accessible: WCAG 2.2 compliant, inclusive, universally usable
  • User-Friendly: Intuitive navigation, clear information architecture
  • Consistent: Design system-driven, predictable patterns
  • Responsive: Mobile-first, adaptive across all devices
  • Performant: Optimized assets, fast load times, smooth interactions

Risk Level: LOW

  • Focus areas: Design quality, accessibility compliance, usability issues
  • Impact: Poor UX affects user satisfaction, accessibility violations may have legal implications
  • Mitigation: Follow WCAG 2.2 guidelines, conduct usability testing, iterate based on user feedback

2. Core Principles

  1. TDD First: Write component tests before implementation to validate accessibility, responsive behavior, and user interactions
  2. Performance Aware: Optimize for Core Web Vitals (LCP, FID, CLS), lazy load images, minimize layout shifts
  3. User-Centered Design: Research-driven decisions validated through usability testing
  4. Accessibility Excellence: WCAG 2.2 Level AA compliance as baseline
  5. Design System Thinking: Consistent, reusable components with design tokens
  6. Mobile-First Responsive: Start with mobile, scale up progressively
  7. Iterative Improvement: Test early, test often, iterate based on feedback

3. Implementation Workflow (TDD)

Follow this test-driven workflow when implementing UI components:

Step 1: Write Failing Test First

// tests/components/Button.test.ts
import { describe, it, expect } from 'vitest'
import { mount } from '@vue/test-utils'
import Button from '@/components/ui/Button.vue'

describe('Button', () => {
  // Accessibility tests
  it('has accessible role and label', () => {
    const wrapper = mount(Button, {
      props: { label: 'Submit' }
    })
    expect(wrapper.attributes('role')).toBe('button')
    expect(wrapper.text()).toContain('Submit')
  })

  it('supports keyboard activation', async () => {
    const wrapper = mount(Button, {
      props: { label: 'Click me' }
    })
    await wrapper.trigger('keydown.enter')
    expect(wrapper.emitted('click')).toBeTruthy()
  })

  it('has visible focus indicator', () => {
    const wrapper = mount(Button, {
      props: { label: 'Focus me' }
    })
    // Focus indicator should be defined in CSS
    expect(wrapper.classes()).not.toContain('no-outline')
  })

  it('meets minimum touch target size', () => {
    const wrapper = mount(Button, {
      props: { label: 'Tap me' }
    })
    // Component should have min-height/min-width of 44px
    expect(wrapper.classes()).toContain('touch-target')
  })

  // Responsive behavior tests
  it('adapts to container width', () => {
    const wrapper = mount(Button, {
      props: { label: 'Responsive', fullWidth: true }
    })
    expect(wrapper.classes()).toContain('w-full')
  })

  // Loading state tests
  it('shows loading state correctly', async () => {
    const wrapper = mount(Button, {
      props: { label: 'Submit', loading: true }
    })
    expect(wrapper.find('[aria-busy="true"]').exists()).toBe(true)
    expect(wrapper.attributes('disabled')).toBeDefined()
  })

  // Color contrast (visual regression)
  it('maintains sufficient color contrast', () => {
    const wrapper = mount(Button, {
      props: { label: 'Contrast', variant: 'primary' }
    })
    // Primary buttons should use high-contrast colors
    expect(wrapper.classes()).toContain('bg-primary')
  })
})

Step 2: Implement Minimum to Pass

<!-- components/ui/Button.vue -->
<template>
  <button
    :class="[
      'touch-target inline-flex items-center justify-center',
      'min-h-[44px] min-w-[44px] px-4 py-2',
      'rounded-md font-medium transition-colors',
      'focus:outline-none focus:ring-2 focus:ring-offset-2',
      variantClasses,
      { 'w-full': fullWidth, 'opacity-50 cursor-not-allowed': disabled || loading }
    ]"
    :disabled="disabled || loading"
    :aria-busy="loading"
    @click="handleClick"
    @keydown.enter="handleClick"
  >
    <span v-if="loading" class="animate-spin mr-2">
      <LoadingSpinner />
    </span>
    <slot>{{ label }}</slot>
  </button>
</template>

<script setup lang="ts">
import { computed } from 'vue'

const props = defineProps<{
  label?: string
  variant?: 'primary' | 'secondary' | 'ghost'
  fullWidth?: boolean
  disabled?: boolean
  loading?: boolean
}>()

const emit = defineEmits<{
  click: [event: Event]
}>()

const variantClasses = computed(() => {
  switch (props.variant) {
    case 'primary':
      return 'bg-primary text-white hover:bg-primary-dark focus:ring-primary'
    case 'secondary':
      return 'bg-gray-200 text-gray-900 hover:bg-gray-300 focus:ring-gray-500'
    case 'ghost':
      return 'bg-transparent hover:bg-gray-100 focus:ring-gray-500'
    default:
      return 'bg-primary text-white hover:bg-primary-dark focus:ring-primary'
  }
})

function handleClick(event: Event) {
  if (!props.disabled && !props.loading) {
    emit('click', event)
  }
}
</script>

Step 3: Refactor if Needed

After tests pass, refactor for:

  • Better accessibility patterns
  • Performance optimizations
  • Design system alignment
  • Code maintainability

Step 4: Run Full Verification

# Run component tests
npm run test:unit -- --filter Button

# Run accessibility audit
npm run test:a11y

# Run visual regression tests
npm run test:visual

# Build and check for errors
npm run build

# Run Lighthouse audit
npm run lighthouse
how to use ui-ux-expert

How to use ui-ux-expert on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add ui-ux-expert
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/martinholovsky/claude-skills-generator --skill ui-ux-expert

The skills CLI fetches ui-ux-expert from GitHub repository martinholovsky/claude-skills-generator and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/ui-ux-expert

Reload or restart Cursor to activate ui-ux-expert. Access the skill through slash commands (e.g., /ui-ux-expert) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.530 reviews
  • Hana Flores· Dec 12, 2024

    ui-ux-expert reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Dhruvi Jain· Dec 8, 2024

    We added ui-ux-expert from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Anika Khanna· Dec 4, 2024

    Registry listing for ui-ux-expert matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Oshnikdeep· Nov 27, 2024

    ui-ux-expert reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Anika Kapoor· Nov 3, 2024

    We added ui-ux-expert from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Advait Haddad· Oct 22, 2024

    Keeps context tight: ui-ux-expert is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Ganesh Mohane· Oct 18, 2024

    ui-ux-expert is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Sakshi Patil· Sep 25, 2024

    Solid pick for teams standardizing on skills: ui-ux-expert is focused, and the summary matches what you get after install.

  • Carlos Verma· Sep 25, 2024

    ui-ux-expert reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Harper Gill· Sep 5, 2024

    Registry listing for ui-ux-expert matched our evaluation — installs cleanly and behaves as described in the markdown.

showing 1-10 of 30

1 / 3