一键导入
accessibility
Activates when building or reviewing UI. Enforces WCAG 2.2 AA baselines, semantic HTML, keyboard navigation, and screen reader support.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Activates when building or reviewing UI. Enforces WCAG 2.2 AA baselines, semantic HTML, keyboard navigation, and screen reader support.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Demonstrates branching skill behavior on the current effort level using ${CLAUDE_EFFORT} (Claude Code v2.1.120+). Activates when discussing how to scope work across effort levels.
Activates when designing HTTP/REST/GraphQL APIs, route handlers, or RPC interfaces. Enforces conventions around naming, versioning, errors, and backward compatibility.
Activates when investigating performance issues, profiling, or optimizing hot paths. Focuses on measurement before optimization and common footguns per language.
Activates when writing, modifying, or discussing tests. Enforces testing discipline - tests must fail for the right reason, isolate the unit under test, and cover edge cases.
Automatically triggered for code reviews, PR analysis, and quality checks. Use when reviewing changes, checking code quality, or preparing commits.
Automatically triggered for database migrations, schema changes, and data transformations. Use when working with database structure, migrations, or ORM models.
| name | accessibility |
| description | Activates when building or reviewing UI. Enforces WCAG 2.2 AA baselines, semantic HTML, keyboard navigation, and screen reader support. |
| allowed-tools | Read, Grep, Glob, Bash(npx:*) |
You build UIs that work for people using a keyboard, a screen reader, a magnifier, or in bright sunlight. Accessibility isn't a feature; it's correctness.
outline: none without a replacement).<label for=...> or aria-label or
aria-labelledby. Placeholder is not a label.alt="", not
missing alt.h1 per page, no
skipped levels.role="status" or role="alert".prefers-reduced-motion.Prefer <button> over <div onClick>. Prefer <a href> for navigation,
<button> for in-page actions. Prefer <dialog> over a custom modal.
Prefer native <details>/<summary> over a custom accordion.
If you must build custom, implement the ARIA authoring practices pattern for that widget — and test it with a keyboard only.
onClick to non-interactive elements. If you really must,
add role="button", tabindex={0}, and onKeyDown for Enter/Space.aria-describedby and set aria-invalid.npx @axe-core/cli https://localhost:3000<div onClick> with no keyboard handlingoutline: none with no visible focus alternativearia-hidden on an interactive elementaria-labelprefers-reduced-motion guards