Official agent skill

Scaffolding

by dotnet in dotnet/efcore

Implementation details for EF Core scaffolding (reverse engineering).

OfficialMITAuto-check passedSecurity

Install Scaffolding

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

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

GitHub CLI
$ gh skill install dotnet/efcore scaffolding --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/scaffolding .claude/skills/scaffolding && 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
scaffolding
GitHub stars
15k
Token cost
~165 tokens
SKILL.md length
39 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Implementation details for EF Core scaffolding (reverse engineering).

  • Changing ef dbcontext scaffold pipeline implementation
  • SKILL.md covers When Not to Use and Reverse Engineering
  • Calls dotnet
  • Database schema reading

What it does

Scaffolding is an agent skill from dotnet/efcore, published by the product's own GitHub organization. Implementation details for EF Core scaffolding (reverse engineering). Use when changing ef dbcontext scaffold pipeline implementation, database schema reading, CSharpModelGenerator, or related classes.

Its SKILL.md is about 170 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 Security, covering Project scaffolding, Reverse engineering and malware and Database schema design. It works with C# and .NET. 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 ef dbcontext scaffold pipeline implementation
  • Database schema reading
  • CSharpModelGenerator
  • Related classes

Example prompts

  • “/scaffolding”

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

    Shell commands in SKILL.md call:

    • dotnet

    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

Scaffolding loads about 165 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 39 words of instructions outside code blocks.

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

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). 39 words, ~165 tokens.

Download SKILL.mdSave it as .claude/skills/scaffolding/SKILL.md (or your agent's skills folder).
name
scaffolding
description
Implementation details for EF Core scaffolding (reverse engineering). Use when changing ef dbcontext scaffold pipeline implementation, database schema reading, CSharpModelGenerator, or related classes.
user-invocable
false

Scaffolding

Generates C# code from database schemas (reverse engineering).

When Not to Use

  • Working on compiled model generation (dotnet ef dbcontext optimize)

Reverse Engineering

Pipeline: IDatabaseModelFactory (reads schema) → IScaffoldingModelFactory (builds EF model) → IModelCodeGenerator (generates C#)

  • IReverseEngineerScaffolder — orchestrates full pipeline

© 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/scaffolding of dotnet/efcore.

Open the folder on GitHubat commit 7adff35

Compare with similar skills

Scaffolding 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.

Scaffolding compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scaffolding this skilldotnet/efcore15k—~165Automated safety check: PassMIT
Nes Decompilejonathanpeppers/dotnes780—~1.6kAutomated safety check: PassMIT
Dotnet Inspect Decompilerrichlander/dotnet-inspect151—~2.4kAutomated safety check: PassNone
Dotnet Decompilerptn1411/skill219—~929Automated safety check: NotesNone
Tsp Csharpquerylenshq/ef-querylens225—~1.3kAutomated safety check: PassMIT
Template Discoverydotnet/skills5.6k1 repos~3.1kAutomated safety check: PassMIT

Similar skills

  • Nes Decompile

    jonathanpeppers/dotnes

    Decompile NES ROM files (.nes) into C projects that can be rebuilt with dotnes.

    780 GitHub stars~1.6k tokensUpdated 14 days ago
    SecurityAuto-check passed
  • Dotnet Inspect Decompiler

    richlander/dotnet-inspect

    Reconstruct a method or type as C and IL — decompiled source, annotated source with hidden facts, raw IL, fidelity levels, and IL-offset lookup.

    151 GitHub stars~2.4k tokensUpdated today
    SecurityAuto-check passed
  • Dotnet Decompiler

    ptn1411/skill

    Automated .NET/C decompilation and security analysis. An agent skill from ptn1411/skill.

    219 GitHub stars~929 tokensUpdated 16 days ago
    SecurityAuto-check: notes
  • Tsp Csharp

    querylenshq/ef-querylens

    Comprehensive C and .NET development skill for TSP projects.

    225 GitHub stars~1.3k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Template Discovery

    dotnet/skills

    Official

    Helps find, inspect, and compare (at a high level) .NET project templates.

    5.6k GitHub starsUsed in 1 repo~3.1k tokens
    DevelopmentAuto-check passed
  • Corvus Typescript Evaluator

    corvus-dotnet/Corvus.JsonSchema

    Work on the TypeScript port of the V5 standalone schema evaluator (src-ts/corvus-json-schema, npm package @corvus-dotnet/json-schema): loader, compiler, JavaScript code generator, results collector…

    199 GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

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 Scaffolding

What does Scaffolding do?

Implementation details for EF Core scaffolding (reverse engineering). Scaffolding is an agent skill from dotnet/efcore, published by the product's own GitHub organization. Implementation details for EF Core scaffolding (reverse engineering).

When should I use Scaffolding?

Scaffolding fits situations like: changing ef dbcontext scaffold pipeline implementation; database schema reading; CSharpModelGenerator; related classes.

How do I install Scaffolding in Claude Code?

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

How do I install Scaffolding in Codex?

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

Can I use Scaffolding 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 scaffolding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scaffolding, .gemini/skills/scaffolding, .github/skills/scaffolding and .opencode/skills/scaffolding in your project.

What does Scaffolding need to run?

Going by SKILL.md and its folder, Scaffolding needs the command-line tools its instructions call (dotnet).

Does Scaffolding 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 Scaffolding 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 Scaffolding use?

Scaffolding 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 Scaffolding use?

About 165 tokens (SKILL.md is roughly 660 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 Scaffolding?

Skills that share tags, products or a category with Scaffolding: Nes Decompile (jonathanpeppers/dotnes, 780 stars), Dotnet Inspect Decompiler (richlander/dotnet-inspect, 151 stars), Dotnet Decompiler (ptn1411/skill, 219 stars) and Tsp Csharp (querylenshq/ef-querylens, 225 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scaffolding?

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.