Official agent skill

Query Pipeline

by dotnet in dotnet/efcore

Implementation details for EF Core LINQ query translation, SQL generation, and bulk operations (ExecuteUpdate/ExecuteDelete).

OfficialMITAuto-check passedDatabases

Install Query Pipeline

skills CLI
$ npx skills add dotnet/efcore --skill query-pipeline -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dotnet/efcore query-pipeline --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dotnet/efcore.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/query-pipeline .claude/skills/query-pipeline && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
query-pipeline
GitHub stars
15k
Token cost
~194 tokens
SKILL.md length
51 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Implementation details for EF Core LINQ query translation, SQL generation, and bulk operations (ExecuteUpdate/ExecuteDelete).

  • Works in 5 steps: Preprocessing → Translation → Postprocessing → …
  • Changing expression visitors
  • SKILL.md covers Stages and Validation
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Query Pipeline is an agent skill from dotnet/efcore, published by the product's own GitHub organization. Implementation details for EF Core LINQ query translation, SQL generation, and bulk operations (ExecuteUpdate/ExecuteDelete). Use when changing expression visitors, SqlExpressions, QuerySqlGenerator, ShaperProcessingExpressionVisitor, UpdateExpression, DeleteExpression, or related classes.

Its SKILL.md is about 190 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering Translation and SQL. It works with SQL. The repository describes itself as: EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. The licence is MIT.

When your agent uses it

  • Changing expression visitors
  • QuerySqlGenerator
  • ShaperProcessingExpressionVisitor
  • UpdateExpression

Example prompts

  • “/query-pipeline”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Preprocessing
  2. Translation
  3. Postprocessing
  4. Compilation
  5. SQL Generation

What it can do on your machine

Read from SKILL.md and the folder at commit 7adff35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Query Pipeline loads about 194 tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 51 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~194

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dotnet/efcore at commit 7adff35, republished under its MIT licence (© dotnet). 51 words, ~194 tokens.

Download SKILL.mdSave it as .claude/skills/query-pipeline/SKILL.md (or your agent's skills folder).
name
query-pipeline
description
Implementation details for EF Core LINQ query translation, SQL generation, and bulk operations (ExecuteUpdate/ExecuteDelete). Use when changing expression visitors, SqlExpressions, QuerySqlGenerator, ShaperProcessingExpressionVisitor, UpdateExpression, DeleteExpression, or related classes.
user-invocable
false

Query Pipeline

Stages

  1. Preprocessing
  2. Translation
  3. Postprocessing
  4. Compilation
  5. SQL Generation

Validation

  • ToQueryString() shows generated SQL without executing
  • ExpressionPrinter dumps expression trees at any pipeline stage
  • SQL baselines verified via AssertSql() in provider functional tests and the generated SQL corresponds to the LINQ query in the base method

© dotnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/query-pipeline of dotnet/efcore.

Open the folder on GitHubat commit 7adff35

Compare with similar skills

Query Pipeline next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Query Pipeline compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Query Pipeline this skilldotnet/efcore15k—~194Automated safety check: PassMIT
511 Frameworks Micronaut Jdbcjabrena/plinth445—~872Automated safety check: PassApache-2.0
SQL To Business Logicnimrodfisher/data-analytics-skills465—~636Automated safety check: PassMIT
SQL TranslationMicrock/ordinary-claude-skills401—~1.3kAutomated safety check: PassCustom licence
SQL Translatorcriptogus/agent-evolve-network288—~735Automated safety check: PassCC-BY-SA-4.0
Forge Codegen Crudyaomindong1996/forge-admin125—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • A skill your agent uses when you need programmatic JDBC in Micronaut — pooled DataSource, parameterized SQL, io.micronaut.transaction.annotation.Transactional, batching, and domain exception…

    445 GitHub stars~872 tokensUpdated today
    DatabasesAuto-check passed
  • SQL To Business Logic

    nimrodfisher/data-analytics-skills

    Translate SQL queries into plain language business logic. An agent skill from nimrodfisher/data-analytics-skills.

    465 GitHub stars~636 tokensUpdated 12 days ago
    DatabasesAuto-check passed
  • SQL Translation

    Microck/ordinary-claude-skills

    Guide for adding SQL function translations to dbplyr backends.

    401 GitHub stars~1.3k tokensUpdated 1 mo ago
    DatabasesAuto-check passed
  • SQL Translator

    criptogus/agent-evolve-network

    Translates a plain-English question into a single, safe, read-only SQL query against a known schema, with assumptions made explicit.

    288 GitHub stars~735 tokensUpdated 28 days ago
    DatabasesAuto-check passed
  • Forge Codegen Crud

    yaomindong1996/forge-admin

    Generate or review Forge project code-generation output for CRUD modules.

    125 GitHub stars~1.3k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Efcore Query Performance

    atherio-danp/cde-dotnetcc

    Optimize EF Core (Npgsql/PostgreSQL) queries in the .NET API — fix N+1, choose tracking modes, use compiled queries, split queries, and avoid translation traps.

    109 GitHub stars~1.1k tokensUpdated 2 mo ago
    DatabasesAuto-check: notes

More from dotnet/efcore

All 17 skills in this repo
  • Make Skill

    dotnet/efcore

    Official

    Create and evaluate new Agent Skills for GitHub Copilot. An agent skill from dotnet/efcore.

    15k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Make Custom Agent

    dotnet/efcore

    Official

    Create custom GitHub Copilot agents. An agent skill from dotnet/efcore.

    15k GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Official

    Create GitHub Actions workflows for CI, automation, or PR management.

    15k GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Make Instructions

    dotnet/efcore

    Official

    Create and evaluate VS Code file-based instructions (.instructions.md files).

    15k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Model Building

    dotnet/efcore

    Official

    Implementation details for EF Core model building. An agent skill from dotnet/efcore.

    15k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Run Apichief

    dotnet/efcore

    Official

    Run ApiChief in the EF Core repo to emit baselines, summaries, deltas, review files, or breaking-change checks.

    15k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Query Pipeline

What does Query Pipeline do?

Implementation details for EF Core LINQ query translation, SQL generation, and bulk operations (ExecuteUpdate/ExecuteDelete). Query Pipeline is an agent skill from dotnet/efcore, published by the product's own GitHub organization. Implementation details for EF Core LINQ query translation, SQL generation, and bulk operations (ExecuteUpdate/ExecuteDelete).

When should I use Query Pipeline?

Query Pipeline fits situations like: changing expression visitors; querySqlGenerator; shaperProcessingExpressionVisitor; updateExpression.

How do I install Query Pipeline in Claude Code?

Run `npx skills add dotnet/efcore --skill query-pipeline -a claude-code`. Or copy the skill folder (.agents/skills/query-pipeline in dotnet/efcore) into .claude/skills/query-pipeline in your project. Claude Code loads it when a task matches its description.

How do I install Query Pipeline in Codex?

Run `npx skills add dotnet/efcore --skill query-pipeline -a codex`. Or copy the skill folder (.agents/skills/query-pipeline in dotnet/efcore) into .agents/skills/query-pipeline in your project. Codex loads it when a task matches its description.

Can I use Query Pipeline in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dotnet/efcore --skill query-pipeline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/query-pipeline, .gemini/skills/query-pipeline, .github/skills/query-pipeline and .opencode/skills/query-pipeline in your project.

What does Query Pipeline need to run?

SKILL.md names no scripts, command-line tools or credentials: Query Pipeline is instructions for the agent only.

Does Query Pipeline access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Query Pipeline safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Query Pipeline use?

Query Pipeline is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Query Pipeline use?

About 194 tokens (SKILL.md is roughly 776 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Query Pipeline?

Skills that share tags, products or a category with Query Pipeline: 511 Frameworks Micronaut Jdbc (jabrena/plinth, 445 stars), SQL To Business Logic (nimrodfisher/data-analytics-skills, 465 stars), SQL Translation (Microck/ordinary-claude-skills, 401 stars) and SQL Translator (criptogus/agent-evolve-network, 288 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Query Pipeline?

dotnet (a GitHub organization, an official publisher) maintains it in dotnet/efcore, which has 14,800 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: dotnet/efcore on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.