optimize-perf

Profile and optimize database, backend, and frontend performance bottlenecks.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/hadimiftahulf/antigravity-skills --skill optimize-perf
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: optimize-perf
Source: https://github.com/hadimiftahulf/antigravity-skills/tree/main/optimize-perf
Command: npx skills add https://github.com/hadimiftahulf/antigravity-skills --skill optimize-perf

SYSTEM DOCUMENTATION & REQUIREMENTS

šŸ’” This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses application slowdowns by systematically identifying and resolving performance bottlenecks across database, backend, and frontend layers.

Core Features & Use Cases

  • Bottleneck Identification: Detects common performance anti-patterns like N+1 queries, synchronous I/O, memory bloat, large bundle sizes, and excessive re-renders.
  • Targeted Optimization: Applies specific fixes such as adding database indexes, implementing caching, optimizing frontend assets, and refactoring code for asynchronous operations.
  • Use Case: If your web application is experiencing slow load times, this Skill will first profile the system to pinpoint the exact cause (e.g., inefficient database queries) and then apply the necessary optimizations to improve speed.

Quick Start

Use the optimize-perf skill to identify and fix performance issues in the application.

Frequently Asked Questions about optimize-perf

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

FAQPage Schema
How do I identify and fix N+1 queries and other performance bottlenecks in my web application?ā–¼

To fix N+1 queries and performance bottlenecks, this skill profiles your application across database, backend, and frontend layers to detect anti-patterns and applies targeted optimizations like adding database indexes and caching.

What's the best way to optimize frontend bundle sizes and reduce excessive re-renders?ā–¼

The best way to optimize frontend bundle sizes and excessive re-renders is by running static profiling to identify the bloat, followed by applying frontend asset optimization techniques to improve application load times.

How does static profiling work for resolving synchronous I/O and memory bloat?ā–¼

Static profiling for synchronous I/O and memory bloat works by systematically scanning your application code to detect these common anti-patterns, enabling targeted refactoring for asynchronous processing and efficient memory usage.

Can I use this performance tuning skill across my entire stack including database, backend, and frontend?ā–¼

Yes, you can use this performance tuning skill across your entire stack. It systematically identifies and resolves bottlenecks across database, backend, and frontend layers to boost application speed.

When do I need to implement caching and asynchronous processing for application optimization?ā–¼

You need to implement caching and asynchronous processing when profiling reveals synchronous I/O bottlenecks or slow load times, allowing the skill to apply these specific optimizations to resolve the detected performance issues.