frontend-performance
Installation
SKILL.md
Frontend Performance
Workflow
- Define the user-visible symptom and performance target.
- Measure bundle size, network, rendering, hydration, and layout shift before changing code.
- Identify the bottleneck: JavaScript, CSS, images, data fetching, rendering, or third-party scripts.
- Apply the smallest effective optimization.
- Measure again using the same method.
Common Fixes
- Code split, lazy load, memoize carefully, reduce re-renders.
- Optimize images, fonts, caching, and critical CSS.
- Remove unused dependencies and heavy client-side work.