language-csharp
Installation
SKILL.md
C# / .NET
.NET 8 project shape
- Prefer SDK-style projects with explicit
TargetFramework(net8.0) and shared defaults inDirectory.Build.props. - Keep nullable reference types enabled for new code:
<Nullable>enable</Nullable>. - Use
ImplicitUsingswhen the repository already does; avoid hand-maintaining noisy common imports. - Keep application, domain, infrastructure, and test projects separate when boundaries are real, not just for ceremony.
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>