web-design-guidelines
Reviews UI code for compliance with web interface design guidelines, checking accessibility, design, and user experience to ensure interface quality and standards.
npx skills add https://github.com/vercel-labs/agent-skills --skill web-design-guidelinesBefore / After Comparison
1 组In the past, reviewing UI code for compliance with web design guidelines primarily relied on manual inspection. This was not only time-consuming and labor-intensive but also prone to missing issues due to subjective judgment or fatigue, especially concerning accessibility, design specifications, and user experience. This led to inconsistent interface quality, degraded user experience, and even potential compliance risks.
Now, by reviewing UI code with automated tools, it's possible to efficiently and accurately check its compliance with web interface design guidelines. These tools can quickly identify accessibility defects, design inconsistencies, and potential user experience issues, providing detailed reports and improvement suggestions. This significantly enhances review efficiency and accuracy, ensures interface quality and standards, and provides users with a higher quality and more user-friendly interactive experience.
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.
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill