使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/vercel-labs/agent-skills --skill web-design-guidelines开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
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:
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:
- 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.