10xequity/claude-skill-library/web-design-guidelines

Claude Code and agent skill by 10xequity/claude-skill-library

Trust tier 3
  • community
Source check pending

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-guidelines

SKILL.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-visible rings; managed focus (trap, move, return); never outline: none without 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; autocomplete plus correct type and inputmode; 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-live for toasts; optimistic UI reconciled on response
  • Animation — honor prefers-reduced-motion; animate only transform and opacity; never animate layout props; never transition: all; animations interruptible, no autoplay; correct transform-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-nums for compared numbers; status cues never colour-only; icon-only buttons carry aria-label; native semantics before ARIA; resilient to short and very long user content; locale-aware dates and numbers via Intl
  • 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: dark on <html>; <meta name="theme-color"> matches background; native <select> needs explicit colours on Windows
  • Hydration — inputs with value need onChange or defaultValue; 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/10xequity/claude-skill-library/web-design-guidelines/badge)](https://verified-skill.com/skills/10xequity/claude-skill-library/web-design-guidelines)

Something wrong with this skill or its page? Tell us.