frontend-performance
Installation
SKILL.md
Frontend Performance
Use this skill when
- Improving Core Web Vitals (LCP, INP, CLS)
- Reducing bundle size and network payloads
- Fixing render jank and long tasks
- Setting performance budgets
Do not use this skill when
- Backend/API performance is the issue (use backend performance skills)
Instructions
- Measure first: Lighthouse, web-vitals, DevTools performance panel.
- Target LCP: preload critical assets, minimize blocking JS.
- Reduce bundle: code splitting, tree shaking, remove duplicates.
- Optimize images: modern formats, responsive sizes, lazy loading.
- Minimize re-renders and layout thrashing.
- Avoid CLS: reserve space for images/ads, use font-display.
- Set budgets and alert on regressions in CI.