csharp-advanced-patterns
CommunityMaster advanced C# patterns for fast .NET 10
Authoralexsandrocruz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers write elegant, high-performance C# code by mastering advanced patterns, records, and .NET 10 features.
Core Features & Use Cases
- Advanced pattern matching: switch expressions, property patterns, and list patterns to express complex logic concisely.
- Immutable data with records: design DTOs that are naturally thread-safe and easy to compare.
- Performance-first techniques: Span<T>/Memory<T>, ArrayPool, and zero-allocation patterns to reduce allocations.
- Modern async patterns: proper use of async/await, ValueTask, and primary constructors for clean architecture.
- Practical use: refactor a legacy C# codebase to modern idioms with minimal behavioral changes.
Quick Start
Install the .NET 10 SDK and a modern IDE, open this skill, and begin by modeling a simple DTO with a record, then replace a class with a primary constructor and apply a switch expression to a sample status handler. Finally, refactor a parsing routine to use Span<T> for zero-allocation parsing.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: csharp-advanced-patterns Download link: https://github.com/alexsandrocruz/DominusLeads/archive/main.zip#csharp-advanced-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.