Generates a .NET modular monolith structure with independent modules, enforced boundaries, public contracts, and in-process messaging. Includes guardrail tests using NetArchTest to prevent dependency erosion.
Ships in TheCodeMan .NET AI ToolKit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Set up (or tighten) a modular monolith: each module owns its domain, exposes a small public contract, keeps everything else internal, and talks to other modules through contracts or an in-process bus — so you get module independence without microservice overhead.
Works on a target: a file, folder, project/solution, or GitHub URL. If modules exist, audit their boundaries; if not, propose a split. Detect with: find <target> -name "*.csproj" and grep -rn "public class\|internal class" --include=*.cs <target> | head.
src/
├── Modules/
│ ├── Orders/
│ │ ├── Orders.Public/ # contracts other modules may use (DTOs, integration events, a façade interface)
│ │ └── Orders/ # internal: domain, handlers, EF — internal by default
│ ├── Billing/
│ │ ├── Billing.Public/
│ │ └── Billing/
├── Shared/ # truly shared kernel only (Result, base types)
└── Host/ # composition root: wires every module
public interface IModule
{
IServiceCollection RegisterModule(IServiceCollection services, IConfiguration config);
void MapEndpoints(IEndpointRouteBuilder app);
}
// Host discovers and calls every IModule — no module references another module's internals.
.Public projects, never their internals.[Fact]
public void Orders_internals_are_not_referenced_by_other_modules()
{
var result = Types.InAssembly(typeof(BillingModule).Assembly)
.Should().NotHaveDependencyOn("Company.Modules.Orders") // internal assembly
.GetResult();
Assert.True(result.IsSuccessful);
}
.Public, no other module can touch it."Structure this app as a modular monolith", "audit my module boundaries", "split this monolith into Orders/Billing/Catalog modules with contracts", "add a guardrail test so modules can't reach into each other".
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
49 skills in this plugin
/adonet-data-access-auditorAudit and fix classic ADO.NET data-access code (SqlConnection / SqlCommand / SqlDataReader / DataSet) on .NET Framework. Use this skill whenever the user shares raw ADO.NET code, a DAL / repository built on SqlCommand, stored-proc calls, string-concatenated SQL, or mentions SQL injection, parameterized queries, connection leaks, "using / Dispose", reading the same column multiple times, transactions, or "why does my old data layer leak connections / is it safe". Always use this skill for classic ADO.NET review instead of answering from memory; it applies a fixed security + correctness + performance checklist and rewrites the code./async-await-auditorAudit C#/.NET code for async/await anti-patterns and concurrency bugs. Use this skill whenever the user shares async C# code or asks about deadlocks, async void, .Result/.Wait(), blocking calls, ConfigureAwait, sync-over-async, fire-and-forget tasks, CancellationToken usage, or "why does my async code hang/deadlock". Always use this skill for async correctness/performance reviews instead of answering from memory; it applies a fixed checklist and rewrites the code./authorization-policy-generatorDesign ASP.NET Core authorization — policy-based, role-based, and claims/requirement-based with custom authorization handlers and resource-based checks. Use this skill whenever the user wants authorization policies, role/claim checks, custom AuthorizationHandler, resource-based authorization, permission checks, or asks "how do I authorize this / policy vs role / restrict this endpoint to X". Always use this skill for authorization requests; it generates policies, handlers, and endpoint wiring./dotnet-ai-toolkit:modular-monolith-generatorfrom TheCodeMan .NET AI ToolKit
npx claudepluginhub stefanthecode/dotnet-ai-toolkit --plugin dotnet-ai-toolkitOther plugins' skills for the same job