Csharp Design Patterns

Apply GoF design patterns idiomatically in C#/.NET. Use whenever the user asks to implement, choose, explain, or compare a design pattern in C#, refactor toward a pattern, review for pattern misuse, asks 'which pattern fits this problem' - or describes a recurring design problem (object creation sprawl, switch-on-type logic, tight coupling, notification chains, undo/redo, plugin architecture) without naming a pattern. Covers all 23 GoF patterns with modern .NET 8+ idioms; pair with `csharp` for output style. Do NOT use for architectural patterns (repository, unit of work, CQRS, event sourcing, layering) - those route via `dotnet` to `dotnet-architecture`.

envoydev b7f3284 4 files · 38.9 KB Updated

File contents

envoydev/claude-stack/tree/main/stack/skills/csharp-design-patterns commit b7f3284553

Frequently asked questions

npx skillmds@latest add envoydev/csharp-design-patterns