Use this skill when scaffolding new .NET solutions or projects, configuring shared build properties, setting up NuGet Central Package Management, enforcing code style with .editorconfig, or choosing between .sln and .slnx solution formats. Always trigger when users ask about dotnet new templates, multi-project solution layout, Directory.Build.props, Directory.Packages.props, .editorconfig, global.json, TreatWarningsAsErrors, LangVersion, or anything about organizing a .NET repository from scratch—even if they don't mention any of those file names explicitly.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use this skill when scaffolding new .NET solutions or projects, configuring shared build properties, setting up NuGet Central Package Management, enforcing code style with .editorconfig, or choosing between .sln and .slnx solution formats. Always trigger when users ask about dotnet new templates, multi-project solution layout, Directory.Build.props, Directory.Packages.props, .editorconfig, global.json, TreatWarningsAsErrors, LangVersion, or anything about organizing a .NET repository from scratch—even if they don't mention any of those file names explicitly.
.NET Scaffolding Skill
Use this skill to scaffold modern .NET solutions and projects correctly. The
non-obvious parts are covered in the reference files below — read the relevant
ones before generating or modifying any scaffolding files.
Quick decision tree
Question
Go to
Which dotnet new template to use? What options exist?
These are the baseline quality settings for every new .NET 10 solution. Do not
omit them — they represent the minimum for professional .NET development today.
✅ .slnx ❌ .sln (for new solutions)
✅ Directory.Build.props ❌ Repeating <TargetFramework> in every .csproj
✅ Directory.Packages.props ❌ Version attributes on <PackageReference>
✅ <LangVersion>latest</LangVersion> ❌ Pinning to a specific version number
✅ <Nullable>enable</Nullable> ❌ Missing or disabled nullable
✅ file-scoped namespaces ❌ braced namespace blocks