| name | web-design-guidelines |
| description | Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices". |
| argument-hint | file-or-pattern |
Web Interface Guidelines
Review files for compliance with Web Interface Guidelines.
How It Works
- Fetch the latest guidelines from the source URL below
- Read the specified files (or prompt user for files/pattern)
- Check against all rules in the fetched guidelines
- Output findings in the terse
file:line format
Guidelines Source
Fetch fresh guidelines before each review:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
Use WebFetch to retrieve the latest rules. The fetched content contains all rules and output format.
Quick Checklist (when fetch unavailable)
Accessibility (WCAG 2.1 AA)
Responsiveness
Performance
Interaction
Usage
When a user provides a file or pattern argument:
- Fetch guidelines from the source URL above
- Read the specified files
- Apply all rules from the fetched guidelines + quick checklist above
- Output findings using
file:line — [severity] description format
If no files specified, ask the user which files to review.
Output Format
src/components/Button.tsx:15 — [error] Button missing focus indicator
src/components/Card.tsx:42 — [warn] Image missing width/height attributes
src/pages/index.tsx:8 — [info] Consider adding skip-to-content link
Severity: error (must fix), warn (should fix), info (nice to have).