360 Secure SkillHub
360 安全技能中心

web-design-guidelines

该 Skill 内置一份 Web Interface Guidelines 规则快照,用于逐条检查用户指定的 UI 代码文件或匹配模式,并按 file:line 形式给出简洁的合规发现。规则随包提供,审查时不联网拉取;若未指定文件,会询问要审查的范围。

分类:开发
vercel-labs
热度 59.62
最近更新 2026-11-21 17:37:08

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add vercel-labs/agent-skills/web-design-guidelines
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
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
  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 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
  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.