Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", "check my site against best practices", or "web interface guidelines".
Self-contained guidelines for reviewing web interfaces. Apply these rules when auditing UI code.
Report findings as: file:line — [RULE_ID] description
Example: src/Button.tsx:12 — [A11Y-01] Missing aria-label on icon button
<button> for actions, <a> for navigation, <input> for data entry<div onClick> or <span onClick> for interactive elements<nav>, <main>, <aside>, <header>, <footer> for landmarksaria-label<label> or aria-labelalt text (decorative images: alt="")role, tabIndex, and key handlersoutline: none without replacement)aria-live regionsaria-busy="true"aria-describedbynext/image or responsive images with srcsetwidth and height to prevent layout shiftloading="lazy"import { Button } from 'lib' not import libReact.lazy() or dynamic importswill-change sparingly (only for known animations)transform and opacity for 60fps animations (compositor-only)@media (min-width) for larger screensrem/em for typography, not pxclamp() for fluid typography: font-size: clamp(1rem, 2.5vw, 2rem)max-width: 65ch for readabilitytype="email", type="tel", inputmode="numeric" for mobile keyboardsaria-busy="true" on loading containers<dialog> element or proper role="dialog"!important (use specificity or cascade layers)margin-bottom over margin-topposition: absolute for layout (use for overlays only)gap over margins between flex/grid childrenmin-height: 100dvh (not 100vh) for full-height layoutsprefers-color-scheme media querydangerouslySetInnerHTML without sanitizationrel="noopener noreferrer" on external links with target="_blank"logical properties (margin-inline-start over margin-left)lang attribute on <html> tagWhen auditing a file, check in this order (CRITICAL first):
npx skills add CloudAI-X/web-design-guidelines下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer