csharp-type-design-performance
CommunityDesign high-performance .NET types.
Authorakoken
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Designing .NET types for performance is challenging; this skill provides guidelines to minimize allocations, enable JIT devirtualization, and ensure safe, fast APIs.
Core Features & Use Cases
- Sealing classes by default to improve inlining and API clarity.
- Using readonly structs for small immutable value types.
- Preferring static pure functions to reduce state and improve testability.
- Deferring enumeration and returning immutable collections at API boundaries.
Quick Start
Command: Review a .NET type for performance improvements and propose changes to seal classes by default, use readonly structs for small value types, switch to static pure functions where possible, defer enumeration, and return immutable collections.
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-type-design-performance Download link: https://github.com/akoken/dotfiles/archive/main.zip#csharp-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 223,000+ vetted skills library on demand.