nesbo

Dotnet Skills — Development skill for Claude Code

Development community Intermediate

.NET development skills for Claude Code.

How to install Dotnet Skills

This entry records only its repository, not the path inside it, so there is no exact command to give. Open nesbo/dotnet-claude-code-skills and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Dotnet Skills does

Production-ready Domain-Driven Design patterns and data persistence implementations for .NET projects using Claude Code.

Alternatives in Development

  • Contributing To Career-Ops — Thanks for your interest in contributing 32.5k ★
  • SuperClaude Framework — A configuration framework that enhances Claude Code with specialized commands, cognitive personas, and develop 22k ★
  • Feature Dev — Comprehensive feature development with specialized agents 14k ★

README

.NET Claude Code Skills Library

Production-ready Domain-Driven Design patterns and data persistence implementations for .NET projects using Claude Code.

**Applicability**: While these patterns are explained using C# and .NET, the DDD principles and hexagonal architecture concepts apply to any object-oriented programming language.

**For Claude Code Users**: See [CLAUDE.md](CLAUDE.md) for information about using this repository with Claude Code.

Available Skills

1. Domain-Driven Design Basics (`ddd-dotnet/`)

**Purpose**: Core DDD patterns for building the domain layer (ports) in hexagonal architecture.

**What it covers:**

  • Domain object hierarchy (IDomainObject, IAggregate, IEntity)
  • Aggregate root patterns with versioning
  • Repository pattern with CQRS separation
  • Command pattern using Paramore.Brighter
  • Query pattern with ViewModels
  • Time control pattern (IClock)
  • Unit of Work pattern
  • Domain exceptions
  • Best practices and anti-patterns

**When to use:**

  • Creating new aggregates or entities
  • Implementing command handlers
  • Implementing query handlers
  • Understanding domain layer structure
  • Code reviews for domain logic

**Key templates included:**

  • New aggregate class
  • Command & handler
  • Query & handler
  • Domain exceptions

2. Data Persistence Layer (`data-dotnet/`)

**Purpose**: Implementing the data persistence layer as an adapter in hexagonal architecture. This skill demonstrates one approach using Entity Framework Core, but the patterns apply to any ORM or data access technology.

**What it covers:**

  • Data context configuration (production & testing)
  • Entity-to-table mapping and configurations
  • Repository implementations (write & query)
  • Unit of Work implementation
  • Dependency injection auto-registration
  • In-memory database testing support
  • Schema migration workflow
  • Database schema organization
  • Performance optimization patterns

**When to use:**

  • Adding new aggregates to the database

...