optimize

Diagnose and fix UI performance issues across loading, rendering, animations, images, and bundle size.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses and fixes UI performance issues across loading speed, rendering, animations, images, and bundle size. This helps teams deliver faster, smoother experiences for users across devices.

Core Features & Use Cases

  • Measurement-first optimizations: assess Core Web Vitals (LCP, FID/INP, CLS), load times, bundle sizes, and runtime performance to identify bottlenecks.
  • Targeted improvements: optimize images, JavaScript, CSS, fonts, and rendering strategies to boost perceived performance.
  • Use cases: apply to dashboards, e-commerce, or content sites seeking faster initial load, smoother interactions, and reduced layout shifts.

Quick Start

Run a lightweight audit to identify top bottlenecks and apply targeted optimizations to improve perceived performance.

Frequently Asked Questions about optimize

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

FAQPage Schema
How do I diagnose and fix slow web app UI performance issues?

Fix UI performance issues by systematically measuring Core Web Vitals like LCP, FID/INP, and CLS to identify bottlenecks, then applying targeted optimizations to images, JavaScript, CSS, and rendering strategies for faster, smoother web app experiences.

What are Core Web Vitals and when do I need to measure them for my SPA?

Core Web Vitals like LCP, FID/INP, and CLS are metrics that measure loading speed, interactivity, and visual stability. You need to measure them for your SPA when users encounter slow, laggy interfaces to identify specific performance bottlenecks.

What's the best way to reduce JavaScript bundle size for faster loading?

The best way to reduce JavaScript bundle size for faster loading is through measurement-first optimization, assessing bundle sizes to identify top bottlenecks, and applying targeted improvements to code paths and assets to boost perceived performance.

Can I optimize rendering and animations for dashboards and e-commerce sites?

Yes, you can optimize rendering and animations for dashboards and e-commerce sites. The approach targets rendering strategies and animations to reduce laggy interfaces, ensuring smoother interactions and reduced layout shifts for content-heavy sites.

Why does my web app have high layout shifts and laggy interactions?

Your web app has high layout shifts and laggy interactions due to unoptimized UI performance. Measuring Core Web Vitals like CLS and INP identifies the specific bottlenecks in images, CSS, and JavaScript causing the poor experience.

Does this approach work for optimizing images and fonts in content sites?

Yes, this approach works for optimizing images and fonts in content sites. It applies targeted improvements to image and font assets, boosting perceived performance and achieving faster initial load times for content-focused web applications.