performance-optimization

Identify and fix performance bottlenecks in frontend and backend systems.

40|9|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/akillness/oh-my-skills --skill performance-optimization-akillness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/akillness/oh-my-skills/tree/main/.agent-skills/performance-optimization
Command: npx skills add https://github.com/akillness/oh-my-skills --skill performance-optimization-akillness

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams accelerate web app performance by identifying and fixing bottlenecks across frontend and backend, leading to faster load times, smoother interactions, and improved user satisfaction.

Core Features & Use Cases

  • Lighthouse-based performance measurement and web-vitals integration
  • React optimization patterns: React.memo, useMemo, useCallback
  • Lazy loading and code splitting to minimize initial load
  • Bundle size reduction and analyzer tooling
  • Image optimization and modern formats
  • Database query optimization, caching, and N+1 reduction
  • End-to-end guidance for performance regression testing

Quick Start

Run the performance-optimization workflow on your project to begin measuring your app and applying targeted improvements.

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 performance bottlenecks in a React web app?

To identify and fix performance bottlenecks in a React web app, use Lighthouse and web-vitals utilities to measure issues, then apply React.memo, useMemo, and useCallback patterns to prevent unnecessary re-renders and improve interaction speed.

What's the best way to reduce bundle size and minimize initial load time?

The best way to reduce bundle size and minimize initial load time is implementing lazy loading and code splitting. Bundle analyzer tooling helps visualize and target specific chunks for reduction, ensuring faster delivery of JavaScript assets.

How does lazy loading and code splitting improve web vitals scores?

Lazy loading and code splitting improve web vitals scores by deferring non-critical JavaScript execution until needed. This directly reduces initial bundle size and parsing time, which lowers LCP and CLS metrics for a smoother loading experience.

Can I use this approach to optimize database queries and fix N+1 issues?

Yes, you can optimize database queries and fix N+1 issues using this approach. It provides targeted improvements for backend systems by implementing query optimization and caching strategies to reduce server response times and database load.

Do I need Lighthouse and web-vitals utilities to measure frontend performance?

Yes, you need Lighthouse and web-vitals utilities to measure frontend performance effectively. These tools provide deterministic metrics on load times and interactions, guiding the specific React optimization and bundling improvements required for your application.

When should I optimize images and use modern formats for web performance?

You should optimize images and use modern formats during web performance tuning when bundle analysis or Lighthouse audits indicate heavy asset payloads. Converting and compressing images significantly reduces network transfer time and improves overall page load speeds.