Skill: MSBuild Binlog Failure Analysis
by .NET Team at Microsoft
Diagnose an MSBuild build failure from a .binlog file — query the binary log through a dedicated MCP server instead of grepping console output, with a text-replay fallback.
Make slow Entity Framework Core queries fast — read the generated SQL first, fix N+1s, cartesian Include explosions and non-sargable predicates, then re-measure one change at a time.
Add this skill to your favorite AI agent in a few steps.
Learn how to use this skill with different AI agents.
This orders endpoint takes four seconds and hits the database 200 times per request — find out what EF Core is actually emitting and fix it.
Most Entity Framework Core performance work goes wrong in the same way: someone sprinkles AsNoTracking() and a few indexes over a slow endpoint without ever looking at the SQL EF Core actually emitted. This official .NET skill enforces the opposite order — capture the generated SQL and the statement count first, change one thing, re-read the SQL, repeat.
The skill's opening move is turning on command logging (optionsBuilder.LogTo(Console.WriteLine, LogLevel.Information), or the Microsoft.EntityFrameworkCore.Database.Command category in appsettings.json) and tagging the query under investigation with .TagWith("...") so it can be found. Count the statements a slow operation runs and the rows each returns before touching anything. You cannot optimise what you cannot see.
Includes multiplying rows against each other.Skip grows.CreatedAt.Year == y, CreatedAt.Date == d, ToLower(Name) == n, Price * 1.1 > x, or a leading-wildcard LIKE '%foo' all force a per-row computation the index cannot satisfy, so the query scans the whole table even though the index exists. Adding another index does not fix it; rewriting the predicate does.The skill is explicit about its boundary, which is unusual and useful: if the code uses Dapper or raw ADO.NET, it tells the agent to answer the SQL, indexing and query-plan question directly and not to introduce a DbContext or recommend AsNoTracking, Include, AsSplitQuery or any other EF Core API. That single instruction prevents a common class of unhelpful agent output.
It also works whether or not EF Core owns the database schema, so it is usable against a legacy database EF Core merely reads.
Part of the dotnet-data plugin in the .NET team's official agent skills repository, MIT licensed.
by .NET Team at Microsoft
Diagnose an MSBuild build failure from a .binlog file — query the binary log through a dedicated MCP server instead of grepping console output, with a text-replay fallback.
by Supabase
Supabase's official Postgres skill — eight rule categories ranked by impact, each with wrong-vs-right SQL and EXPLAIN output, for schema, RLS, indexing and query work on Postgres anywhere.
by Google Cloud
Google's official Spanner skill: provision instances, design primary keys that do not hotspot, write SQL and client-library code, and diagnose slow queries — with DDL and DML gated behind your approval.
by ClickHouse Inc
ClickHouse's official agent skill: 31 rules for primary keys, data types, JOINs, batching and partitioning that an agent must check and cite before advising on a schema or query.