dotnet-solid-principles

Installation
SKILL.md

dotnet-solid-principles

Foundational design principles for .NET applications. Covers each SOLID principle with concrete C# anti-patterns and fixes, plus DRY guidance with nuance on when duplication is acceptable. These principles guide class design, interface contracts, and dependency management across all .NET project types.

Scope

  • SOLID principles with C# anti-patterns and fixes
  • DRY guidance and when duplication is acceptable
  • SRP compliance tests and class design heuristics
  • Interface segregation and dependency inversion patterns

Out of scope

  • Architectural patterns (vertical slices, request pipelines, caching) -- see [skill:dotnet-architecture-patterns]
  • DI container mechanics (registration, lifetimes, keyed services) -- see [skill:dotnet-csharp-dependency-injection]
  • Code smells and anti-pattern detection -- see [skill:dotnet-csharp-code-smells]

Cross-references: [skill:dotnet-architecture-patterns] for clean architecture and vertical slices, [skill:dotnet-csharp-dependency-injection] for DI registration patterns and lifetime management, [skill:dotnet-csharp-code-smells] for anti-pattern detection, [skill:dotnet-csharp-coding-standards] for naming and style conventions.

Related skills

More from novotnyllc/dotnet-artisan

Installs
5
GitHub Stars
208
First Seen
Feb 24, 2026