performance-optimization

Identify and fix performance bottlenecks in web and backend applications.

15|3|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/LazyIsEfficient/agentic-os --skill performance-optimization-lazyisefficient
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/LazyIsEfficient/agentic-os/tree/main/.claude/skills/performance-optimization
Command: npx skills add https://github.com/LazyIsEfficient/agentic-os --skill performance-optimization-lazyisefficient

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Optimizes application performance — Core Web Vitals (LCP, INP, CLS), N+1 query elimination, bundle size reduction, profiling-driven bottleneck fixes, and response-time SLA enforcement. Use when metrics show regression, users report slow behavior, or profiling reveals a concrete bottleneck.

Core Features & Use Cases

  • Core Web Vitals optimization, measurement, and guidance to keep performance budgets in check.
  • Bottleneck identification, profiling-driven fixes, and verification to ensure measurable improvements.
  • SLA-driven performance governance and guardrails to prevent regressions in production.

Quick Start

Start by running a baseline performance assessment and apply the five-step workflow to identify and fix bottlenecks.

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 like LCP and INP when my web application slows down?

To fix Core Web Vitals like LCP and INP, start by running a baseline assessment to measure metrics, then identify bottlenecks through profiling to implement targeted fixes and verify improvements against performance budgets.

What is the best way to identify and eliminate N+1 query bottlenecks during feature development?

The best way to eliminate N+1 query bottlenecks is using profiling-driven bottleneck identification. This approach measures baseline response times, locates the query inefficiencies, and applies fixes to ensure measurable improvements in backend SLA enforcement.

How do I establish performance guardrails to prevent regressions in production?

To establish performance guardrails against production regressions, implement CI performance budgets and continuous monitoring. This SLA-driven governance verifies that new features do not negatively impact load time, interactivity, or resource usage.

Does this approach work for both frontend bundle size reduction and backend response-time SLA enforcement?

Yes, this approach works for both frontend and backend optimization. It applies profiling-driven bottleneck fixes to reduce bundle size and enforces backend response-time SLAs by measuring and fixing slow user experiences across the entire stack.

When should I run a performance optimization workflow during a regression investigation?

You should run a performance optimization workflow during a regression investigation as soon as users report slow behavior or metrics show a drop. Begin by measuring the current baseline, then profile to locate and fix the specific bottlenecks.

What steps do I take to reduce bundle size and improve web application interactivity?

To reduce bundle size and improve interactivity, apply a five-step workflow: measure baseline performance, identify bottlenecks via profiling, implement fixes for bundle reduction, verify the improvements, and establish CI budgets to prevent regressions.