Web performance optimization

From krishnakanthb13/antigravity_global_skills · View interactive version

Web performance optimization is an AI agent skill from the GitHub repository krishnakanthb13/antigravity_global_skills. Optimize website and web application performance including loading speed, Core Web Vitals, bundle size, caching strategies, and runtime performance.

How to use this skill

Skill file

Web Performance Optimization

Help developers optimize website and web application performance to improve user experience, SEO rankings, and conversion rates. This skill provides systematic approaches to measure, analyze, and improve loading speed, runtime performance, and Core Web Vitals metrics.

Workflow

  1. Measure Current Performance:
  1. Identify Issues:
  1. Prioritize Optimizations:
  1. Implement Optimizations:
  1. Verify Improvements:

Core Strategies

End-to-End Optimization (Advanced)

If coordinating optimization across the entire stack:

  1. Performance Profiling & Observability: Generate flame graphs (CPU) and heap dumps (memory) to identify hot paths. Assess distributed tracing (OpenTelemetry) and APM tool integration.
  2. Database & Backend: Analyze slow query logs, create missing indexes, optimize execution plans, implement query result caching (Redis). Fix N+1 queries. Implement pagination and response compression.
  3. Frontend & CDN/Edge: Code split, tree shake, lazy load. Configure edge caching (CloudFlare/CloudFront), HTTP/2/3, Brotli compression, and WebP/AVIF images.
  4. Mobile & PWA: Implement service workers for offline functionality. Adaptive loading for slow networks. Virtual scrolling for long lists.
  5. Load Testing & Validation: Design realistic load scenarios using k6/Gatling to test normal, peak, and stress levels before deploying optimizations.
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.