What problem does it solve?
This Skill streamlines diagnosing and fixing web performance regressions and slow user experiences by providing actionable guidance to improve Core Web Vitals, reduce bundle bloat, speed up server responses, and implement effective caching strategies.
Core Features & Use Cases
- Performance Audits & Prioritization: Interpret Lighthouse and Web Vitals reports, identify high-impact regressions, and set performance budgets.
- Frontend Optimizations: Bundle analysis, code splitting, dynamic imports, image and font optimization, and lazy loading to reduce Time to Interactive and LCP.
- Backend & Database Tuning: Query optimization patterns (Prisma examples), connection pooling, indexing, and API pagination to lower TTFB and API latency.
- Caching & Network: Multi-layer caching strategies (CDN, edge, Redis, in-memory), compression, and cache invalidation patterns to improve hit rates and reduce load.
- Monitoring & CI: Integrate Lighthouse, Web Vitals, and APM tooling to track regressions and automate alerts.
- Use Case: For a Next.js app with poor LCP and large bundles, use this Skill to produce a prioritized plan that reduces bundle size, optimizes hero images, and configures CDN caching to meet LCP < 2.5s.
Quick Start
Audit the Next.js site for Core Web Vitals, list the top three bottlenecks by impact, and provide step-by-step fixes prioritized by effort and user-visible improvement.