dotnet-claude-kit  by codewithmukesh

Empowering AI assistants for expert .NET development

Created 2 months ago
308 stars

Top 87.2% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a curated knowledge and action layer for Claude Code, transforming it into an expert .NET developer. It addresses the common issue of AI models generating non-idiomatic or convention-violating C# code by embedding deep .NET expertise, architectural awareness, and efficient codebase navigation. The primary benefit for .NET developers using Claude Code is a significant reduction in code review and correction cycles, leading to faster feature delivery and higher quality, production-ready code from the outset.

How It Works

The dotnet-claude-kit acts as an intermediary, enhancing Claude Code's understanding of .NET conventions, architectures, and best practices. It leverages Roslyn semantic analysis through a suite of 15 MCP (Meta-Code Processing) tools, enabling token-efficient codebase exploration by querying specific code elements rather than reading entire files. This approach, combined with 47 specialized skills, 10 expert agents, and 10 enforced rules, allows Claude Code to generate modern C# 14 code, implement architectural patterns (like VSA, Clean Architecture, DDD, Modular Monolith), and utilize advanced features such as TimeProvider, IHttpClientFactory, and the Result pattern correctly.

Quick Start & Requirements

The recommended installation is as a Claude Code plugin: first, install the Roslyn MCP server globally (dotnet tool install -g CWM.RoslynNavigator), then add and install the plugin within Claude Code (/plugin marketplace add codewithmukesh/dotnet-claude-kit, /plugin install dotnet-claude-kit). For local development, Claude Code can load the kit directly from disk (claude --plugin-dir /path/to/dotnet-claude-kit). A per-project setup is initiated with the /dotnet-init command, which intelligently detects existing projects or scaffolds new ones, generating a customized CLAUDE.md file. Prerequisites include the .NET SDK and Claude Code.

Highlighted Details

  • Token Efficiency: Utilizes Roslyn MCP queries (30-150 tokens) for codebase navigation, achieving approximately 10x token savings compared to reading entire files (500-2000+ tokens).
  • Feature Scaffolding: Generates complete features adhering to patterns like Result, FluentValidation, OpenAPI metadata, and proper cancellation, supporting all four major architectures.
  • Interactive Project Setup: Guides users through architecture and tech stack selection for project initialization.
  • Automated Code Review: Performs multi-dimensional reviews covering anti-patterns, architecture compliance, API changes, and test coverage using MCP tools.
  • Convention Enforcement: Learns and enforces project-specific coding standards and patterns.
  • Modern .NET Practices: Promotes idiomatic C# 14, TimeProvider, IHttpClientFactory, WebApplicationFactory with Testcontainers, and the Result pattern.

Maintenance & Community

The project is built by Mukesh Murugan. Specific details regarding ongoing maintenance, community channels (like Discord/Slack), or notable partnerships are not detailed in the provided README.

Licensing & Compatibility

The project is licensed under the MIT license, permitting commercial use and modification. It is designed for compatibility with multiple AI coding platforms, including Claude Code, Cursor, and Codex CLI.

Limitations & Caveats

The kit is heavily integrated with and optimized for Claude Code; its functionality may be significantly reduced or absent on other platforms. It is specifically built for ".NET 10 / C# 14," suggesting potential compatibility considerations for older .NET versions.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
2
Star History
104 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.