LaunchKit · 2026
Back to Skills

dotnet-expert

Use when building .NET 8/9 applications, ASP.NET Core APIs.

1
1.6k downloads
by @jgarrison929

Setup & Installation

openclaw skills install @jgarrison929/dotnet-expert

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install dotnet-expert

What This Skill Does

A senior .NET 9/ASP.NET Core specialist focused on clean architecture patterns: CQRS with MediatR, modular monolith structure, Result pattern for error handling, and Entity Framework Core 9. Covers the full stack of a production API from domain entities through JWT authentication.

Encodes a consistent set of architectural decisions (Result pattern, strongly-typed IDs, async-all-the-way) that would otherwise require resolving individually across multiple documentation sources.

When to use it

  • Setting up a new ASP.NET Core Minimal API project with modular monolith structure
  • Implementing CQRS commands and queries with MediatR handlers
  • Adding FluentValidation to a request pipeline with custom error messages
  • Designing EF Core entity configurations and writing optimized LINQ queries
  • Wiring up JWT authentication with ASP.NET Identity and refresh token support

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: How do I create a CreateUser endpoint with validation and duplicate email checking?

AGENT
  1. 1Define CreateUserCommand as a record implementing IRequest<Result<UserResponse>>
  2. 2Write CreateUserValidator with FluentValidation rules for email, name, and password
  3. 3Implement CreateUserHandler that checks for duplicate email via DbContext and returns Result.Failure on conflict
  4. 4Register ValidationBehavior in the MediatR pipeline so validation runs before the handler
  5. 5Map the POST endpoint in UserEndpoints.cs using ISender.Send and match the result to IResult
OUTPUT

A complete vertical slice: command record, validator, handler with Result pattern, and Minimal API endpoint wired to MediatR