Web Interface Guidelines
Review files for compliance with Web Interface Guidelines.
How It Works
-
Load the guidelines (see Guidelines Source below)
-
Read the specified files (or prompt user for files/pattern)
-
Check against all rules in the guidelines
-
Output findings in the terse file:line format
Guidelines Source
In CI: The workflow fetches the latest guidelines into references/guidelines.md before review. Read that file.
Locally: If references/guidelines.md doesn't exist, fetch from the upstream URL:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
Usage
When a user provides a file or pattern argument:
-
Try reading references/guidelines.md first (populated by CI)
-
If not found, use WebFetch or Bash (curl ) to fetch from the upstream URL
-
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.