Agent skill

Web Design Guidelines Skill: Review UI Code

The web-design-guidelines skill has an AI coding agent review your UI code against Vercel's Web Interface Guidelines and report terse file:line findings you can fix.

Install
git clone https://github.com/vercel-labs/agent-skills.git
View on GitHub

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

What is the web-design-guidelines skill?

The web-design-guidelines skill is a single SKILL.md in Vercel's vercel-labs/agent-skills repo. When you ask your agent to review a UI, it fetches the current Web Interface Guidelines, reads your files, checks them against every rule, and prints findings as file:line lines. It reviews code and does not generate designs.

The web-design-guidelines skill is a folder in Vercel's public vercel-labs/agent-skills repository. It holds one SKILL.md. The file does not contain the rules itself. It tells your agent where to fetch them and how to report the results.

The rules live in Vercel's separate web-interface-guidelines repository, in a file called command.md. The skill tells the agent to fetch that file before every review, so the checklist stays current without you updating the skill.

What changes in your agent's output

  • The agent audits the files you name instead of free-styling a review. If you give no file or pattern, it asks which files to check.
  • Findings come back grouped by file, one issue per line, in a file:line format that editors can turn into a clickable link.
  • A file with no issues gets a plain pass mark instead of filler praise.
  • Concrete rules replace taste. An icon-only button needs an aria-label, transition: all is flagged, and a div with a click handler should be a button.

What the rules cover

  • Accessibility: labels on form controls, aria-live for async updates, semantic HTML before ARIA and a skip link for the main content.
  • Focus: visible focus rings, :focus-visible over :focus, and no outline removal without a replacement.
  • Forms: autocomplete and the right input types, paste never blocked, inline errors and focus on the first error.
  • Motion: honor prefers-reduced-motion and animate only transform and opacity.
  • Images and performance: explicit width and height, lazy loading below the fold and virtualized long lists.

Who the web-design-guidelines skill is for

Best for

  • Reviewing a component or page before merge. Many rules use JSX props such as htmlFor and onKeyDown, so React and Next.js code fits best.
  • A quick accessibility and UX pass on a page your agent just built.
  • Teams that want one shared checklist instead of each reviewer's taste.

Not for

  • Choosing a visual direction, palette or layout. It audits code and does not design. For a plan-first build, see frontend-design.
  • Offline setups. The skill fetches its rules over the network on each review, so the agent needs web access.
  • Matching a Figma file. It reads code, not screenshots.
  • A scored report. The output is a terse list of findings, not a rating.

Use it with UiChemy

The skill reviews code, so it works on whatever your agent built. Run it on a page's front-end code, then bring the build into WordPress with UiChemy AI to WordPress as an editable page. Click Get Started on uichemy.com. For a deeper audit, see fixing-accessibility.