by supercent-io
确保您的 UI 代码遵循行业最佳实践和可访问性标准。此技能会自动检查您的组件是否符合 Vercel 的网页界面准则,并以具体行号和修复建议报告违规情况。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 web-design-guidelines 技能" 开始使用
=== web-design-guidelines 技能 === 作者: supercent-io 描述: 确保您的 UI 代码遵循行业最佳实践和可访问性标准。此技能会自动检查您的组件是否符合 Vercel 的网页界面准则,并以具体行号和修复建议报告违规情况。 使用方法: 1. 调用技能: "使用 web-design-guidelines 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 web-design-guidelines 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
design
safe
Review files for compliance with Vercel's Web Interface Guidelines.
file:line formatFetch 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.
Use WebFetch:
WebFetch URL: https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
Prompt: "Extract all UI rules and guidelines"
Read and analyze the files or patterns provided by the user.
Files to analyze:
Apply all rules from the fetched guidelines to the files and output violations.
Review my UI code:
- File: src/components/Button.tsx
Check accessibility:
- Pattern: src/**/*.tsx
Follow the format specified in the guidelines (typically file:line):
src/components/Button.tsx:15 - Button should have aria-label for icon-only buttons
src/components/Modal.tsx:42 - Modal should trap focus within itself
src/pages/Home.tsx:8 - Main content should be wrapped in <main> element
When a user provides a file or pattern argument:
If no files specified, ask the user which files to review.
file:line format#UI #review #web-interface #guidelines #vercel #design-audit #UX #frontend
View Count
0
Download Count
0
Favorite Count
0
Quality Score
74