performance-analyzer

Analyze code and database queries for performance regressions and anti-patterns.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/mouayadakel/flixCamFinal --skill performance-analyzer-mouayadakel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-analyzer
Source: https://github.com/mouayadakel/flixCamFinal/tree/main/.cursor/skills/performance-analyzer
Command: npx skills add https://github.com/mouayadakel/flixCamFinal --skill performance-analyzer-mouayadakel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies and helps resolve performance bottlenecks in your code and database queries, preventing slow applications and improving user experience.

Core Features & Use Cases

  • N+1 Query Detection: Pinpoints inefficient database query patterns.
  • Index Optimization: Suggests adding database indexes for faster lookups.
  • Algorithm Efficiency: Identifies and suggests improvements for inefficient code logic.
  • Use Case: When you modify a database query or add a new loop, this Skill can analyze the change for potential performance regressions like N+1 queries or unpaginated fetches, and provide optimized code snippets.

Quick Start

Use the performance-analyzer skill to check the attached file 'database_queries.sql' for N+1 queries.

Frequently Asked Questions about performance-analyzer

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

FAQPage Schema
How do I detect N+1 queries in my database code?

To detect N+1 queries, you need static analysis that pinpoints inefficient database query patterns. This Skill analyzes your code and database queries to identify N+1 query anti-patterns and provides optimized code suggestions.

What is the best way to optimize database queries for missing indexes?

The best way to optimize database queries for missing indexes is through index optimization analysis. This Skill examines your queries and suggests adding database indexes for faster lookups, including impact estimations for the changes.

How do I identify inefficient synchronous operations within loops?

To identify inefficient synchronous operations within loops, you analyze code logic for algorithmic efficiency. This Skill detects synchronous operations inside loops and unpaginated data fetches, then suggests optimized code snippets.

Can I analyze unpaginated data fetches for performance regressions?

Yes, you can analyze unpaginated data fetches for performance regressions. This Skill examines your code modifications to detect unpaginated fetches, inefficient algorithms, and API modifications, providing impact estimations for large file operations.

Do I need any specific dependencies to analyze code for performance bottlenecks?

You do not need any specific dependencies to analyze code for performance bottlenecks. This Skill operates with no external dependencies and analyzes your code and database queries directly to resolve slow application performance.