skills/smithery.ai/dotnet-source-generation-first

dotnet-source-generation-first

Installation
SKILL.md

Overview

Prefer compile-time source generation over runtime reflection for repetitive cross-cutting concerns like mapping, serialization, regex, and logging. Source generation provides determinism, compile-time verification, reduced runtime overhead, and better AOT/trimming compatibility.

When to Use

  • Introducing or reviewing repetitive cross-cutting mechanisms (mappers, serializers, regex, logging templates)
  • Building performance-sensitive systems or services with startup-time concerns
  • Targeting AOT compilation or assembly trimming scenarios
  • Evaluating mapping or serialization libraries for a new project
  • Reviewing PRs that propose reflection-based or runtime codegen approaches

Core Workflow

Installs
1
First Seen
May 3, 2026
dotnet-source-generation-first from smithery.ai