performance-optimization

Profile applications with Lighthouse and web-vitals to identify and fix performance bottlenecks.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/logo-solutions/NAS-logo --skill performance-optimization-logo-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/logo-solutions/NAS-logo/tree/main/skills/performance-optimization
Command: npx skills add https://github.com/logo-solutions/NAS-logo --skill performance-optimization-logo-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill turns vague performance issues and regressions into measured, actionable fixes by guiding teams to profile, identify, and remediate the true bottlenecks affecting user experience and backend latency.

Core Features & Use Cases

  • Measure & diagnose: Combines synthetic (Lighthouse, DevTools) and real-user (web-vitals, RUM) approaches to establish baselines and surface root causes.
  • Targeted remediation: Prescribes fixes for common anti-patterns like N+1 queries, oversized bundles, missing caching, unoptimized images, and main-thread work.
  • Verification & guardrails: Defines performance budgets, CI checks, and before/after measurements to prevent regressions and validate improvements.
  • Use case: Improve LCP and INP for a public-facing product page by profiling, optimizing image delivery and code-splitting, fixing backend query hotspots, and enforcing Lighthouse CI checks.

Quick Start

Use the performance-optimization skill to run Lighthouse and RUM profiling, identify the top bottleneck, and propose prioritized fixes.

Frequently Asked Questions about performance-optimization

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

FAQPage Schema
How do I identify and fix Core Web Vitals bottlenecks using Lighthouse profiling?

To fix Core Web Vitals bottlenecks, run Lighthouse and real-user monitoring to establish baselines, identify root causes like oversized bundles or main-thread work, and apply targeted remediations with before/after verification.

What is the best way to reduce bundle size and improve interaction latency?

The best way to reduce bundle size and improve interaction latency is to profile main-thread work, implement code-splitting and image delivery optimization, and enforce performance budgets through CI checks to prevent regressions.

How do I resolve N+1 database queries causing API response time regressions?

Resolve N+1 database queries causing API response time regressions by profiling backend query hotspots, applying targeted caching and query optimization fixes, and validating improvements through measured before/after latency verification.

Can I use performance budgets and CI checks to prevent frontend performance regressions?

Yes, you can use performance budgets and CI checks to prevent frontend regressions by enforcing Lighthouse thresholds and verifying that code-splitting and asset optimization changes maintain established Core Web Vitals baselines.

Does application performance optimization require both synthetic and real-user monitoring data?

Application performance optimization requires both synthetic and real-user monitoring data to accurately measure bottlenecks, combining Lighthouse DevTools profiling with web-vitals RUM data to establish baselines and surface root causes.

When should I not use performance optimization techniques for main-thread work?

You should not use performance optimization techniques for main-thread work without first gathering profiling data from Lighthouse or web-vitals, as targeted fixes require measurable baselines and root cause analysis to be effective.