---
title: "Optimizing EF Core Queries - Air Market"
description: "A screen or job is slow and the culprit is a database query written through EF Core. This works on that query so it produces less SQL, talks to the database fewer times, and comes back sooner. Reach…"
canonical: "https://airmarket.ai/app/optimizing-ef-core-queries"
---

[Air Market](/) / [Developer Tools](/category/devtools) / Optimizing EF Core Queries

Skill by [.NET Platform](/@dotnet)

# Optimizing EF Core Queries

For the EF Core query that is quietly holding everything up

## What this does

A screen or job is slow and the culprit is a database query written through EF Core. This works on that query so it produces less SQL, talks to the database fewer times, and comes back sooner. Reach for it whenever a data-access path is slower than it should be.

### Top 3 things it does for you

- Speed up a slow EF Core query
- Cut down the number of database round-trips a page makes
- Work out why a query generates so much SQL

## Information

**Optimizing EF Core Queries at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [.NET Platform](/@dotnet) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 11 KB |
| Licence | MIT |
| Repository | [dotnet/skills](https://github.com/dotnet/skills/tree/8b6b51ba59d1dbccc8f6eb1b11c46040e5979202/plugins/dotnet-data/skills/optimizing-ef-core-queries) |
| GitHub stars | 5,236 (as of Nov 2026) |
| Installs | 6,734, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Optimizing EF Core Queries and flagged nothing. AIR's verdict: **safe**.

**What Optimizing EF Core Queries's check was run against**

|  |  |
| --- | --- |
| Commit | 8b6b51ba59d1dbccc8f6eb1b11c46040e5979202 |
| Content hash | 208db87e0a90eb74fa56b6d431b9b72180ac425d5fd7129f715f8530414b181c |
| Files read | [Browse the files at this exact commit](https://github.com/dotnet/skills/blob/8b6b51ba59d1dbccc8f6eb1b11c46040e5979202/plugins/dotnet-data/skills/optimizing-ef-core-queries/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Optimizing EF Core Queries](/security/optimizing-ef-core-queries)

## About Optimizing EF Core Queries

This is about making slow Entity Framework Core queries faster: generating less SQL, making fewer database round-trips, and returning results more quickly.

Use it whenever an EF Core or DbContext query or data-access path is slow or should be made faster. It applies whether or not EF Core owns the database schema.

It is for EF Core specifically, not Dapper or raw ADO.NET.

## What's inside

- SKILL.md - instructions

## Questions

### Is Optimizing EF Core Queries safe to install?

AIR scanned this exact version of Optimizing EF Core Queries and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 8b6b51ba59d1, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/optimizing-ef-core-queries.

### How do I install Optimizing EF Core Queries?

Open https://airmarket.ai/app/optimizing-ef-core-queries on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/dotnet/skills/tree/8b6b51ba59d1dbccc8f6eb1b11c46040e5979202/plugins/dotnet-data/skills/optimizing-ef-core-queries. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by .NET Platform](/@dotnet)

---

Canonical URL: <https://airmarket.ai/app/optimizing-ef-core-queries>
