Skip to main content
skill CX Codex

ux-design · mindrally — Claude Code skill: UX rules for your agent

A skill that hands your coding agent a set of UX rules, from user research to accessibility and responsive layout. Useful when you design or review an interface.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Mindrally/skills --skill ux-design -a claude-code
Open on GitHub

What ux-design does

This skill turns the agent into a UX reviewer. It carries guidelines on user research, information architecture, interaction and visual design, accessibility, performance, mobile-first layout and testing. The agent applies them when you ask it to design a screen or critique an existing one.

The practical parts are specific: semantic HTML for screen readers, WCAG 2.1 AA contrast, relative units instead of fixed pixels, CSS Grid and Flexbox, lazy loading, and watching Core Web Vitals (LCP, FID, CLS). Separate sections cover microcopy, cognitive load and emotional design.

Nothing gets installed and no checks run on their own. It is a text of rules the agent reads, so the output tracks how well you describe the task — vague prompts get generic advice back. One command adds it across six platforms, Claude, Codex and Cursor among them.

What it helps with

  • audit a screen layout and spot hierarchy problems
  • check contrast and markup against WCAG 2.1 AA
  • plan navigation and section structure
  • rewrite microcopy and button labels
  • split a long form into shorter steps

Example prompts for the agent

  • review this screen against the ux-design rules and list the issues
  • design a checkout page mobile-first
  • go through the markup and tell me where alt text and semantic tags are missing

How to install ux-design

1Skills CLI (Vercel)

npx skills add Mindrally/skills --skill ux-design -a claude-code

2Manually: put the files in place

~/.claude/skills/ux-design/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ux-design/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ux-design

How do I install ux-design in Claude?

Run npx skills add Mindrally/skills --skill ux-design -a claude-code. The skill lands in ~/.claude/skills/ux-design/SKILL.md.

What does the ux-design skill do?

It gives the agent UX guidelines: user research, information architecture, interaction and visual design, accessibility, performance, mobile-first layout, testing and documentation.

Which platforms does ux-design support?

Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Each takes its own install flag, such as -a cursor or -a gemini-cli.

Source text

SKILL.md · Apache-2.0
---
name: ux-design
description: UX design principles for creating intuitive, accessible, and user-centered digital experiences
metadata:
  maintainer: Mindrally
  source: https://github.com/Mindrally/skills
---

# UX Design Best Practices

You are an expert in UX design principles for software development. Apply these guidelines when designing or reviewing user experiences.

## User Research

- Conduct user interviews to understand needs and pain points
- Create user personas based on research data
- Map user journeys to identify opportunities
- Validate assumptions through usability testing
- Use analytics to inform design decisions

## Information Architecture

- Organize content logically to facilitate easy access
- Use clear labeling and categorization for navigation
- Implement effective search functionality
- Create sitemaps to visualize overall structure
- Conduct card sorting exercises for content organization

## Interaction Design

- Create intuitive navigation patterns users can easily follow
- Use familiar UI components to reduce cognitive load
- Provide clear calls-to-action to guide user behavior
- Implement responsive design for cross-device compatibility
- Apply animations thoughtfully to enhance rather than distract

## Visual Design

- Establish a clear visual hierarchy to guide user attention
- Choose a cohesive color palette that reflects the brand
- Leverage typography strategically for readability and emphasis
- Maintain sufficient contrast for legibility (WCAG 2.1 AA standard)
- Keep styling consistent throughout the application

## Accessibility

- Follow WCAG guidelines for web accessibility
- Use semantic HTML to enhance screen reader compatibility
- Provide alternative text for images and non-text content
- Ensure keyboard navigability for all interactive elements
- Test with various assistive technologies

## Performance Optimization

- Optimize images and assets to minimize load times
- Implement lazy loading for non-critical resources
- Use code splitting to improve initial load performance
- Monitor and optimize Core Web Vitals (LCP, FID, CLS)

## User Feedback

- Implement clear response mechanisms for user actions
- Use loading indicators for asynchronous operations
- Provide clear error messages and recovery options
- Implement analytics to track user behavior and pain points

## Mobile-First Design

- Design for mobile devices first, then scale up
- Use touch-friendly interface elements
- Implement gestures for common actions (swipe, pinch-to-zoom)
- Consider thumb zones for important interactive elements

## Consistency

- Develop and adhere to a design system
- Use consistent terminology throughout the interface
- Maintain consistent positioning of recurring elements
- Ensure visual consistency across different sections

## Testing and Iteration

- Conduct A/B testing for critical design decisions
- Use heatmaps and session recordings to analyze user behavior
- Regularly gather and incorporate user feedback
- Continuously iterate on designs based on data and feedback

## Documentation

- Maintain a comprehensive style guide
- Document design patterns and component usage
- Create user flow diagrams for complex interactions
- Keep design assets organized and accessible to the team

## Responsive Layouts

- Use relative units (%, em, rem) instead of fixed pixels
- Implement CSS Grid and Flexbox for flexible layouts
- Design mobile-first, then progressively enhance

## Content Strategy

- Write clear, concise microcopy
- Use progressive disclosure to manage complexity
- Prioritize content based on user needs
- Maintain consistent voice and tone

## Cognitive Load Management

- Reduce number of choices when possible
- Group related information together
- Use whitespace effectively
- Provide sensible defaults
- Break complex tasks into smaller steps

## Emotional Design

- Create delightful micro-interactions
- Celebrate user accomplishments
- Handle errors with empathy
- Build trust through transparency

Stay current with UX design techniques and industry standards.

© Mindrally · Apache-2.0 · Mindrally/skills

Similar skills

Everything for Design →

ux-design by other authors comes first.

From the same set168

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor