codewithmukesh/dotnet-claude-kit
Make Claude Code a .NET 10 Expert
What it solves
Claude Code often generates generic C# code or uses outdated patterns (like DateTime.Now or unnecessary repository abstractions over EF Core) because it lacks specific knowledge of modern .NET conventions. dotnet-claude-kit provides a curated knowledge and action layer that transforms Claude Code into a senior-level .NET developer capable of writing idiomatic C# 14 and .NET 10 code.
How it works
The kit functions as a plugin for Claude Code, introducing a CLAUDE.md file to the repository to provide instant architectural and coding guidance. It utilizes a combination of:
- Knowledge Skills: 31 reference files teaching best practices for architecture (VSA, Clean, DDD), modern C# syntax, and web APIs.
- Specialist Agents: 10 agents (e.g.,
dotnet-architect,ef-core-specialist) that handle specific domains of the development lifecycle. - Slash Commands: 16 orchestrated workflows for tasks like
/scaffoldfor features,/arch-checkfor architecture verification, and/tddfor test-driven development. - Roslyn MCP Server: A Model Context Protocol server that allows Claude to perform surgical code analysis (e.g., reading a single method body instead of a whole file), significantly reducing token usage.
- Rules: 10 project-level conventions enforced across all interactions.
Who it’s for
.NET developers using Claude Code who want to enforce senior-level architectural patterns, reduce token consumption during codebase exploration, and automate the scaffolding and review of modern .NET applications.
Highlights
- Surgical Analysis: Uses Roslyn-powered MCP tools to read specific symbols or resolve stack traces, saving up to 10x tokens compared to full file reads.
- Architecture Enforcement: The
/arch-checkcommand verifies dependency directions and layer violations for various architectures (VSA, Clean, DDD, Modular Monolith). - Modern C# 14 Support: Enforces the use of primary constructors, collection expressions, and
TimeProviderover legacy patterns. - Automated Scaffolding: Generates complete features including Result patterns, validation, OpenAPI metadata, and tests via a single command.
- Dependency Health: The
/outdatedcommand identifies stale packages, CVEs, and commercial license traps.
Related
- Project
- Project
- Project
- Project
- Dispatch