Web Interface Guidelines
Review files for compliance with Web Interface Guidelines and Apple Human Interface Guidelines.
How It Works
- •Read the relevant guideline references for the review type
- •Read the specified files (or prompt user for files/pattern)
- •Check against all applicable rules
- •Output findings in the terse
file:lineformat
Guidelines Sources
Vercel Web Interface Guidelines
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 the rules and output format instructions.
Apple Human Interface Guidelines
Reference the local HIG guideline files in the references/ directory for platform-specific design patterns. Each reference includes links to the official Apple HIG documentation.
Reference Documents
The following Human Interface Guidelines references are available:
| Reference | Description | Apple HIG Link |
|---|---|---|
| Accessibility | WCAG compliance, screen readers, keyboard navigation | HIG: Accessibility |
| Color | Semantic colors, contrast, data visualization | HIG: Color |
| Dark Mode | Appearance modes, surface elevation, adaptation | HIG: Dark Mode |
| Icons | Icon sizing, accessibility, animation | HIG: SF Symbols |
| Layout | Spacing, grids, responsive design | HIG: Layout |
| Motion | Animation timing, easing, reduced motion | HIG: Motion |
| Typography | Type scale, hierarchy, scientific typography | HIG: Typography |
Usage
When a user provides a file or pattern argument:
- •Fetch Vercel guidelines from the source URL above
- •Read the relevant HIG reference files from
references/ - •Read the specified files
- •Apply all rules from both guideline sources
- •Output findings using the format specified in the guidelines
Review Types
General UI Review - Use all references:
- •Accessibility, Color, Dark Mode, Icons, Layout, Motion, Typography
Accessibility Audit - Focus on:
- •Accessibility reference
- •Color reference (contrast requirements)
- •Typography reference (legibility)
Design System Review - Focus on:
- •Color reference
- •Typography reference
- •Icons reference
Animation Review - Focus on:
- •Motion reference
- •Accessibility reference (reduced motion)
Responsive/Layout Review - Focus on:
- •Layout reference
- •Typography reference (responsive scaling)
If no files specified, ask the user which files to review.
Apple HIG Quick Links
Core guidelines from Apple Human Interface Guidelines:
- •
Foundations
- •
Additional Resources