optimize

Diagnose and fix UI performance issues using core web vitals metrics.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/42team-ru/mpit-final --skill optimize-42team-ru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize
Source: https://github.com/42team-ru/mpit-final/tree/main/frontend/.claude/skills/optimize
Command: npx skills add https://github.com/42team-ru/mpit-final --skill optimize-42team-ru

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses and fixes UI performance across loading speed, rendering, animations, images, and bundle size. Use when the user mentions slow, laggy, janky performance, large bundle sizes, long load times, or a desire for a faster, smoother experience.

Core Features & Use Cases

  • Performance assessment: measure core web vitals (LCP, FID/INP, CLS), load times, bundle size, and runtime metrics.
  • Targeted optimization: reduce render-blocking JS, optimize images and fonts, and streamline animations and layout.
  • Practical scenarios: diagnose a slow first paint on startup and propose a prioritized plan with measurable improvements.

Quick Start

Run a quick UI performance audit and apply prioritized fixes to improve responsiveness.

Frequently Asked Questions about optimize

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

FAQPage Schema
How do I fix slow initial load times and janky React interactions?

To fix slow initial load times and janky React interactions, you need a structured performance optimization plan that measures core web vitals like LCP and INP, reduces render-blocking JavaScript, and verifies before and after improvements.

What is the best way to reduce a large frontend bundle size?

The best way to reduce a large frontend bundle size is to diagnose UI performance metrics and apply targeted optimizations that minimize render-blocking scripts, streamline loading processes, and verify the reduced bundle size iteratively.

How does measuring core web vitals improve frontend performance?

Measuring core web vitals like LCP, FID, INP, and CLS improves frontend performance by quantifying loading speed, interactivity, and visual stability, which guides iterative fixes for render-blocking resources and layout shifts.

Can I optimize web animations and images for smoother UX?

Yes, you can optimize web animations and images for smoother UX by assessing runtime performance metrics and applying targeted fixes to streamline animations, layout rendering, and image loading within your frontend application.

Why does my UI feel laggy despite having a small bundle size?

Your UI might feel laggy despite a small bundle size due to runtime performance issues like layout thrashing or unoptimized animations, requiring a diagnostic assessment of rendering metrics and core web vitals beyond just load times.

Do I need to measure network metrics to diagnose slow page load speed?

Yes, measuring network metrics is required alongside core web vitals and load times to accurately diagnose slow page load speed, as it helps identify bottlenecks in resource delivery and render-blocking assets.