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

ui-design

Skill275 starsChanged 53 days agoApache-2.0View on GitHub

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

78 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use harness-design, icon-design and 6 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.
  • VictoriakaeySkill

    harness-design

    Use when designing or improving the action space, observation format, tool boundaries, and evaluation signals of an LLM agent. Covers the five layers of harness design: what tools the agent has, what it sees after acting, how each tool is scoped, how behavior is evaluated, and how to iterate when the agent misbehaves. Prevents the most common harness failures — agents that pick wrong tools, ignore critical information, or loop without progress.

    Also in 4 projects that use this

  • ArnavPuriSkill

    icon-design

    Design and implement consistent SVG icon systems for UI: keyline grids, stroke rules, optical corrections, outline/filled/duotone styles, icon+text alignment, animation, and accessible markup. Use for UI icons in code; for a logo mark use brand-identity, for illustrations use image-generation. Trigger phrases: "icon design", "svg icon", "icon system", "custom icons", "icon animation", "icon grid", "icon accessibility", "duotone icon", "icon set", "animated icon"

    Also in 3 projects that use this

  • travisjneumanSkill

    graphic-design

    Professional graphic design principles for digital and print media. Use when creating visual designs, choosing color palettes, typography, layouts, or providing design feedback.

    Also in 3 projects that use this

  • soilmassSkill

    typography

    Typography and kinetic text animations including character reveals, typewriter effects, scramble/decode, wave motion, and animated gradients. Use when creating text reveals, headline animations, number counters, or any text-based motion effects.

    Also in 3 projects that use this

  • jarosser06Skill

    test-strategy

    Plans pytest test strategies for Drift's 90%+ coverage requirement using coverage analysis, edge case identification, and test suite design. Use when determining what tests to write, analyzing coverage gaps, or planning test strategies.

    Also in 4 projects that use this

  • MicrosoftSkill

    pull-request

    Write concise, focused pull request descriptions for Wassette — at most three sentences on the what and why, with an explicit note on any breaking public-API change and how users adapt. Use when opening or editing a Wassette pull request.

    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 66 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 17
  2. Distinctive:

    Ensure consistent styling throughout the application

    line 19
  3. Distinctive:

    Create intuitive navigation patterns

    line 23
  4. Distinctive:

    Use familiar UI components to reduce cognitive load

    line 24
  5. Distinctive:

    Follow WCAG guidelines for web accessibility

    line 31
  6. Distinctive:

    Use semantic HTML to enhance screen reader compatibility

    line 32
  7. Distinctive:

    Ensure keyboard navigability for all interactive elements

    line 34
  8. Distinctive:

    Test with various assistive technologies

    line 35
  9. Distinctive:

    Use code splitting to improve initial load performance

    line 41
  10. Distinctive:

    Use clear labels and consistent categorization

    line 54
  11. Distinctive:

    Create visual structure maps

    line 56
  12. Distinctive:

    Use touch-friendly interface elements

    line 61
  13. Distinctive:

    Consider thumb zones for important interactive elements

    line 63
  14. Distinctive:

    Use consistent terminology across interfaces

    line 68
  15. Distinctive:

    Ensure visual consistency across different sections

    line 70
  16. Distinctive:

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

    line 81
  17. Distinctive:

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

    line 84
  18. Distinctive:

    Use CSS animations over JavaScript where feasible

    line 85
  19. Distinctive:

    Ensure keyboard and screen reader accessibility

    line 91
  20. Distinctive:

    Use browser developer tools for responsiveness

    line 97
  21. Distinctive:

    Test on actual devices, not just emulators

    line 98

“Common” is measured: kept by at least 6 in 10 of the 66 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.