360 Secure SkillHub
360 安全技能中心

web-design-guidelines

依据固定版本的 Web Interface Guidelines 规则快照审查用户指定的 UI 源码,覆盖布局、排版、颜色、动效与无障碍;可选与上游最新规则比对,最终以简洁的 file:line 形式输出发现的问题;未指定文件时先询问用户。

nexu-io
热度 48.00
最近更新 2026-10-19 02:45:22
分类:开发依赖:读写文件 / 第三方 API应用场景:代码审查

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add nexu-io/open-design/web-design-guidelines
Metadata
name
web-design-guidelines
description
Review UI code for Web Interface Guidelines compliance by the Vercel engineering team. Covers layout, typography, color, motion, and accessibility for product UI.
triggers
["web design guidelines","vercel design","product ui standards","design checklist","review my UI","check accessibility","audit design","review UX","设计审查"]
metadata
{"author":"vercel","version":"1.0.0","argument-hint":"<file-or-pattern>"}
od
{"mode":"design-system","surface":"web","platform":"desktop","category":"design-systems","upstream":"https://github.com/vercel-labs/web-interface-guidelines","source-commit":"4e799d45c17aec1498c269287a83b9dba22b966b","preview":{"type":"markdown"},"example_prompt":"Review my UI code against the Vercel Web Interface Guidelines — check layout, typography, color, motion, and accessibility compliance.\n"}

Web Interface Guidelines

Review files for compliance with Web Interface Guidelines.

How It Works

  1. Load the pinned guidelines from references/guidelines.md — this is the default, reproducible execution path
  2. Optionally, fetch the latest guidelines from the upstream URL below and diff against the pinned snapshot to see if anything has changed
  3. Read the specified files (or prompt user for files/pattern)
  4. Check against all rules in the guidelines
  5. Output findings in the terse file:line format

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:

  1. Load references/guidelines.md as the default source
  2. Optionally fetch the upstream URL to check for updates
  3. Read the specified files
  4. Apply all rules from the guidelines
  5. Output findings using the format specified in the guidelines

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