Borrowing it
Nothing to install: this file belongs to boshi-xixixi/TraeSkill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/02_Designer_WebGuidelines/SKILL.mdgit clone --depth 1 https://github.com/boshi-xixixi/TraeSkillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_webguidelines)<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_webguidelines"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/02_designer_webguidelines/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_webguidelines"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/02_designer_webguidelines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00112 | $0.04786 |
| Opus 5.5 | $0.00045 | $0.01914 |
| Sonnet 5.5 | $0.00022 | $0.00957 |
| Haiku 4.5 | $0.00011 | $0.00479 |
Grade A, and why
web-design-guidelines scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 639 lines — stays where its author put it; the contents beside it link to each section on GitHub.
⚠️ 性能提示: 此 Skill 包含完整的 WCAG 2.2 检查清单。对于快速审查,可以只使用"快速检查清单";对于完整审计,使用"详细检查清单"。
Web Interface Guidelines & Accessibility Checker
概述
此 Skill 提供两种审查模式:
- 快速审查:基于 Vercel Web Interface Guidelines 的即时检查
- 完整审计:基于 WCAG 2.2 AA 标准的全面合规性检查
快速审查(Web Interface Guidelines)
工作流程
-
从源 URL 获取最新指南:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md -
读取指定的文件(或提示用户提供文件/模式)
-
对照获取的规则检查
-
使用简洁的
file:line格式输出结果
使用方式
当用户提供文件或模式参数时:
- 从上述 URL 获取指南
- 读取指定的文件
- 应用所有规则
- 按照指南中指定的格式输出结果
如果未指定文件,询问用户要审查哪些文件。
完整审计(WCAG 2.2 AA)
WCAG 2.2 新增成功准则
WCAG 2.2 在 2.1 基础上增加了 9 个新成功准则:
2.4.11 焦点外观(最小)(Focus Appearance (Minimum))- AA
要求:焦点指示符必须满足以下所有条件:
- 对比度:至少 3:1(焦点与相邻颜色)
- 区域:指示符面积至少等于 1 CSS 像素环的面积
- 不被其他内容遮挡
检查点:
- 所有交互元素(链接、按钮、输入框)有可见焦点状态
- 焦点指示符对比度 ≥ 3:1
- 焦点样式不会被其他内容遮挡
/* ✅ 合规的焦点样式 */
:focus {
outline: 2px solid #005fcc;
outline-offset: 2px;
}
/* ✅ 高对比度焦点 */
:focus {
outline: 3px solid #000000;
background: #ffff00;
}
2.4.12 焦点不被隐藏(Focus Not Obscured)(最小)- AA
要求:焦点指示符不能被其他内容完全遮挡
检查点:
- 固定元素(header、nav)不会遮挡焦点
- 模态框打开时焦点元素可见
- 滚动时焦点元素保持在视口中
2.5.7 拖动动作(Dragging Movements)- AA
要求:所有使用拖动操作的功能都应提供单指针替代方案
检查点:
- 滑块有 +/- 按钮替代拖动
- 拖放列表有上/下按钮替代拖动
- 拖动操作有清晰的视觉反馈
// ❌ 不合规:只有拖动
<SortableList items={items} />
// ✅ 合规:提供替代方案
<SortableList items={items} />
<SortableList items={items} mode="buttons" />
2.5.8 目标大小(最小)(Target Size (Minimum))- AA
要求:触摸目标至少 24x24 CSS 像素
检查点:
- 按钮最小尺寸 24x24px
- 移动端触摸目标 ≥ 44x44px(WCAG 2.2 AAA)
- 目标之间有足够间距
/* ✅ 合规的触摸目标 */
button {
min-height: 44px;
min-width: 44px;
padding: 12px 16px;
}
详细 WCAG 2.2 AA 检查清单
1. 可感知性(Perceivable)
1.1.1 非文本内容 - 所有文本
- 所有图片有 alt 文本
- 复杂图像有长描述
- 图标按钮有 aria-label
- 表单有可见标签
<!-- ✅ 合规 -->
<img src="chart.png" alt="2024年用户增长图表,显示同比增长25%" />
<!-- ❌ 不合规 -->
<img src="chart.png" />
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 639 lines · 112 tokens per session scan A 934b6910f602
web-design-guidelines is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 112 tokens to every session and 4,786 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.
web-design-guidelines compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| web-design-guidelinesboshi-xixixi/TraeSkill | Skill | 288 | 9d ago | MIT | A | 112 | Claude Code |
| debuggingLion-1209/Lion-Skills | Skill | 5 | 5mo ago | MIT | A | 24 | Claude Code |
| error-handlingLion-1209/Lion-Skills | Skill | 5 | 5mo ago | MIT | A | 14 | Claude Code |
| diagnosing-superpowersjnMetaCode/superpowers-zh | Skill | 8.6k | 14d ago | MIT | A | 111 | Claude Code |
| debugRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 76 | Claude Code |
| perfRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 73 | Claude Code |
| autopsyRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 68 | Claude Code |