dotnet-scaffold

Installation
SKILL.md

.NET Scaffolding

Use this workflow to scaffold a complete, working .NET solution, project, or feature. This skill owns the scaffolding workflow; when the dotnet skill is available, apply its engineering guidance rather than duplicating it here.

Scope

Determine the scaffolding target:

  1. New solution/repository — create solution structure, central build/package policies, and initial projects.
  2. New project — add an application, worker, or test project to an existing solution.
  3. New feature/entity — add a vertical slice or feature to an existing project.

Do not turn a feature request into a solution redesign. Greenfield archetypes and assets/SliceTemplate/ apply only when the repository has no established convention. When working in an existing codebase, follow its existing conventions, architecture, and dependencies.

Prerequisites

Automated scaffolding via scripts/scaffold.cs requires the .NET 10 SDK or later (for file-based C# apps and modern slnx solutions). Before executing, verify the installed SDK via dotnet --version. If running on an older SDK, stop and report the environment constraint to the user; do not guess or manually generate mismatched files.

Workflow

Installs
14
First Seen
Oct 24, 2026