Skip to content
DesignTested by us

Web Interface Guidelines

Checks your interface code against about 100 rules and tells you what to fix, file by line.

By Vercel (opens in a new tab) · from the vendor

Install See the repository Our test

When to use it

  • As a final pass before shipping a screen.
  • To check focus, forms, animations and performance.

When to avoid it

  • You want it to design: it only reviews.

Recommendations

  • Give it specific files, not the whole repo.
  • Ask for the findings sorted by impact.

Risks and permissions

  • It only reads files; the skill forbids downloading rules from the network.
  • The repository declares MIT in its README but has no LICENSE file; the rules do have one.

Install it

With BibliotecaPrompts Recommended

  1. Connect bp, just once. In Claude Code:

    Terminal
    claude mcp add --transport http --scope user bp https://bibliotecaprompts.com/mcp

    Another harness? How to connect it in yours.

  2. Ask your agent for it:

    Ask like this
    Instala con bp la skill web-design-guidelines
  • Downloads the version we tested (5a37a63), 2 files.
  • Checks each one against its SHA-256 fingerprint: if anything changed, it installs nothing.
  • Only the skill and its license: no hooks or extra servers.
  • Puts it in your harness’s folder, the project’s or your own.
Other ways, from the source

Claude Code

Terminal
npx skills add vercel-labs/agent-skills --skill web-design-guidelines -a claude-code

Codex CLI Cursor Gemini CLI OpenCode

With the npx skills installer, which asks you which agent to install it in.

Terminal
npx skills add vercel-labs/agent-skills --skill web-design-guidelines

Before installing, read its SKILL.md. Another harness? Where skills go in each one.

Our test

The task: Review Card.tsx against the Web Interface Guidelines and list what needs fixing.

Passes if: It finds the five planted bugs (div with onClick, img without alt, outline: none with no visible focus, input without label and transition: all) with their exact line and no serious false positives.

  • Claude Opus 5.5Passes

    Found the five planted bugs on their exact line (div with onClick, img without alt, input without label, transition: all, outline: none), and also that clicking the email triggers the purchase.

    • 18 s
    • 83.5K tokens
    • $0.20
    • Nov 24, 2026
    What the agent answered
    ## Card.tsx
    
    Card.tsx:6 - `<div onClick>` → usar `<button>` (o un `<a>` si lleva a otra página). Hoy no responde al teclado y no recibe foco.
    Card.tsx:6 - el `<input>` está dentro del contenedor clicable, así que hacer clic en el campo de correo dispara `onComprar`. Hay que sacar el campo del área clicable o hacer que solo un botón "Comprar" ejecute la compra.
    Card.tsx:7 - `<img>` sin `alt`.
    Card.tsx:7 - `<img>` sin `width`/`height`, lo que provoca saltos de diseño (CLS).
    Card.tsx:7 - falta `loading="lazy"` si la tarjeta queda bajo el primer pantallazo.
    Card.tsx:7 - no hay caso vacío si `producto.foto` falta; se ve una imagen rota.
    Card.tsx:8 - `<h3>` sin `text-wrap: balance`/`text-pretty` y sin `line-clamp`/`break-words` para nombres largos.
    Card.tsx:9 - precio sin formato → `Intl.NumberFormat` (moneda) + `font-variant-numeric: tabular-nums`.
    Card.tsx:10 - input sin `<label>` ni `aria-label`.
    Card.tsx:10 - falta `name="email"` y `autoComplete="email"`.
    Card.tsx:10 - falta `spellCheck={false}` en un campo de correo.
    Card.tsx:10 - el placeholder debe terminar en `…` y mostrar un ejemplo: `"tu@correo.com…"`.
    Card.tsx:12 - `transition: all` → `transition: transform 300ms`.
    Card.tsx:12/14 - el `translateY` del hover no respeta `prefers-reduced-motion`.
    Card.tsx:13 - `outline: none` sin otro indicador de foco → añadir un estilo `:focus-visible` (anillo/outline visible).
    Card.tsx:13 - usar `:focus-visible` en vez de `:focus`.
    Card.tsx:14 - el hover solo mueve la tarjeta; falta un cambio de contraste o borde. También falta `touch-action: manipulation`.
    
    Fuera de las guías: el `<style>` va dentro del componente, así que se repite una vez por cada tarjeta. Conviene moverlo a CSS/módulo.
    
    **Resumen:** revisé `Card.tsx` contra las reglas que trae la skill en `.claude/skills/web-design-guidelines/references/command.md`. Encontré 17 puntos; el más urgente es que escribir el correo dispara la compra (línea 6). No modifiqué ni creé archivos; la carpeta queda igual (`Card.tsx` + `.claude/`).
  • Claude Sonnet 5.5Passes

    Found the five planted bugs on their exact line and the email click that triggers the purchase, in a 19-item list.

    • 11 s
    • 82.4K tokens
    • $0.09
    • Nov 24, 2026
    What the agent answered
    ## Card.tsx
    
    Card.tsx:6 - `<div onClick>` → `<button>` (o `<a>`/`<Link>` si navega); sin teclado ni semántica
    Card.tsx:6 - compra inmediata sin confirmación/undo (acción destructiva/irreversible)
    Card.tsx:7 - `<img>` sin `alt`
    Card.tsx:7 - `<img>` sin `width`/`height` (CLS)
    Card.tsx:7 - falta `loading="lazy"` (si está bajo el pliegue)
    Card.tsx:8 - `<h3>` sin jerarquía previa (¿h2?); revisar orden de encabezados
    Card.tsx:9 - precio sin `Intl.NumberFormat`; añadir `tabular-nums`
    Card.tsx:8-9 - sin manejo de textos largos (`truncate`/`line-clamp`/`break-words`) ni estado vacío
    Card.tsx:10 - `<input>` sin `<label>`/`aria-label`
    Card.tsx:10 - falta `name` y `autoComplete="email"`
    Card.tsx:10 - falta `spellCheck={false}`
    Card.tsx:10 - placeholder "Tu correo" → termina en `…` con ejemplo: "tu@correo.com…"
    Card.tsx:10 - input dentro de un contenedor con `onClick`: escribir/clicar dispara `onComprar` (burbujeo) → bug
    Card.tsx:12 - `transition: all` → `transition: transform 300ms`
    Card.tsx:12 - sin `prefers-reduced-motion`
    Card.tsx:13 - `outline: none` sin reemplazo → usar `:focus-visible` con ring/outline
    Card.tsx:14 - hover sin equivalente `:focus-visible`; `transform-origin` no definido
    Card.tsx:11-15 - `<style>` inline por instancia → mover a CSS/módulo
    Card.tsx:12 - falta `touch-action: manipulation`
    
    **Resumen:** Revisé `Card.tsx` con las reglas empaquetadas en la skill (`references/command.md`) y listé los hallazgos arriba. No modifiqué ni creé ningún archivo.

Each run: Claude Code with the skill installed, no network and in a sandbox, at version 5a37a63 of the repository. The verdict comes from a review that opens the files it left, not just its answer.

Other skills

DesignTested by us

Frontend Design

Anthropic

Gives a new interface art direction so it doesn’t look like an AI template.

  • 199.8K
  • 1,2 M
  • Apache-2.0
DesignTested by us

Web accessibility (WCAG 2.2)

Addy Osmani

Audits accessibility against WCAG 2.2 and proposes the code fix for each failure.

  • 3.1K
  • 73.9K
  • MIT

See all 24 skills