performance

Analyze code for N+1 queries, memory leaks, and async issues.

2|1|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/1ambda/dataops-platform --skill performance-1ambda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance
Source: https://github.com/1ambda/dataops-platform/tree/main/.copilot/skills/performance
Command: npx skills add https://github.com/1ambda/dataops-platform --skill performance-1ambda

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 your codebase, leading to faster response times and more efficient resource utilization.

Core Features & Use Cases

  • N+1 Query Detection: Pinpoints inefficient database query patterns.
  • Memory Leak Investigation: Helps find and fix memory consumption issues.
  • Async Pattern Analysis: Identifies blocking calls in asynchronous code.
  • Caching Opportunities: Suggests where caching can improve performance.
  • Use Case: When users report slow loading times on a specific feature, use this Skill to analyze the relevant code, identify N+1 queries or memory leaks, and suggest optimizations.

Quick Start

Use the performance skill to search for N+1 query patterns in the codebase.

Frequently Asked Questions about performance

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

FAQPage Schema
How do I find N+1 queries in my codebase?

To detect N+1 queries, analyze your codebase using pattern matching and symbol analysis to pinpoint inefficient database query patterns and identify anti-patterns causing redundant fetches.

What is the best way to detect memory leaks during software development?

The best way to detect memory leaks is to investigate memory consumption issues by analyzing code symbols to locate unmanaged resource allocations and resolve performance bottlenecks.

How do I identify blocking calls in asynchronous code?

To identify blocking calls in asynchronous code, perform async pattern analysis to detect synchronous bottlenecks within your execution flow and suggest optimizations for better resource utilization.

Where should I add caching to improve performance?

You should add caching where pattern analysis identifies repeated expensive operations, utilizing symbol analysis to suggest caching opportunities that improve performance and optimize resource utilization.

Can I use this to analyze slow loading times on a specific feature?

Yes, you can analyze slow loading times by examining the relevant code for performance bottlenecks like N+1 queries, memory leaks, or async issues, and applying suggested optimizations.