optimize

Assess and fix front-end performance issues with before/after metrics.

2|1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/duggal1/Sapphire-cli --skill optimize-duggal1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize
Source: https://github.com/duggal1/Sapphire-cli/tree/main/internal/skills/bundled/optimize
Command: npx skills add https://github.com/duggal1/Sapphire-cli --skill optimize-duggal1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Performance assessment and strategy to reduce loading times, render work, and bundle size.
  • Systematic optimization plan across images, JavaScript, CSS, and network requests.
  • Use Case: Imagine a web app with long TTI and CLS; apply this Skill to orchestrate measurements, prioritize fixes, and implement changes with measurable improvements.

Quick Start

Run the optimize skill on your project to generate and implement a prioritized performance improvement plan.

Frequently Asked Questions about optimize

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

FAQPage Schema
How do I fix high Core Web Vitals and long loading times in my web app?

To fix high Core Web Vitals and long loading times, you must assess current performance, devise a targeted optimization strategy, and implement changes across loading, rendering, and bundle size to achieve measurable improvements.

What is the best way to improve frontend rendering and animation performance?

Improving frontend rendering and animation performance requires identifying and fixing rendering bottlenecks by systematically reducing render work and optimizing CSS and JavaScript execution for a smoother user experience.

How do I reduce JavaScript bundle size and improve web performance?

To reduce JavaScript bundle size and improve web performance, apply a systematic optimization plan that targets JavaScript, CSS, and network requests, implementing changes and tracking before/after metrics to validate the size reduction.

Can I use a systematic workflow to optimize images and network requests for Core Web Vitals?

Yes, a systematic front-end optimization workflow can orchestrate measurements across images and network requests, prioritize fixes, and implement changes that yield measurable Core Web Vitals improvements.

Does front-end optimization work for both web and mobile interfaces?

Yes, front-end optimization applies across loading, rendering, animations, images, and bundle size in both web and mobile interfaces, systematically assessing current state and implementing changes for faster, smoother user experiences.