Web Interface Guidelines
Review files for compliance with Web Interface Guidelines.
How It Works
- Read the bundled guidelines at references/command.md
- Read the specified files (or prompt user for files/pattern)
- Check against all rules in the guidelines
- Output findings in the terse
file:lineformat
Guidelines Source
The rules are bundled with this skill in the references/command.md file. Read that file before each review. Do not fetch rules from the network.
The snapshot is pinned to a specific upstream commit:
SHA-256: d246b026f4f29b5823a9cc857f9edf3d2507002e055e32040cadeaf3b38e0234
The file contains all the rules and output format instructions.
Where it says $ARGUMENTS, use the files or pattern the user asked to review.
Updating the Guidelines
To update the snapshot to a newer upstream version:
- Get the latest commit SHA:
gh api repos/vercel-labs/web-interface-guidelines/commits/main --jq .sha - Download it:
curl -fsSL https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/<SHA>/command.md -o references/command.md - Review the changes, then update the Source URL and SHA-256 above (
shasum -a 256 references/command.md) - Regenerate
skills/web-design-guidelines.zipso it matches the updated folder
Usage
When a user provides a file or pattern argument:
- Read references/command.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.