performance-optimizer

Profile backend, database, and frontend performance to diagnose and fix bottlenecks.

23|2|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/asgarovf/locusai --skill performance-optimizer-asgarovf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimizer
Source: https://github.com/asgarovf/locusai/tree/main/skills/performance-optimizer
Command: npx skills add https://github.com/asgarovf/locusai --skill performance-optimizer-asgarovf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and resolve performance bottlenecks in applications, leading to faster load times, reduced resource consumption, and improved user experience.

Core Features & Use Cases

  • Profiling: Measure backend, database, and frontend performance.
  • Bottleneck Identification: Detect issues like N+1 queries, missing indexes, and inefficient code.
  • Optimization Strategies: Apply fixes such as caching, query optimization, and code refactoring.
  • Use Case: When your web application's user dashboard is loading slowly, use this Skill to profile the API calls, identify the slow database queries, add the necessary indexes, and verify the performance improvement.

Quick Start

Use the performance-optimizer skill to profile the backend API endpoint /api/users and identify any performance bottlenecks.

Frequently Asked Questions about performance-optimizer

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

FAQPage Schema
How do I find and fix slow database queries in my application?

To fix slow database queries, you profile the backend to detect bottlenecks like N+1 queries and missing indexes. This Skill measures database performance, applies query optimization techniques, and verifies improvements through load testing.

What is the best way to reduce API latency and high memory usage?

Reducing API latency and high memory usage involves profiling backend endpoints to identify bottlenecks. This Skill diagnoses performance issues and applies optimization strategies like caching and code refactoring to decrease resource consumption.

How do I profile backend and frontend performance to identify bottlenecks?

Profiling backend and frontend performance requires measuring application responses to detect inefficient code. This Skill profiles these layers to pinpoint performance bottlenecks and resolves them via indexing, caching, and code refactoring.

Do I need load testing tools to verify performance optimization improvements?

Yes, load testing tools are required to verify performance optimization improvements. This Skill measures backend, database, and frontend performance, relying on load testing alongside profiling and SQL analysis to confirm latency issues are resolved.

When should I use caching and indexing to optimize application performance?

You should use caching and indexing when profiling reveals slow queries, missing indexes, and high memory usage. This Skill identifies these specific bottlenecks within your application and applies caching and indexing to improve load times and user experience.