.NET Expert for Openclaw

A senior-level AI assistant for building high-performance .NET 9 applications using Clean Architecture and the Result pattern.

jgarrison929
v1.0.0
Feb 2, 2026
1
3.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dotnet-expert

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dotnet-expert using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is .NET Expert?

The .NET Expert skill transforms your AI agent into a senior-level engineer specializing in modern ASP.NET Core development and enterprise architecture. By integrating this into Openclaw Skills, you gain an assistant capable of architecting Modular Monoliths, implementing MediatR-based CQRS patterns, and enforcing strict clean architecture principles. It prioritizes production-grade practices like the Result pattern over traditional exception-based business logic, ensuring your backends are resilient, testable, and maintainable.

.NET Expert Use Cases

  • Architecting scalable Modular Monoliths organized by feature and domain.
  • Implementing robust Minimal APIs with JWT authentication and ASP.NET Identity.
  • Developing complex business workflows using MediatR commands and queries.
  • Optimizing database performance with Entity Framework Core 9 projection and eager loading.
  • Ensuring data integrity through automatic FluentValidation pipeline behaviors.

How .NET Expert Works

  1. Identifies .NET or C# related triggers within your development context.
  2. Applies a feature-first organizational structure to your project modules (Core, Application, Infrastructure).
  3. Generates asynchronous, decoupled handlers using MediatR to separate read and write operations.
  4. Integrates FluentValidation and Result patterns to handle business rules without throwing costly exceptions.
  5. Configures Entity Framework Core 9 with optimized mapping and global query filters for features like soft-delete.

.NET Expert Setup

To utilize this skill within Openclaw Skills, ensure your development environment is ready with the latest .NET SDK. You can initialize your infrastructure components using the following commands:

# Install Entity Framework Core tools
dotnet tool install --global dotnet-ef

# Add a new migration for a specific module
dotnet ef migrations add InitialCreate -p src/Users.Infrastructure -s src/Api

# Apply migrations to the database
dotnet ef database update -p src/Users.Infrastructure -s src/Api

.NET Expert Data Schema & Taxonomy

The skill organizes code into a standardized Modular Monolith structure to ensure scalability and separation of concerns:

Layer Responsibility Directory Path
Api ASP.NET Core Host & Minimal API Endpoints /src/Api
Domain Core Entities, value objects, and domain interfaces /src/Modules/[Name].Core
Application MediatR commands, queries, and validators /src/Modules/[Name].Application
Infrastructure EF Core DbContext, migrations, and external clients /src/Modules/[Name].Infrastructure
Shared Common Result types, audit interfaces, and cross-cutting logic /src/Shared

.NET Expert Advanced Features

  • Global Validation Behavior: Automatically validates every MediatR request before it reaches the handler.
  • Smart Audit Tracking: Automatically populates CreatedAt and UpdatedAt fields during SaveChangesAsync.
  • Idempotent Scripting: Generates production-ready SQL migration scripts for CI/CD pipelines.
  • Strongly-Typed IDs: Implements value objects for IDs to eliminate primitive obsession errors.
  • Result Pattern Matchers: Provides functional matching for API responses to handle Success and Error states gracefully.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*