What problem does it solve?
Helps teams identify and fix frontend performance bottlenecks that cause slow page loads, janky interactions, and large bundle sizes so users experience faster, more responsive interfaces.
Core Features & Use Cases
- Loading Optimization: Image formats and sizing, lazy loading, critical CSS, resource preloading, and bundle reduction to speed initial load and Time to Interactive.
- Rendering & Runtime: Reduce layout thrashing, flatten DOM, use content-visibility and virtualization, and batch reads/writes to improve frame rate and CPU usage.
- Animation & Interaction: Prefer transform/opacity for GPU-accelerated animations, use requestAnimationFrame, and debounce expensive handlers to maintain 60fps.
- Framework & Network: Route-based code splitting, memoization patterns for React, API pagination, response compression, and CDN usage to lower payloads and requests.
- Validation & Monitoring: Measure Core Web Vitals, use profiling tools and bundle analyzers, and verify before/after improvements on real devices and throttled networks.
- Use Case: Audit a slow landing page, prioritize LCP and JS execution improvements, implement image and code-splitting changes, and validate gains with Lighthouse and real-user metrics.
Quick Start
Use the optimize skill to run a performance audit on the main page, prioritize the top three bottlenecks, and propose targeted fixes with measurable before-and-after metrics.