performance-optimization

Profile applications and verify performance improvements against Core Web Vitals targets.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Performance improvements that are not based on data waste time and destabilize releases. This skill enforces measurement, identification, and verification so teams can fix confirmed bottlenecks and keep user experiences fast.

Core Features & Use Cases

  • Structured workflow that follows the five steps of measure, identify, fix, verify, and guard while combining synthetic tooling like Lighthouse/DevTools with real-user metrics from web-vitals or APM.
  • Diagnostic guidance for common bottlenecks covering frontend render-blocking resources, bundle size, CLS, JS main-thread stalls, and backend issues such as N+1 queries, unbounded data fetching, missing caches, and routing latency, with good-practice replacements.
  • Guardrails and budgets that define Core Web Vitals targets, JavaScript/CSS/image/font payload caps, API latency thresholds, CI checks, and references/performance-checklist for deeper compliance.
  • Use Case: When a marketing or e-commerce release must keep LCP ≤ 2.5s and API p95 below 200ms, use this skill to instrument metrics, apply targeted fixes, measure before and after, and report results to stakeholders.

Quick Start

Kick off by measuring Core Web Vitals and walking through the workflow to fix the slowest metric.

Frequently Asked Questions about performance-optimization

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

FAQPage Schema
How do I fix Core Web Vitals and API latency bottlenecks?

To fix Core Web Vitals and API latency bottlenecks, profile your systems before making changes to identify frontend and backend issues degrading user experience. This approach ensures targeted fixes with documented before-and-after verification.

What is the best way to reduce high LCP and slow API p95 latency?

The best way to reduce high LCP and slow API p95 latency is following a structured workflow: measure, identify, fix, verify, and guard. This method combines synthetic tooling like Lighthouse and DevTools with real-user metrics from web-vitals or APM.

How do I set up CI-driven bundle budgets for JavaScript and CSS payload?

To set up CI-driven bundle budgets for JavaScript and CSS payload, define performance guardrails capping JS, CSS, image, and font sizes alongside Core Web Vitals targets. These budgets enforce performance checks during your release process.

How do I diagnose frontend render-blocking resources and JS main-thread stalls?

To diagnose frontend render-blocking resources and JS main-thread stalls, use diagnostic guidance for common bottlenecks covering render-blocking resources, bundle size, CLS, and main-thread stalls. This provides good-practice replacements for identified frontend issues.

How do I resolve backend N+1 queries and unbounded data fetching latency?

To resolve backend N+1 queries and unbounded data fetching latency, apply diagnostic guidance for common backend bottlenecks including missing caches and routing latency. This provides good-practice replacements to fix confirmed backend issues.

Do I need real-user metrics to verify application performance optimization?

You need real-user metrics to verify application performance optimization because this skill combines synthetic tooling like Lighthouse and DevTools with real-user metrics from web-vitals or APM. This ensures documented before-and-after verification of your targeted fixes.