skills/web-design-guidelines/SKILL.md
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".
npx skillsauth add cloudai-x/claude-workflow web-design-guidelinesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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):
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Implements authentication, authorization, encryption, secrets management, and security hardening patterns. Use when designing auth flows, managing secrets, configuring CORS, implementing rate limiting, or when asked about JWT, OAuth, password hashing, API keys, RBAC, or security best practices.
tools
Patterns for parallel subagent execution using Task tool with run_in_background. Use when coordinating multiple independent tasks, spawning dynamic subagents, or implementing features that can be parallelized.
development
Analyzes and optimizes application performance across frontend, backend, and database layers. Use when diagnosing slowness, improving load times, optimizing queries, reducing bundle size, or when asked about performance issues.