type-design-performance
CommunityOptimize .NET type design for speed.
AuthorAGIBuild
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers make informed decisions about designing .NET types to maximize performance, reduce memory allocations, and improve API efficiency.
Core Features & Use Cases
- Struct vs. Class Decisions: Provides a matrix and guidelines for choosing the right type category.
- Immutability Patterns: Emphasizes
readonly structandrecordtypes for predictable behavior. - Collection Optimization: Guides selection of efficient collection types like
FrozenDictionaryand proper enumeration strategies. - Use Case: When designing a new data transfer object (DTO) or a performance-critical utility class, use this Skill to ensure you're choosing the most efficient type (e.g.,
record structvs.record class,Span<T>vs.Memory<T>).
Quick Start
Use the type-design-performance skill to decide whether to use a struct or class for a new data type.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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/AGIBuild/Agibuild.Fulora/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 223,000+ vetted skills library on demand.