Web Interface Guidelines
Review files for compliance with Vercel's Web Interface Guidelines.
How It Works
- Read the rules in
references/guidelines.md, next to this file - Read the specified files (or prompt user for files/pattern)
- Check against all rules in the guidelines
- Output findings in the terse
file:lineformat the guidelines specify
Guidelines Source
The rules are vendored verbatim from
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md (MIT, see
references/LICENSE), so the review works offline, on any harness, and against text that has been read
here. The file's own $ARGUMENTS placeholder means the files you were given. To pick up upstream
changes, re-download it as the comment at its top describes.
Most rules are plain HTML, CSS and accessibility and apply to any frontend; a few assume React or Next.js
(onKeyDown, <Link>, hydration). Skip those where the stack makes them meaningless, and say so.
Usage
When a user provides a file or pattern argument:
- Read
references/guidelines.md - Read the specified files
- Apply all rules from the guidelines
- Output findings using the format specified in the guidelines
If no files specified, ask the user which files to review.