Web interface guidelines

From UCSB-NLP-Chang/Skill-Usage · View interactive version

Web interface guidelines is an AI agent skill from the GitHub repository UCSB-NLP-Chang/Skill-Usage. 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.

How to use this skill

Skill file

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

Performance

Accessibility

Focus States

Animation

Forms

Content Handling

Anti-patterns (flag these)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.