What problem does it solve?
This Skill addresses common performance bottlenecks in applications, including inefficient database queries, memory leaks, and suboptimal asynchronous operations.
Core Features & Use Cases
- Database Optimization: Identifies and suggests fixes for N+1 queries, missing indexes, and over-fetching data.
- Memory Management: Provides solutions for memory-intensive operations, such as inefficient string concatenation.
- Asynchronous Patterns: Corrects anti-patterns in async/await usage and identifies unnecessary asynchronous operations.
- Caching Strategies: Recommends and demonstrates effective caching techniques to reduce load.
- Use Case: A developer notices their application is slow when loading user lists. They use this Skill to analyze the database queries, identify an N+1 problem, and receive code examples to implement a batch query solution, significantly improving load times.
Quick Start
Use the performance skill to analyze and optimize the database queries for fetching user roles.