optimize

Diagnose and fix web frontend performance issues across loading, rendering, and bundle size.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/kireevkit15-sys/-1 --skill optimize-kireevkit15-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize
Source: https://github.com/kireevkit15-sys/-1/tree/main/skills/optimize
Command: npx skills add https://github.com/kireevkit15-sys/-1 --skill optimize-kireevkit15-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnose and remediate front-end performance problems that make web pages feel slow, janky, or heavy, focusing on measurable improvements in load time, rendering, animations, images, and bundle size.

Core Features & Use Cases

  • Performance Assessment: Measure Core Web Vitals (LCP, INP/FID, CLS), Time to Interactive, First Contentful Paint, bundle size, runtime frame rates, memory, and network waterfalls.
  • Targeted Optimizations: Actionable guidance for image formats and sizing, code-splitting and lazy loading, CSS critical-path and containment, font loading strategies, and animation rendering techniques.
  • Verification & Monitoring: Recommendations for profiling (Chrome DevTools, Lighthouse, WebPageTest), bundle analysis, real-user monitoring, and before/after validation on varied devices and network conditions.
  • Use Case Example: Optimize a slow mobile-first homepage by reducing hero image payload, splitting vendor code, deferring non-critical CSS, and validating LCP and INP improvements on low-end devices.

Quick Start

Use the optimize skill to audit my site's homepage, prioritize fixes, and get step-by-step recommendations to improve Core Web Vitals and reduce bundle size.

Frequently Asked Questions about optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve Core Web Vitals like LCP and INP for a slow web frontend?

To improve Core Web Vitals like LCP and INP, you can analyze loading, rendering, and bundle size to receive actionable recommendations. This includes image optimization, code splitting, and critical-path CSS improvements to reduce load times and boost interactivity.

What is the best way to reduce JavaScript bundle size and improve web performance?

The best way to reduce JavaScript bundle size involves analyzing your bundle and applying code splitting alongside lazy loading. This targeted optimization decreases payload overhead and significantly improves Time to Interactive for both desktop and mobile users.

How do I diagnose runtime frame rate drops and janky animations in a PWA?

To diagnose runtime frame rate drops and janky animations in a PWA, you can use profiling steps with Chrome DevTools to analyze rendering bottlenecks. The process identifies memory issues and delivers animation rendering techniques to smooth out UI performance.

Can I get actionable image optimization strategies for mobile-first web pages?

Yes, you can get actionable image optimization strategies specifically for mobile-first web pages. The process analyzes hero image payloads and network waterfalls, recommending proper image formats and sizing to reduce bandwidth bottlenecks and improve First Contentful Paint.

What steps should I take to profile and validate frontend performance using Lighthouse?

To profile and validate frontend performance using Lighthouse, you should measure initial metrics, apply targeted optimizations like deferring non-critical CSS, and then run before and after validation. This verifies improvements against real-user metrics on varied devices.

How do I fix font loading strategies that block rendering and slow down my web UI?

To fix font loading strategies that block rendering, you can analyze your network waterfalls and critical rendering path. The process provides actionable font loading changes that prevent layout shifts and remove render-blocking resources to smooth out web UI performance.