nextjs-performance

Installation
SKILL.md

Next.js Performance Optimization

Before Starting

  1. Analyze current performance with Lighthouse
  2. Identify bottlenecks - check Core Web Vitals in Chrome DevTools or PageSpeed Insights
  3. Determine optimization priority:
    • LCP issues → Focus on images, fonts
    • INP issues → Reduce JS, use Server Components
    • CLS issues → Add dimensions, use next/font

Core Principles

  1. Prefer Server Components - Only use 'use client' when necessary (browser APIs, interactivity)
  2. Load components as low as possible - Keep Client Components at leaf nodes
  3. Use Suspense boundaries - Enable streaming and progressive loading
  4. Cache appropriately - Use tags for granular revalidation
  5. Measure before/after - Always verify improvements with real metrics
Installs
2
First Seen
Jul 4, 2026
nextjs-performance — jgamaraalv/delivery-loop