[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKSXK4FWFJFF4MD4449AH0":3,"skill-same:01M7EKSXK4FWFJFF4MD4449AH0":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M7EKSXK4FWFJFF4MD4449AH0","optimizing-ef-core-queries",null,"'Optimize and improve the performance of slow Entity Framework Core (EF Core) queries: make them generate less SQL, make fewer database round-trips, and return results faster. Use whenever an EF Core or DbContext query or data-access path is slow or should be","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fcloud\u002Foptimizing-ef-core-queries\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: optimizing-ef-core-queries\ndescription: \"'Optimize and improve the performance of slow Entity Framework Core (EF Core) queries: make them generate less SQL, make fewer database round-trips, and return results faster. Use whenever an EF Core or DbContext query or data-access path is slow or should be\"\ncategory: cloud\nversion: 1.0.0\ndisable-model-invocation: false\nrisk: low\nsource:\n  repository: \"microsoft\u002Fskills\"\n  commit: \"8f3b1a2c\"\n  path: \"plugins\u002Fdotnet-data\u002Fskills\u002Foptimizing-ef-core-queries\u002FSKILL.md\"\n  license: \"MIT\"\n  imported_at: \"2026-09-20\"\n---\n# Optimizing EF Core Queries\n\nDiagnose and fix slow Entity Framework Core (EF Core) queries. Start from the generated SQL\u002Flogs, apply the smallest change that removes the bottleneck, and confirm the fix by re-reading the SQL and the query count. Prefer changes that reduce round-trips, duplicated rows, scans, or per-call translation cost over micro-optimizations. Apply one change at a time and re-measure.\n\n## When to Use\n\n- EF Core queries are slow or emit far more SQL statements than expected\n- The same query repeats once per row (N+1 \u002F lazy loading)\n- Multiple collection `Include`s blow up or duplicate rows\n- Deep pages slow down as `Skip` grows, or bulk updates load rows just to modify them\n- A filtered\u002Fsorted query scans **even though the column is indexed**, or a filtered\u002Fsorted column has no supporting index\n- A hot, frequently-executed query pays EF Core's LINQ-translation cost on every call\n\n## When Not to Use\n\n- **The code uses Dapper or raw ADO.NET, not EF Core.** Answer the SQL\u002Findexing\u002Fquery-plan question directly; do not introduce a `DbContext` or recommend `AsNoTracking`, `Include`, `AsSplitQuery`, or other EF Core APIs.\n\n## First: capture the generated SQL\n\nYou cannot optimize what you cannot see. Turn on command logging and read the SQL and query count before changing anything:\n\n```csharp\noptionsBuilder.LogTo(Console.WriteLine, LogLevel.Information);\n\u002F\u002F or set \"Microsoft.EntityFrameworkCore.Database.Command\": \"Information\" in appsettings.json\n```\n\nTag a query with `.TagWith(\"...\")` to find it in the log. Count how many statements a slow operation runs, and how many rows each returns, before and after each change.\n\n## Fixes\n\n### Keep predicates sargable — never wrap an indexed column in a function\n\nAn index can only be used when the indexed column appears **bare** on one side of the comparison. Wrapping it in a function or arithmetic — `CreatedAt.Year == y`, `CreatedAt.Date == d`, `ToLower(Name) == n`, `Price * 1.1 > x`, or a leading-wildcard `LIKE '%foo'` — forces a per-row computation the index cannot satisfy, so the query **scans the whole table even though the index exists**. Adding another index changes nothing. Rewrite the predicate so the column stays bare, usually as a half-open range:\n\n```csharp\n\u002F\u002F Non-sargable: a function is computed for every row → full scan\ndb.Logs.Where(l => l.CreatedAt.Year == year);\n\n\u002F\u002F Sargable: bare column compared to constants → index seek\nvar start = new DateTime(year, 1, 1);\ndb.Logs.Where(l => l.CreatedAt >= start && l.CreatedAt \u003C start.AddYears(1));\n```\n\nThe same rule covers several common shapes:\n\n- **Case-insensitive text** — compare a stored normalized column instead of `ToLower(...)`\u002F`ToUpper(...)`.\n- **Computed expressions** — compare against the precomputed constant, not `column * k > x`.\n- **Converting the column to another type** — a predicate over `column.ToString()` (for example matching the *text form* of a number or date, `total.ToString().StartsWith(p)`) applies a function to every row and often can't be translated to SQL at all, forcing a client-side evaluation that pulls the whole table into memory. Filter on the typed column with a real comparison or range instead.\n- **Substring search** — `name.Contains(term)` becomes an unanchored `LIKE '%term%'` that can't seek an index and scans the table; a trailing-wildcard prefix (`name.StartsWith(term)` → `'term%'`) can seek. Anchor the search when a prefix match is acceptable — this changes which rows match, so confirm the behavior first — and put real substring or fuzzy search behind a full-text index on large tables.\n\n**Verify:** the plan shows a seek\u002Findex instead of a scan and duration drops. If the column genuinely has no index, add one (see below) — but only after the predicate is sargable.\n\n### Compile hot, frequently-executed queries\n\nOn a very hot path that runs the *same* query shape thousands of times over a reused context, EF Core re-parses the LINQ expression tree and probes its query cache on every call. When the query is already minimal (an indexed lookup or a small projection) and read-only tweaks such as `AsNoTracking` buy nothing, that per-call translation is the remaining cost. Compile the query once with `EF.CompileQuery` \u002F `EF.CompileAsyncQuery` and reuse the delegate:\n\n```csharp\nprivate static readonly Func\u003CAppDbContext, int, ProductListItem> GetProduct =\n    EF.CompileQuery((AppDbContext db, int id) =>\n        db.Products.Where(p => p.Id == id)\n                   .Select(p => new ProductListItem(p.Id, p.Name, p.Price))\n                   .First());\n\npublic ProductListItem Lookup(AppDbContext db, int id) => GetProduct(db, id);\n```\n\nThe delegate is `static` (compiled once) and takes the `DbContext` plus each parameter as arguments. Use it for endpoints or loops that execute one query shape at very high frequency; it does nothing for one-off queries.\n\n**Verify:** the hot loop's mean time drops with identical results.\n\n### Remove N+1 and avoid lazy loading\n\nThe same `SELECT` repeated once per row (a navigation accessed inside a loop) is an N+1. Load the related data in one round-trip — project the aggregates with `Select`, or eager-load with `Include`:\n\n```csharp\nvar summaries = await db.Orders\n    .Select(o => new OrderSummary(o.Id, o.Items.Count, o.Items.Sum(i => i.Price)))\n    .ToListAsync();\n```\n\nPrefer projection or `Include` over lazy loading: lazy loading is a leading cause of N+1 and forces synchronous I\u002FO. In server apps, don't enable `Microsoft.EntityFrameworkCore.Proxies` or mark navigations `virtual` for lazy loading.\n\n**Verify:** a fixed, small query count regardless of row count.\n\n### Split multiple collection Includes\n\n`Include`ing two or more collection navigations in one query multiplies rows (a Cartesian explosion) and duplicates parent data. Use `AsSplitQuery()` so each collection loads in its own statement; add `OrderBy` on a unique key so rows stitch together:\n\n```csharp\ndb.Blogs.Include(b => b.Posts).Include(b => b.Contributors).AsSplitQuery();\n```\n\n**Verify:** rows per statement drop sharply and total duration improves.\n\n### Filter and paginate; prefer keyset over offset\n\nConstrain large result sets with `Where`, and page with **keyset (seek)** pagination rather than `Skip`\u002F`Take`, which still scans and discards the skipped rows on deep pages:\n\n```csharp\ndb.Orders.Where(o => o.Id > lastSeenId).OrderBy(o => o.Id).Take(pageSize);\n```\n\nOrder by a unique, stable, indexed key (add tie-breakers if the sort column isn't unique). Keyset pages by the *last key seen* rather than a page number, so it changes the method's inputs; when a fixed signature rules out an in-place switch, still flag the deep-offset scan and recommend keyset.\n\n**Verify:** page latency stays roughly constant from early to deep pages.\n\n### Add missing indexes\n\nMoving a filter into SQL or making a predicate sargable stops the *client-side* waste, but a `WHERE` or `ORDER BY` on a column with no index still scans the whole table inside the database — and a frequently-run query then re-scans it on every call. So audit index coverage separately from the query rewrite: for each query, check whether its filter and sort columns are backed by an index. Entity keys and foreign keys are indexed by convention, but other columns — status flags, state\u002Fenum fields, timestamps, names — usually are **not** unless the model configures it. When a hot query filters or sorts on such an unindexed column, recommend adding an index and say so explicitly, even when the rewritten query already returns the right rows: the index is a separate fix the code change alone doesn't deliver. (If the predicate isn't sargable, fix that first — a new index can't help a scan caused by a function on the column.)\n\nIf EF Core owns the schema, add the index in the model and migrate:\n\n```csharp\nmodelBuilder.Entity\u003COrder>()\n    .HasIndex(o => new { o.CustomerId, o.CreatedAt }); \u002F\u002F equality column first, then range\u002Fsort\n```\n\nThen create the migration with `dotnet ef migrations add ...`. **Do not apply it** with `dotnet ef database update` (or any equivalent that writes to the database) without explicit user approval — applying a migration mutates the database, so add the migration, show it to the user, and let them run the update once they've reviewed it. If EF Core does not own the schema, recommend the same index to whoever manages the database. Don't over-index — every index slows writes.\n\n**Verify:** the plan uses a seek\u002Findex instead of a scan.\n\n### Set-based bulk updates and deletes\n\nReplace a load-mutate-`SaveChanges` loop with `ExecuteUpdateAsync`\u002F`ExecuteDeleteAsync` (EF Core 7+) — one statement, no entities materialized:\n\n```csharp\nawait db.Products.Where(p => p.LastSoldDate \u003C cutoff)\n    .ExecuteUpdateAsync(s => s.SetProperty(p => p.IsActive, false));\n```\n\nThese bypass the change tracker and EF-side cascade behavior — apply related changes explicitly.\n\n**Verify:** a single `UPDATE`\u002F`DELETE` with a `WHERE` and no preceding `SELECT`.\n\n## Common Pitfalls\n\n| Pitfall | Fix |\n|---------|-----|\n| Wrapping an indexed column in `.Year`\u002F`.Date`\u002F`ToLower`\u002Farithmetic | Rewrite to a sargable range\u002Fcomparison on the bare column |\n| Adding an index to fix a scan on a non-sargable predicate | Fix the predicate first; the index can't help until the column is bare |\n| Rewriting a filter into SQL but leaving a hot query on an unindexed column | The server-side scan is still a scan — recommend an index on the filter\u002Fsort column too |\n| Compiling a query that runs only occasionally | Compile only genuinely hot, high-frequency query shapes |\n| Lazy loading (proxies \u002F `virtual` navigations) causing N+1 and forced sync I\u002FO | Eager-load (`Include`) or project; keep queries async |\n| `ToList()`\u002F`AsEnumerable()` before `Where`\u002F`Select` | Keep the query `IQueryable` so filtering\u002Fprojection run in SQL |\n\n## References\n\n- [Efficient querying — EF Core](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fperformance\u002Fefficient-querying)\n- [Compiled queries — EF Core](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fperformance\u002Fadvanced-performance-topics#compiled-queries)\n- [Efficient updating (ExecuteUpdate\u002FExecuteDelete) — EF Core](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fperformance\u002Fefficient-updating)\n- [Single vs. split queries](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fquerying\u002Fsingle-split-queries)\n- [Pagination](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fquerying\u002Fpagination)\n- [Indexes](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fmodeling\u002Findexes)\n","# Optimizing EF Core Queries\n\nDiagnose and fix slow Entity Framework Core (EF Core) queries. Start from the generated SQL\u002Flogs, apply the smallest change that removes the bottleneck, and confirm the fix by re-reading the SQL and the query count. Prefer changes that reduce round-trips, duplicated rows, scans, or per-call translation cost over micro-optimizations. Apply one change at a time and re-measure.\n\n## When to Use\n\n- EF Core queries are slow or emit far more SQL statements than expected\n- The same query repeats once per row (N+1 \u002F lazy loading)\n- Multiple collection `Include`s blow up or duplicate rows\n- Deep pages slow down as `Skip` grows, or bulk updates load rows just to modify them\n- A filtered\u002Fsorted query scans **even though the column is indexed**, or a filtered\u002Fsorted column has no supporting index\n- A hot, frequently-executed query pays EF Core's LINQ-translation cost on every call\n\n## When Not to Use\n\n- **The code uses Dapper or raw ADO.NET, not EF Core.** Answer the SQL\u002Findexing\u002Fquery-plan question directly; do not introduce a `DbContext` or recommend `AsNoTracking`, `Include`, `AsSplitQuery`, or other EF Core APIs.\n\n## First: capture the generated SQL\n\nYou cannot optimize what you cannot see. Turn on command logging and read the SQL and query count before changing anything:\n\n```csharp\noptionsBuilder.LogTo(Console.WriteLine, LogLevel.Information);\n\u002F\u002F or set \"Microsoft.EntityFrameworkCore.Database.Command\": \"Information\" in appsettings.json\n```\n\nTag a query with `.TagWith(\"...\")` to find it in the log. Count how many statements a slow operation runs, and how many rows each returns, before and after each change.\n\n## Fixes\n\n### Keep predicates sargable — never wrap an indexed column in a function\n\nAn index can only be used when the indexed column appears **bare** on one side of the comparison. Wrapping it in a function or arithmetic — `CreatedAt.Year == y`, `CreatedAt.Date == d`, `ToLower(Name) == n`, `Price * 1.1 > x`, or a leading-wildcard `LIKE '%foo'` — forces a per-row computation the index cannot satisfy, so the query **scans the whole table even though the index exists**. Adding another index changes nothing. Rewrite the predicate so the column stays bare, usually as a half-open range:\n\n```csharp\n\u002F\u002F Non-sargable: a function is computed for every row → full scan\ndb.Logs.Where(l => l.CreatedAt.Year == year);\n\n\u002F\u002F Sargable: bare column compared to constants → index seek\nvar start = new DateTime(year, 1, 1);\ndb.Logs.Where(l => l.CreatedAt >= start && l.CreatedAt \u003C start.AddYears(1));\n```\n\nThe same rule covers several common shapes:\n\n- **Case-insensitive text** — compare a stored normalized column instead of `ToLower(...)`\u002F`ToUpper(...)`.\n- **Computed expressions** — compare against the precomputed constant, not `column * k > x`.\n- **Converting the column to another type** — a predicate over `column.ToString()` (for example matching the *text form* of a number or date, `total.ToString().StartsWith(p)`) applies a function to every row and often can't be translated to SQL at all, forcing a client-side evaluation that pulls the whole table into memory. Filter on the typed column with a real comparison or range instead.\n- **Substring search** — `name.Contains(term)` becomes an unanchored `LIKE '%term%'` that can't seek an index and scans the table; a trailing-wildcard prefix (`name.StartsWith(term)` → `'term%'`) can seek. Anchor the search when a prefix match is acceptable — this changes which rows match, so confirm the behavior first — and put real substring or fuzzy search behind a full-text index on large tables.\n\n**Verify:** the plan shows a seek\u002Findex instead of a scan and duration drops. If the column genuinely has no index, add one (see below) — but only after the predicate is sargable.\n\n### Compile hot, frequently-executed queries\n\nOn a very hot path that runs the *same* query shape thousands of times over a reused context, EF Core re-parses the LINQ expression tree and probes its query cache on every call. When the query is already minimal (an indexed lookup or a small projection) and read-only tweaks such as `AsNoTracking` buy nothing, that per-call translation is the remaining cost. Compile the query once with `EF.CompileQuery` \u002F `EF.CompileAsyncQuery` and reuse the delegate:\n\n```csharp\nprivate static readonly Func\u003CAppDbContext, int, ProductListItem> GetProduct =\n    EF.CompileQuery((AppDbContext db, int id) =>\n        db.Products.Where(p => p.Id == id)\n                   .Select(p => new ProductListItem(p.Id, p.Name, p.Price))\n                   .First());\n\npublic ProductListItem Lookup(AppDbContext db, int id) => GetProduct(db, id);\n```\n\nThe delegate is `static` (compiled once) and takes the `DbContext` plus each parameter as arguments. Use it for endpoints or loops that execute one query shape at very high frequency; it does nothing for one-off queries.\n\n**Verify:** the hot loop's mean time drops with identical results.\n\n### Remove N+1 and avoid lazy loading\n\nThe same `SELECT` repeated once per row (a navigation accessed inside a loop) is an N+1. Load the related data in one round-trip — project the aggregates with `Select`, or eager-load with `Include`:\n\n```csharp\nvar summaries = await db.Orders\n    .Select(o => new OrderSummary(o.Id, o.Items.Count, o.Items.Sum(i => i.Price)))\n    .ToListAsync();\n```\n\nPrefer projection or `Include` over lazy loading: lazy loading is a leading cause of N+1 and forces synchronous I\u002FO. In server apps, don't enable `Microsoft.EntityFrameworkCore.Proxies` or mark navigations `virtual` for lazy loading.\n\n**Verify:** a fixed, small query count regardless of row count.\n\n### Split multiple collection Includes\n\n`Include`ing two or more collection navigations in one query multiplies rows (a Cartesian explosion) and duplicates parent data. Use `AsSplitQuery()` so each collection loads in its own statement; add `OrderBy` on a unique key so rows stitch together:\n\n```csharp\ndb.Blogs.Include(b => b.Posts).Include(b => b.Contributors).AsSplitQuery();\n```\n\n**Verify:** rows per statement drop sharply and total duration improves.\n\n### Filter and paginate; prefer keyset over offset\n\nConstrain large result sets with `Where`, and page with **keyset (seek)** pagination rather than `Skip`\u002F`Take`, which still scans and discards the skipped rows on deep pages:\n\n```csharp\ndb.Orders.Where(o => o.Id > lastSeenId).OrderBy(o => o.Id).Take(pageSize);\n```\n\nOrder by a unique, stable, indexed key (add tie-breakers if the sort column isn't unique). Keyset pages by the *last key seen* rather than a page number, so it changes the method's inputs; when a fixed signature rules out an in-place switch, still flag the deep-offset scan and recommend keyset.\n\n**Verify:** page latency stays roughly constant from early to deep pages.\n\n### Add missing indexes\n\nMoving a filter into SQL or making a predicate sargable stops the *client-side* waste, but a `WHERE` or `ORDER BY` on a column with no index still scans the whole table inside the database — and a frequently-run query then re-scans it on every call. So audit index coverage separately from the query rewrite: for each query, check whether its filter and sort columns are backed by an index. Entity keys and foreign keys are indexed by convention, but other columns — status flags, state\u002Fenum fields, timestamps, names — usually are **not** unless the model configures it. When a hot query filters or sorts on such an unindexed column, recommend adding an index and say so explicitly, even when the rewritten query already returns the right rows: the index is a separate fix the code change alone doesn't deliver. (If the predicate isn't sargable, fix that first — a new index can't help a scan caused by a function on the column.)\n\nIf EF Core owns the schema, add the index in the model and migrate:\n\n```csharp\nmodelBuilder.Entity\u003COrder>()\n    .HasIndex(o => new { o.CustomerId, o.CreatedAt }); \u002F\u002F equality column first, then range\u002Fsort\n```\n\nThen create the migration with `dotnet ef migrations add ...`. **Do not apply it** with `dotnet ef database update` (or any equivalent that writes to the database) without explicit user approval — applying a migration mutates the database, so add the migration, show it to the user, and let them run the update once they've reviewed it. If EF Core does not own the schema, recommend the same index to whoever manages the database. Don't over-index — every index slows writes.\n\n**Verify:** the plan uses a seek\u002Findex instead of a scan.\n\n### Set-based bulk updates and deletes\n\nReplace a load-mutate-`SaveChanges` loop with `ExecuteUpdateAsync`\u002F`ExecuteDeleteAsync` (EF Core 7+) — one statement, no entities materialized:\n\n```csharp\nawait db.Products.Where(p => p.LastSoldDate \u003C cutoff)\n    .ExecuteUpdateAsync(s => s.SetProperty(p => p.IsActive, false));\n```\n\nThese bypass the change tracker and EF-side cascade behavior — apply related changes explicitly.\n\n**Verify:** a single `UPDATE`\u002F`DELETE` with a `WHERE` and no preceding `SELECT`.\n\n## Common Pitfalls\n\n| Pitfall | Fix |\n|---------|-----|\n| Wrapping an indexed column in `.Year`\u002F`.Date`\u002F`ToLower`\u002Farithmetic | Rewrite to a sargable range\u002Fcomparison on the bare column |\n| Adding an index to fix a scan on a non-sargable predicate | Fix the predicate first; the index can't help until the column is bare |\n| Rewriting a filter into SQL but leaving a hot query on an unindexed column | The server-side scan is still a scan — recommend an index on the filter\u002Fsort column too |\n| Compiling a query that runs only occasionally | Compile only genuinely hot, high-frequency query shapes |\n| Lazy loading (proxies \u002F `virtual` navigations) causing N+1 and forced sync I\u002FO | Eager-load (`Include`) or project; keep queries async |\n| `ToList()`\u002F`AsEnumerable()` before `Where`\u002F`Select` | Keep the query `IQueryable` so filtering\u002Fprojection run in SQL |\n\n## References\n\n- [Efficient querying — EF Core](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fperformance\u002Fefficient-querying)\n- [Compiled queries — EF Core](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fperformance\u002Fadvanced-performance-topics#compiled-queries)\n- [Efficient updating (ExecuteUpdate\u002FExecuteDelete) — EF Core](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fperformance\u002Fefficient-updating)\n- [Single vs. split queries](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fquerying\u002Fsingle-split-queries)\n- [Pagination](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fquerying\u002Fpagination)\n- [Indexes](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fef\u002Fcore\u002Fmodeling\u002Findexes)\n",{"name":5,"risk":24,"source":25,"version":30,"category":31,"description":7,"disable-model-invocation":20},"low",{"path":26,"commit":27,"license":15,"repository":28,"imported_at":29},"plugins\u002Fdotnet-data\u002Fskills\u002Foptimizing-ef-core-queries\u002FSKILL.md","8f3b1a2c","microsoft\u002Fskills","2026-09-20","1.0.0","cloud","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fcloud\u002Foptimizing-ef-core-queries","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill optimizing-ef-core-queries",{"tool":44,"command":45},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill optimizing-ef-core-queries",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill optimizing-ef-core-queries","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fcloud\u002Foptimizing-ef-core-queries\u002FSKILL.md",true,[],[53,61,68,75,82,89],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":60},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":60},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":60},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":60},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":60},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":60},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]