1 rule for .NET / C# / Windows
Claude Code rules for .NET: Nullable Contracts, Async and Endpoints. Structure, data, errors, security, performance, and tests. .NET 10 LTS and .NET 11, Nov 2026.
# .NET Claude Code Rules: Nullable Contracts, Async and Endpoints
## Install
Install the native export at `.claude/rules/dotnet-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# .NET Claude Code Rules: Nullable Contracts, Async and Endpoints
Path-scoped Claude Code rule for .NET. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for .NET 10 LTS and .NET 11, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
.NET 11 includes C# 15 unions and closed hierarchies. A p...