Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pproenca avatar

Ui Design

  • 687 installs
  • 186 repo stars
  • Updated July 24, 2026
  • pproenca/dot-skills

ui-design is a version 0.1.0 agent skill that applies 42 prioritized UI/UX frontend rules across 8 categories for developers who need consistent, accessible, high-performance interface code from AI-assisted generation an

About

ui-design is a UI/UX Frontend Design best-practices skill (version 0.1.0, January 2026) optimized for AI agents maintaining, generating, or refactoring codebases. It contains 42 rules across 8 categories, prioritized by impact from critical accessibility compliance and Core Web Vitals down to incremental animation performance, each with incorrect-vs-correct examples. Developers reach for ui-design when agents produce UI that fails accessibility, layout consistency, or performance standards during generation or code review. Humans can use it too, but the guidance is structured for automated consistency across frontend refactors and new component work.

  • 42 rules across 8 impact-ordered categories for agent-driven UI work
  • Critical-tier accessibility: keyboard nav, touch targets, headings, alt text
  • Core Web Vitals and performance guidance with incorrect vs correct examples
  • Rule-level impact metrics for automated review and codegen
  • Optimized for AI maintenance workflows—not a generic human-only style guide

Ui Design by the numbers

  • 687 all-time installs (skills.sh)
  • Ranked #505 of 1,888 Design & UI/UX skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pproenca/dot-skills --skill ui-design

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs687
repo stars186
Security audit3 / 3 scanners passed
Last updatedJuly 24, 2026
Repositorypproenca/dot-skills

How do agents follow prioritized UI UX frontend rules?

Apply prioritized UI/UX and frontend rules when agents generate, review, or refactor interfaces.

Who is it for?

Developers using AI agents to generate or refactor frontend UI who need a prioritized rule set covering accessibility, performance, and UX consistency.

Skip if: Developers needing brand-only visual mockups, pure backend API work, or design systems with no agent-driven code generation or review.

When should I use this skill?

An agent generates, reviews, or refactors UI code and needs prioritized accessibility, Core Web Vitals, layout, or interaction rules applied.

What you get

Accessibility-compliant components, Core Web Vitals-aware layouts, and refactored UI code matching prioritized design rules.

  • Rule-compliant UI components
  • Accessibility and performance fixes
  • Prioritized refactor guidance

By the numbers

  • 42 rules across 8 categories
  • Version 0.1.0 (January 2026)

Files

SKILL.mdMarkdownGitHub ↗

UI/UX Best Practices Frontend Design

Comprehensive UI/UX and frontend design best practices guide. Contains 42 rules across 8 categories, prioritized by impact to guide accessible, performant, and user-friendly interface development.

When to Apply

Reference these guidelines when:

  • Structuring HTML for accessibility and semantics
  • Writing CSS for responsive layouts and visual hierarchy
  • Optimizing images and fonts for Core Web Vitals
  • Designing forms with proper validation and error handling
  • Adding animations and interactive elements

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Accessibility & WCAG ComplianceCRITICALaccess-
2Core Web Vitals OptimizationCRITICALcwv-
3Visual Hierarchy & LayoutHIGHlayout-
4Responsive & Mobile-First DesignHIGHresp-
5Typography & Font LoadingMEDIUM-HIGHtypo-
6Color & ContrastMEDIUMcolor-
7Forms & Validation UXMEDIUMform-
8Animation & PerformanceLOW-MEDIUManim-

Quick Reference

1. Accessibility & WCAG Compliance (CRITICAL)

  • access-semantic-html - Use semantic HTML elements for screen readers
  • access-keyboard-navigation - Ensure full keyboard navigation
  • access-focus-indicators - Provide visible focus indicators
  • access-alt-text - Provide meaningful alt text for images
  • access-aria-labels - Use ARIA labels for icon-only controls
  • access-target-size - Ensure minimum touch target size (24×24px)
  • access-heading-hierarchy - Maintain logical heading hierarchy

2. Core Web Vitals Optimization (CRITICAL)

  • cwv-optimize-lcp - Optimize Largest Contentful Paint under 2.5s
  • cwv-minimize-cls - Minimize Cumulative Layout Shift under 0.1
  • cwv-improve-inp - Improve Interaction to Next Paint under 200ms
  • cwv-responsive-images - Serve responsive images with srcset
  • cwv-lazy-load-offscreen - Lazy load offscreen images and iframes
  • cwv-critical-css - Inline critical CSS and defer the rest

3. Visual Hierarchy & Layout (HIGH)

  • layout-visual-hierarchy - Establish clear visual hierarchy
  • layout-whitespace - Use whitespace to improve readability
  • layout-f-pattern - Design for F-pattern reading behavior
  • layout-grid-system - Use a consistent grid system
  • layout-single-cta - Limit to one primary CTA per screen
  • layout-proximity-grouping - Group related elements with proximity

4. Responsive & Mobile-First Design (HIGH)

  • resp-mobile-first - Design mobile-first with min-width queries
  • resp-fluid-typography - Use fluid typography with clamp()
  • resp-container-queries - Use container queries for components
  • resp-touch-targets - Size touch targets for mobile (44×44px)
  • resp-viewport-meta - Configure viewport meta tag correctly

5. Typography & Font Loading (MEDIUM-HIGH)

  • typo-font-display - Use font-display to control loading behavior
  • typo-preload-fonts - Preload critical web fonts
  • typo-readable-line-length - Constrain line length (45-75ch)
  • typo-line-height - Set appropriate line height (1.5-1.7)
  • typo-system-font-stack - Use system font stack for UI elements

6. Color & Contrast (MEDIUM)

  • color-contrast-ratio - Meet WCAG contrast ratio requirements (4.5:1)
  • color-not-only-indicator - Never use color alone to convey information
  • color-dark-mode - Support dark mode with prefers-color-scheme
  • color-semantic-palette - Use semantic color names in design tokens

7. Forms & Validation UX (MEDIUM)

  • form-inline-validation - Use inline validation after field blur
  • form-error-messages - Write actionable error messages
  • form-labels-above - Place labels above input fields
  • form-input-types - Use correct HTML input types for mobile
  • form-autocomplete - Enable browser autocomplete with correct attributes

8. Animation & Performance (LOW-MEDIUM)

  • anim-gpu-properties - Animate only GPU-accelerated properties
  • anim-will-change - Use will-change sparingly for animation hints
  • anim-reduced-motion - Respect user motion preferences
  • anim-duration-easing - Use appropriate animation duration and easing

How to Use

Read individual reference files for detailed explanations and code examples:

  • Section definitions - Category structure and impact levels
  • Rule template - Template for adding new rules
  • Example: access-semantic-html

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Related skills

How it compares

Choose ui-design over ad-hoc lint feedback when you need a broad prioritized UI/UX rule catalog for agent-driven frontend work, not just ESLint or style-token checks.

FAQ

How many UI rules does ui-design include?

ui-design version 0.1.0 bundles 42 UI/UX frontend rules organized into 8 categories, ranked from critical accessibility and Core Web Vitals requirements down to incremental animation performance improvements.

Is ui-design meant for humans or coding agents?

ui-design is written primarily for AI agents and LLMs generating, reviewing, or refactoring frontend codebases, though developers can use the same prioritized rules during manual UI implementation and code review.

Is Ui Design safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.