Frontend performance

From rnavarych/alpha-engineer · View interactive version

Frontend performance is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Frontend performance expertise including Core Web Vitals (LCP, INP, CLS), code splitting, tree shaking, image optimization (WebP, AVIF, lazy loading), font loading strategies, service workers, and bundle analysis with webpack-bundle-analyzer.

How to use this skill

Skill file

Frontend Performance

When to use

Core principles

  1. Measure before optimizing — profile first, then fix the specific bottleneck
  2. LCP image must never be lazy-loaded — fetchpriority="high" + loading="eager" always
  3. Budget enforced in CI — size-limit or Lighthouse CI blocks regressions before they ship
  4. Animate transform and opacity only — everything else triggers layout or paint
  5. Server state before client state — SSR/SSG gives you LCP for free; hydrate selectively

Reference Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.