# Web Design Guidelines

> 按 Vercel 的 Web Interface Guidelines 审查界面代码，覆盖无障碍、焦点、表单、动画、排版、深色模式等规则，以「文件:行号」列出问题；每次审查前联网拉取最新规则。Vercel 官方维护。

- 类型：Skill
- 仓库：https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines
- 页面：https://hebbmind.com/zh-TW/skill/web-design-guidelines
- Stars：35236
- 适用职业：[前端开发](https://hebbmind.com/zh-TW/tools.md?profession=frontend)、[测试](https://hebbmind.com/zh-TW/tools.md?profession=qa)、[设计师](https://hebbmind.com/zh-TW/tools.md?profession=design)
- 标签：代码评审、网页开发、界面设计、vercel
- 收录时间：2026-09-30

## 安装

### Claude Code

```bash
npx skills add vercel-labs/agent-skills --skill web-design-guidelines -a claude-code -y
```

### Codex

```bash
npx skills add vercel-labs/agent-skills --skill web-design-guidelines -a codex -y
```

## README

> 以下内容来自上游仓库 https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

```yaml
name: web-design-guidelines
description: Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
metadata:
  author: vercel
  version: "1.1.0"
  argument-hint: <file-or-pattern>
```

# Web Interface Guidelines

Review files for compliance with Web Interface Guidelines.

## How It Works

1. Read the bundled guidelines at [references/command.md](https://github.com/vercel-labs/agent-skills/blob/main/skills/web-design-guidelines/references/command.md)
2. Read the specified files (or prompt user for files/pattern)
3. Check against all rules in the guidelines
4. Output findings in the terse `file:line` format

## Guidelines Source

The rules are bundled with this skill in the [references/command.md](https://github.com/vercel-labs/agent-skills/blob/main/skills/web-design-guidelines/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:

Source: https://github.com/vercel-labs/web-interface-guidelines/blob/434b7f91364665f2f733b310ec54809bf8f37937/command.md

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:

1. Get the latest commit SHA: `gh api repos/vercel-labs/web-interface-guidelines/commits/main --jq .sha`
2. Download it: `curl -fsSL https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/<SHA>/command.md -o references/command.md`
3. Review the changes, then update the Source URL and SHA-256 above (`shasum -a 256 references/command.md`)
4. Regenerate `skills/web-design-guidelines.zip` so it matches the updated folder

## Usage

When a user provides a file or pattern argument:
1. Read [references/command.md](https://github.com/vercel-labs/agent-skills/blob/main/skills/web-design-guidelines/references/command.md)
2. Read the specified files
3. Apply all rules from the guidelines
4. Output findings using the format specified in the guidelines

If no files specified, ask the user which files to review.

