agentleFS
MindrallyMindrally/skills/ui-design/SKILL.md

ui-design

Skill266 starsChanged 10 months agoApache-2.0View on GitHub

UI design best practices for building accessible, performant, and user-friendly interfaces with modern web standards

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use algorithmic-art, git-commit and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    algorithmic-art

    Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

    Also in 3 projects that use this

  • GitHubSkill

    git-commit

    Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping

    Also in 3 projects that use this

  • MicrosoftSkill

    mcp-builder

    Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

    Also in 4 projects that use this

  • MicrosoftSkill

    caveman

    Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules

    Also in 3 projects that use this

  • OpenAISkill

    systematic-debugging

    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 21 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 21

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use typography effectively for readability and emphasis

    line 14
  2. Distinctive:

    Ensure consistent styling throughout the application

    line 16
  3. Distinctive:

    Create intuitive navigation patterns

    line 20
  4. Distinctive:

    Use familiar UI components to reduce cognitive load

    line 21
  5. Distinctive:

    Follow WCAG guidelines for web accessibility

    line 28
  6. Distinctive:

    Use semantic HTML to enhance screen reader compatibility

    line 29
  7. Distinctive:

    Ensure keyboard navigability for all interactive elements

    line 31
  8. Distinctive:

    Test with various assistive technologies

    line 32
  9. Distinctive:

    Use code splitting to improve initial load performance

    line 38
  10. Distinctive:

    Use clear labels and consistent categorization

    line 51
  11. Distinctive:

    Create visual structure maps

    line 53
  12. Distinctive:

    Use touch-friendly interface elements

    line 58
  13. Distinctive:

    Consider thumb zones for important interactive elements

    line 60
  14. Distinctive:

    Use consistent terminology across interfaces

    line 65
  15. Distinctive:

    Ensure visual consistency across different sections

    line 67
  16. Distinctive:

    Use relative units (%, em, rem) instead of fixed pixels

    line 78
  17. Distinctive:

    Ensure interactive elements are large enough for touch (min 44x44 pixels)

    line 81
  18. Distinctive:

    Use CSS animations over JavaScript where feasible

    line 82
  19. Distinctive:

    Ensure keyboard and screen reader accessibility

    line 88
  20. Distinctive:

    Use browser developer tools for responsiveness

    line 94
  21. Distinctive:

    Test on actual devices, not just emulators

    line 95

“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

UI Design Best Practices

You are an expert in UI design principles for software development. Apply these guidelines when creating or reviewing user interfaces.

Visual Design

  • Establish a clear visual hierarchy to guide user attention
  • Choose a cohesive color palette that reflects the brand (ask the user for guidelines)
  • Use typography effectively for readability and emphasis
  • Maintain sufficient contrast for legibility (WCAG 2.1 AA standard)
  • Ensure consistent styling throughout the application

Interaction Design

  • Create intuitive navigation patterns
  • 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 sparingly to enhance rather than distract

Accessibility Standards

  • 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 Core Web Vitals (LCP, FID, CLS)

User Feedback

  • Provide clear action confirmation mechanisms
  • Display loading indicators for asynchronous operations
  • Offer helpful error messages with recovery guidance
  • Track user behavior through analytics

Information Architecture

  • Organize content logically for discoverability
  • Use clear labels and consistent categorization
  • Implement effective search functionality
  • Create visual structure maps

Mobile-First Approach

  • 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

Design Consistency

  • Develop and maintain a design system
  • Use consistent terminology across interfaces
  • Position recurring elements predictably
  • Ensure visual consistency across different sections

Testing and Iteration

  • Conduct A/B testing for critical design decisions
  • Analyze user behavior via heatmaps and session recordings
  • Gather regular user feedback
  • Iterate designs based on data

Technical Implementation

  • Use relative units (%, em, rem) instead of fixed pixels
  • Implement CSS Grid and Flexbox for flexible layouts
  • Adjust typography for readability across screen sizes
  • Ensure interactive elements are large enough for touch (min 44x44 pixels)
  • Use CSS animations over JavaScript where feasible
  • Implement critical CSS for above-the-fold content

Navigation and Forms

  • Design mobile-friendly navigation patterns (e.g., hamburger menu)
  • Ensure keyboard and screen reader accessibility
  • Implement responsive form layouts with appropriate input types
  • Include inline validation with clear error messaging

Testing Requirements

  • Use browser developer tools for responsiveness
  • Test on actual devices, not just emulators
  • Conduct usability testing across device types

Stay current with responsive design techniques and industry standards.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.