Skip to content
meirlabs

web-performance

Make a site fast — delivery, perceived speed, budgets, and CI

v0.1.0

The checklist of decisions that keep a Next.js site feeling instant, distilled from the Linear "how is it so fast" teardown and calibrated to the meirlabs stack. Three levers — ship less and load it in parallel, feel instant, stay smooth — plus the audit loop that turns a Lighthouse run into ranked fixes and the CI guard that fails a build when a route regresses. Steals Linear's techniques (optimistic UI, modulepreload, per-package chunks, the font checklist) without cargo-culting its local-first sync engine.

npx @meir-labs/skill-web-performance
GitHub

What it does

  • sets the non-negotiables: next/image for every raster, static-by-default rendering, transform/opacity-only animation, deferred third parties
  • runs the measure-first audit loop — Lighthouse, bundle analyzer, and real Core Web Vitals via PostHog — then ranks fixes by critical-path impact
  • budgets per route, not per site: LCP < 2.5s, INP < 200ms, CLS < 0.1, first-load JS < ~130KB
  • ships next.config perf defaults and a Lighthouse-CI / bundle-size guard so regressions fail loud instead of shipping