dotnet-source-generation-first
CommunityBoost .NET performance with compile-time code.
Authormcj-coder
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers avoid performance bottlenecks and AOT/trimming issues in .NET applications by prioritizing compile-time source generation over slower, runtime-based reflection or code generation.
Core Features & Use Cases
- Enforces Source Generation: Guides developers to use libraries that generate code during compilation (e.g., for mapping, logging, regex).
- Improves Performance & Compatibility: Reduces runtime overhead, improves startup times, and ensures better compatibility with Ahead-of-Time (AOT) compilation and assembly trimming.
- Use Case: When building a new microservice, use this Skill to ensure that all DTO mapping and logging mechanisms are implemented using source generators, preventing future performance regressions and deployment issues.
Quick Start
Use the dotnet-source-generation-first skill to evaluate a new mapping library for a .NET project.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: dotnet-source-generation-first Download link: https://github.com/mcj-coder/development-skills/archive/main.zip#dotnet-source-generation-first 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.