10xequity/claude-skill-library/web-design-guidelines
Claude Code and agent skill by 10xequity/claude-skill-library
- community
Checking that the SKILL.md file is still in the repository.
Audit interface code against a concise MUST/SHOULD/NEVER rule set covering interaction, animation, layout, accessibility, performance, and theming. Use this skill as a pre-merge gate on user-facing UI.
Install
npx vskill@latest install 10xequity/claude-skill-library/web-design-guidelinesSKILL.md
The same SKILL.md was published earlier as 10xequity/claude-skill-library/web-design-guidelines.
Web Design Guidelines Skill
Purpose
Audit interface code against a concise MUST/SHOULD/NEVER rule set covering interaction, animation, layout, accessibility, performance, and theming.
When to use
Use this skill as a pre-merge gate on user-facing UI. Use impeccable-ui.md for design direction and craft; use this for conformance.
Inputs
- the pages or components under review
- target breakpoints and browsers
- framework and whether the app hydrates
- any product-specific interaction requirements
Output
Return:
- findings grouped as interactions, animation, layout, content and accessibility, performance, theming, hydration
- each finding labelled MUST / SHOULD / NEVER, with the element and the corrected code
- an explicit statement of what was not checked
Constraints
- Keyboard — full support per WAI-ARIA APG; visible
:focus-visiblerings; managed focus (trap, move, return); neveroutline: nonewithout a replacement - Targets — hit target ≥24px, ≥44px on mobile; mobile
<input>font-size ≥16px to prevent iOS zoom; never disable browser zoom;touch-action: manipulation - Forms — never block paste; keep submit enabled until the request starts, then spinner with the original label; accept free text and validate after; allow incomplete submission to surface validation; errors inline with focus moved to the first one;
autocompleteplus correcttypeandinputmode; warn on unsaved changes; label and control share one hit target - State — URL reflects filters, tabs, pagination, expanded panels; Back/Forward restores scroll; navigation uses
<a>/<Link>, never<div onClick> - Feedback — confirm destructive actions or offer Undo; polite
aria-livefor toasts; optimistic UI reconciled on response - Animation — honor
prefers-reduced-motion; animate onlytransformandopacity; never animate layout props; nevertransition: all; animations interruptible, no autoplay; correcttransform-origin - Layout — deliberate alignment, optical ±1px where perception beats geometry; verify mobile, laptop, and ultra-wide; respect
env(safe-area-inset-*); no unwanted scrollbars - Content and a11y — no dead ends; design empty, sparse, dense, and error states; skeletons mirror final content;
tabular-numsfor compared numbers; status cues never colour-only; icon-only buttons carryaria-label; native semantics before ARIA; resilient to short and very long user content; locale-aware dates and numbers viaIntl - Content handling — text containers truncate or clamp; flex children need
min-w-0; empty strings and arrays must not break layout - Performance — virtualize lists over 50 items; preload above-fold images and lazy-load the rest; explicit image dimensions to prevent CLS; mutations target under 500ms; batch layout reads and writes; profile with throttling
- Theming —
color-scheme: darkon<html>;<meta name="theme-color">matches background; native<select>needs explicit colours on Windows - Hydration — inputs with
valueneedonChangeordefaultValue; guard date rendering against mismatch - Contrast — meet it, preferring APCA over WCAG 2; increase contrast on hover, active, and focus
Examples
- Audit a checkout flow before release
- Verify a data table's keyboard, truncation, and empty-state behavior
- Check a themed dashboard for dark-mode and hydration defects
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/web-design-guidelines/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/10xequity/claude-skill-library/web-design-guidelines)