type-design-performance
CommunityDesign high-performance .NET types.
Software Engineering#design#performance#C##immutable-collections#readonly-struct#sealed-class#static-pure-functions
AuthorAaronontheweb
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps developers design and review .NET types for performance, guiding them to apply proven patterns that minimize allocations and improve runtime efficiency.
Core Features & Use Cases
- Sealing by default: mark types as non-inheritable to enable JIT devirtualization and clearer API intent.
- Readonly structs for immutability: use readonly value types to avoid defensive copies.
- Static pure functions: prefer stateless helpers to improve testability and performance.
- Defer enumeration: avoid early materialization and reduce allocations.
- Immutable return types: expose APIs with IReadOnlyCollection<T> or immutable wrappers to prevent unintended mutations.
Quick Start
Start by auditing a type design in your project and propose performance-oriented improvements for the API surface.
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: type-design-performance Download link: https://github.com/Aaronontheweb/dotnet-skills/archive/main.zip#type-design-performance 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 471,000+ vetted skills library on demand.