What problem does it solve? Frontend interfaces often ship with unclear hierarchy, missing loading and error states, one-off styling values, and accessibility gaps that automated tools only partially catch. This Skill gives coding agents a concrete rule set and reference library for building, changing, and reviewing user-facing UI so screens stay task-focused, consistent, and WCAG 2.2 AA compliant. ## Core Features & Use Cases - Design rules and tripwires: Nine enforceable rules covering visual hierarchy, design tokens, state coverage, semantic HTML, focus visibility, and form accessibility, plus a tripwire table that redirects common anti-patterns like styled-div buttons and positive tabindex. - Deep reference library: On-demand references for WCAG 2.2 criteria and ARIA patterns, Swiss/Rams design canon, modern CSS features, typography, framework tradeoffs (Svelte, React, Vue, Astro), and platform guidelines (Apple, Material, Fluent, government design systems). - Use Case: When asked to add a modal dialog to a settings page, the Skill directs the agent to use native <dialog> with .showModal(), restore focus on close, define loading and error states, and verify keyboard flow rather than hand-rolling a focus trap. ## Quick Start Use the ui-design skill to review this settings page for hierarchy, missing states, and WCAG 2.2 AA accessibility issues.