web-design-guidelines

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Web Interface Guidelines

Web界面指南

Review files for compliance with Web Interface Guidelines.
检查文件是否符合Web界面指南规范。

How It Works

工作原理

  1. Fetch the latest guidelines from the source URL below
  2. Read the specified files (or prompt user for files/pattern)
  3. Check against all rules in the fetched guidelines
  4. Output findings in the terse
    file:line
    format
  1. 从下方的源URL获取最新指南
  2. 读取指定文件(或提示用户提供文件/模式)
  3. 对照获取到的指南中的所有规则进行检查
  4. 以简洁的
    file:line
    格式输出检查结果

Guidelines Source

指南来源

Fetch fresh guidelines before each review:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
Use WebFetch to retrieve the latest rules. The fetched content contains all the rules and output format instructions.
每次审查前获取最新指南:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
使用WebFetch获取最新规则。获取的内容包含所有规则和输出格式说明。

Usage

使用方法

When a user provides a file or pattern argument:
  1. Fetch guidelines from the source URL above
  2. Read the specified files
  3. Apply all rules from the fetched guidelines
  4. Output findings using the format specified in the guidelines
If no files specified, ask the user which files to review.
当用户提供文件或模式参数时:
  1. 从上述源URL获取指南
  2. 读取指定文件
  3. 应用获取到的指南中的所有规则
  4. 按照指南中指定的格式输出检查结果
如果未指定文件,请询问用户要审查哪些文件。