web-design-guidelines
它能做什么
这个工具可以检查你网站的设计代码是否符合 Vercel 的设计规范。它会检查产品界面的布局、排版、色彩、动效和无障碍设计。
适用场景
- ✓当你想确保网站外观美观、使用顺畅时。
- ✓在网站正式对外上线之前。
- ✓当你正在收集大家对网站设计的反馈时。
技能链接
https://github.com/nexu-io/open-design/blob/main/skills/web-design-guidelines/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“对照 Vercel 的设计规范检查一下我的设计代码。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会把你的代码与一组预先定义好的设计规则进行比对,然后告诉你哪些地方不符合这些规则。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Web Interface Guidelines
Review files for compliance with Web Interface Guidelines.
How It Works
- Load the pinned guidelines from
references/guidelines.md— this is the default, reproducible execution path - Optionally, fetch the latest guidelines from the upstream URL below and diff against the pinned snapshot to see if anything has changed
- 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
Default (pinned): The vendored copy at references/guidelines.md is the default execution path. It is a pinned snapshot of the upstream guidelines and guarantees the skill produces reproducible results in any runtime environment.
Upstream (live): For users who want the very latest rules, the live source is available at:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
Fetching the live version is optional — the pinned snapshot is always the baseline.
Usage
When a user provides a file or pattern argument:
- Load
references/guidelines.mdas the default source - Optionally fetch the upstream URL to check for updates
- 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.
常见问题
什么是“设计规范”?
它是一套规则和建议,用于创建外观美观、易于使用且便于无障碍访问的用户界面。
为什么要用 Vercel 的规范?
这些规范由设计专家制定,有助于确保你的网站在不同设备上都有良好的外观和功能。
工具能自动修复我的代码吗?
不能,工具只会指出问题,修改需要你自己在代码中完成。
详情
作者的原始描述
Review UI code for Web Interface Guidelines compliance by the Vercel engineering team. Covers layout, typography, color, motion, and accessibility for product UI.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1252
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …