dotnet-scaffold
.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:
- New solution/repository — create solution structure, central build/package policies, and initial projects.
- New project — add an application, worker, or test project to an existing solution.
- 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.