Skill library

Agent skill Review & testing

Web Design Guidelines

Review interface code against Web Interface Guidelines, covering accessibility, interaction and usability details.

  • Accessibility
  • UI review
  • UX

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add vercel-labs/agent-skills --skill web-design-guidelines --agent claude-code --yes

Check this file in your project.claude/skills/web-design-guidelines/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add vercel-labs/agent-skills --skill web-design-guidelines

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use Node.js and npm for the terminal install. Version 1.1.0 reads the bundled rules from the installed Skill directory.

View operation manual

What this skill helps with

  • Review interface code against Web Interface Guidelines.
  • Identify accessibility, interaction and usability issues.
  • Report actionable findings with locations in the source files.

Good for

  • UI reviews before release
  • Accessibility and usability cleanup
Verified version
Web Design Guidelines 1.1.0.
Rules file
references/command.md, bundled with the Skill.
Review scope
A route and its source files, or a file pattern.
Findings
Grouped by source file, with a file:line location for each issue.
Skill name
web-design-guidelines

Ask for UI findings you can reproduce

An open-ended review

Use web-design-guidelines to check whether my UI looks right.

The assistant needs a defined flow and the files that implement it to connect an issue to the right source location.

A scoped code and browser review

  1. Name the route and the task a user is trying to complete.
  2. Read the bundled rules and report source findings as file:line.
  3. Choose the fixes to apply and verify the affected interaction in a browser.

Web Design Guidelines operation manual

Audit a settings form or a mobile navigation drawer with Vercel’s Web Design Guidelines. Apply the bundled rules to source files, then verify interaction and feedback in a browser.

Follow the save flow from the route to its component code. Review the findings before choosing fixes.

  1. Trace the settings flow to its files

    Give the assistant a route or source path and the task you want to test. Have it find shared controls and state handlers that affect the flow.

    • Start with one task, such as changing a notification preference and saving it.
    • Include the file that renders the input, the save action, and the components that show errors or success.
    Prompt · Step 1
    Use Vercel’s web-design-guidelines skill to prepare an audit of one settings flow in this project. Find the settings route and trace how a user changes and saves a preference. If there are several settings pages or actions, ask which one to audit.
    
    List the files that render the form and shared controls, handle saving, and show validation or success feedback. Include an associated dialog if it is part of this flow. Confirm which installed Skill and rules file you found. Give me the file list and expected user flow for approval before reviewing or editing the code.
  2. Report findings with file and line

    Run a read-only review against the bundled rules. A finding should point to the source, describe what the user experiences, and state the correction when it is unclear.

    • Check whether form controls have labels, keyboard focus stays visible, and users receive meaningful feedback when a save fails.
    • If a shared component causes the issue, report the line in that component.
    Prompt · Step 2
    Review the settings save flow using Vercel’s web-design-guidelines skill. Ask for the route or file list if the review scope is unclear. Read references/command.md from the installed Skill and apply the rules to the files in scope. If the rules file is missing, identify the installed version and report what is needed to continue.
    
    Group findings by file and start each finding with its actual file:line. Call out issues with form labels, keyboard focus, save-in-progress feedback, and field errors when there is evidence in the code. For behavior you cannot confirm from code, give me a separate browser check. Keep this pass read-only.
    Format example
    <source file>:<line> - <issue and effect>
  3. Fix the approved issues and retest

    Fix the issues that interfere with saving first. Retest both the corrected interaction and the original save flow in a test environment.

    • Keyboard users can reach, identify, and operate the affected controls.
    • Verify a normal save, field validation when present, and a failed save when reproducible.
    • Reported results distinguish observed browser behavior from source review.
    Prompt · Step 3
    Use Vercel’s web-design-guidelines skill to fix only the findings I approved for the settings save flow. If you do not have the findings, ask me for the file:line list and the fixes to apply. Keep the existing settings behavior and leave other routes alone. If a fix requires a shared control, tell me which other screens use it.
    
    In a local or test environment, walk the form with the keyboard. Where applicable, submit an invalid value and check that the error identifies the field and what to do next. Submit a valid change and check pending and success states. If a save failure can be reproduced in testing, check the feedback and recovery. If a dialog is in scope, test focus when it opens and where focus returns after dismissal. Report what you ran, what passed, and any checks that still need a browser.

Look up a specific UI problem

Use these terms to find the applicable rule in the installed references/command.md.

Keyboard focus disappears or gets coveredFocus
Command or reference
Focus States · :focus-visible
Examples
Find the focus style in code, then Tab through the running page and check whether a sticky element covers the focused control.
A failed save leaves users unsure what to fixForms
Command or reference
Forms · inline errors
Examples
Trace the field, validation message, and first error focus. Submit an invalid value in a test environment.

Web Design Guidelines troubleshooting

Where does the Skill read its rules?

Version 1.1.0 uses the bundled references/command.md in the installed Skill directory. The current version can review code using that local file. If your installed instructions still refer to downloading rules, check the version in SKILL.md and update the project installation when you want the bundled rules.

Can I give the assistant a screenshot instead?

A screenshot can point to the problem. Give the assistant the route or source files as well so it can check the controls and provide actual file and line numbers. Use a browser to confirm behavior that depends on interaction.

What if the code review finds no problems?

Record which files and rules were checked. In a test environment, use the keyboard to check pending and successful saves. Check field validation when present and test failed saves when reproducible.