ui-performance-stability
Installation
SKILL.md
UI Performance Stability
Frontend performance is part of UX. The interface should stay responsive and visually stable with realistic data and slow networks.
Process
- Identify performance-sensitive surfaces: first viewport, LCP element, large lists, tables, charts, forms, third-party scripts, images, fonts, and async sections.
- Reserve dimensions for images, iframes, skeletons, cards, avatars, charts, alerts and lazy-loaded components.
- Avoid adding content above the user's current reading position unless caused by direct user action.
- Limit initial JS and lazy load heavy views, libraries and non-critical media.
- Avoid rendering thousands of elements without pagination or virtualization.
- Avoid expensive filtering/sorting/parsing in render paths.
- Distinguish server state from client state and avoid request waterfalls.
- Test with realistic record counts, weak devices, slow API, background refetch and retries.