Speed pass: make the page load fast
Targets the usual culprits in AI-generated frontends: huge images, heavy libraries, and blocking scripts.
Improve load performance of [PAGE/ROUTE] without changing how it looks. 1. Build for production and list the largest JS bundles and assets. 2. Find: unoptimised images (no width/height, no modern format, not lazy-loaded below the fold), libraries imported whole when only one function is used, client components that could be server-rendered, and blocking third-party scripts. 3. Propose fixes ranked by impact vs. effort. Wait for my OK. 4. After applying, rebuild and report before/after bundle sizes.
Tips
- Measure with Lighthouse or PageSpeed Insights before and after.
Works with: Cursor, Claude Code, Codex, Replit, Lovable, Bolt, v0. Last reviewed 2026-11-13.