web-interface-guidelines
/web-interface-guidelines
Stosuje wytyczne UI Vercela do przeglądu i budowy komponentów pod kątem dostępności, wydajności, animacji i stabilności wizualnej.
- Autor
- benchflow-ai ↗
- Repozytorium
- skillsbench ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 12.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Stosuje wytyczne UI Vercela do przeglądu i budowy komponentów pod kątem dostępności, wydajności, animacji i stabilności wizualnej.
Oryginalny opis (EN)
Vercel's comprehensive UI guidelines for building accessible, performant web interfaces. Use this skill when reviewing or building UI components for compliance with best practices around accessibility, performance, animations, and visual stability.
Jak działa
- Quick Reference - Visual Stability
- Full Rules
Podgląd SKILL.md
--- name: web-interface-guidelines description: Vercel's comprehensive UI guidelines for building accessible, performant web interfaces. Use this skill when reviewing or building UI components for compliance with best practices around accessibility, performance, animations, and visual stability. --- # Web Interface Guidelines Review UI code for compliance with Vercel's web interface standards. ## Quick Reference - Visual Stability | Issue | Rule | |-------|------| | Images without dimensions | `<img>` needs explicit `width` and `height` (prevents CLS) | | Font loading flash | Critical fonts: `<link rel="preload" as="font">` with `font-display: swap` | | Large lists | Virtualize lists >50 items (`content-visibility: auto`) | | Layout reads in render | No `getBoundingClientRect`, `offsetHeight` in render path | ## Full Rules ### Images - `<img>` needs explicit `width` and `height` (prevents CLS) - Below-fold images: `loading="lazy"` - Above-fold critical images: `priority` or `fetchpriority="high"` ### Performance - Large lists (>50 items): virtualize (`virtua`, `content-visibility: auto`) - No layout reads in render (`getBoundingClientRect`, `offsetHeight`, `offsetWidth`, `scrollTop`) - Batch DOM reads/writes; avoid interleaving - Add `<link rel="preconnect">` for CDN/asset domains - Critical fonts: `<link rel="preload" as="font">` with `font-display: swap` ### Accessibility - Icon-only buttons need `aria-label` - Form controls need `<label>` or `aria-label` - Interactive elements need keyboard handlers (`onKeyDown`/`onKeyUp`) - `<button>` for actions, `<a>`/`<Link>` for navigation (not `<div onClick>`) - Images need `alt` (or `alt=""` if decorative) ### Focus States - Interactive elements need visible focus: `focus-visible:ring-*` or equivalent - Never `outline-none` / `outline: none` without focus replacement - Use `:focus-visible` over `:focus` (avoid focus ring on click) ### Animation - Honor `prefers-reduced-motion` (provide reduced variant or disable) - Animate `transform`/`opacity` only (compositor-friendly) - Never `transition: all`—list properties explicitly ### Forms - Inputs need `autocomplete` and meaningful `name` - Use correct `type` (`email`, `tel`, `url`, `number`) and `inputmode` - Never block paste (`onPaste` + `preventDefault`) - Labels clickable (`htmlFor` or wrapping control) ### Content Handling - Text containers handle long content: `truncate`, `line-clamp-*`, or `break-words` - Flex children need `min-w-0` to allow text truncation - Handle empty states—don't render broken UI for empty strings/arrays ### Anti-patterns (flag these) - `user-scalable=no` or `maximum-scale=1` disabling zoom - `transition: all` - `outline-none` without focus-visible replacement - Images without dimensions - Large arrays `.map()` without virtualization - Form inputs without labels - Icon buttons without `aria-label`
Pliki w paczce (2)
- LICENSE 1 KB
- SKILL.md 3 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · benchflow-ai/skillsbench | 90 | Apache-2.0 |
| rynhult/rynhult | 100 | MIT |
| artivilla/agents-config | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki e630f22d5a4e (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100web-design-guidelines
Przegląda kod UI pod kątem zgodności z Web Interface Guidelines, gdy użytkownik prosi o sprawdzenie dostępności lub UX. - 100web-design-guidelines
Przegląda komponenty UI pod kątem wytycznych Web Interface Guidelines, w tym dostępności i zgodności z dobrymi praktykami. - 100web-design-guidelines
Audytuje kod UI pod kątem wytycznych interfejsu: dostępności, UX i wydajności, przy przeglądzie aplikacji webowej. - 100web-design-guidelines
Przegląda kod interfejsu pod kątem zgodności z wytycznymi Web Interface Guidelines, np. przy sprawdzaniu dostępności i UX. - 100web-design-guidelines
Przegląda kod UI pod kątem dostępności, interakcji i wydajności, według reguł z wytycznych interfejsu sieciowego. - 100web-design-guidelines
Przegląda kod frontendu pod kątem dostępności, wydajności i UX na podstawie ponad stu reguł.