linq-optimization-patterns

Community

Speed EF Core with proven LINQ patterns.

Authoralexsandrocruz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps software engineers optimize LINQ and EF Core queries in ABP Framework applications, reducing N+1 queries, over-fetching, and inefficient pagination.

Core Features & Use Cases

  • Eager loading with Include/ThenInclude to fetch related data in a single query.
  • DTO projection to avoid loading full entities and improve read performance.
  • Batch loading for cross-repository data to prevent N+1 queries.
  • Efficient pagination with proper count-before-pagination patterns and optional filters.

Quick Start

Refactor a slow list API by applying Include/ThenInclude or batch loading and replace per-item queries with a single optimized query, then project to a DTO.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: linq-optimization-patterns
Download link: https://github.com/alexsandrocruz/DominusLeads/archive/main.zip#linq-optimization-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.