optimize

Installation
Summary

Systematically identify and fix performance bottlenecks across loading, rendering, animations, and bundle size.

  • Covers five optimization areas: image optimization, JavaScript/CSS reduction, font loading, rendering performance, and animation efficiency
  • Includes Core Web Vitals guidance (LCP, FID/INP, CLS) with specific thresholds and remediation strategies
  • Provides code examples for common patterns: lazy loading, code splitting, layout thrashing prevention, GPU-accelerated animations, and virtual scrolling
  • Emphasizes measurement before and after optimization, testing on real devices with throttled connections, and avoiding premature optimization
SKILL.md

Identify and fix performance issues to create faster, smoother user experiences.

Assess Performance Issues

Understand current performance and identify problems:

  1. Measure current state:

    • Core Web Vitals: LCP, FID/INP, CLS scores
    • Load time: Time to interactive, first contentful paint
    • Bundle size: JavaScript, CSS, image sizes
    • Runtime performance: Frame rate, memory usage, CPU usage
    • Network: Request count, payload sizes, waterfall
  2. Identify bottlenecks:

    • What's slow? (Initial load? Interactions? Animations?)
    • What's causing it? (Large images? Expensive JavaScript? Layout thrashing?)
    • How bad is it? (Perceivable? Annoying? Blocking?)
    • Who's affected? (All users? Mobile only? Slow connections?)
Related skills

More from pbakaus/impeccable

Installs
81.4K
GitHub Stars
27.1K
First Seen
Mar 4, 2026