Agent skill

UI Design Skill: 42 Prioritised Frontend Rules by Impact

The UI design skill from dot-skills gives an AI coding agent 42 frontend rules in eight ranked categories, from accessibility and web vitals to forms and animation.

Install
npx add-skill pproenca/dot-skills --skill ui-design
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the ui-design skill?

UI design is a skill in pproenca dot-skills for writing and reviewing frontend code. Its 42 rules sit in eight categories ordered by impact: accessibility, Core Web Vitals, layout, responsive design, typography, colour, forms and animation. Individual reference files hold explanations and code examples.

The skill, formerly named frontend-design inside this repository, is a rulebook more than a style generator. Each rule has a short identifier, so an agent can cite which one a piece of markup or CSS breaks.

Priority order

CategoryImpactRules
AccessibilityCritical7
Core Web VitalsCritical6
LayoutHigh6
ResponsiveHigh5
TypographyMedium to high5
ColourMedium4
FormsMedium5
AnimationLow to medium4

Who it serves

Best for

  • Code review where you want findings sorted by consequence.
  • Forms and content pages that need sound defaults.
  • Checking work produced with a visual design skill.

Not for

  • Inventing a look. Rules constrain quality but set no art direction.
  • Measured audits. Targets for loading and responsiveness are stated, yet an audit skill or a testing tool must measure them.

Reading the rules

Some advice is a heuristic, such as one primary action per screen or the F-shaped reading pattern. Let product needs override those, while treating semantic markup, keyboard access and contrast as firm requirements.

Teams building on WordPress can apply the same checks to sections that UiChemy Composer writes in HTML, CSS and JS. Click Get Started on uichemy.com.