Csharp sourcegen

From yappologistic/CSharp-Tutor · View interactive version

Csharp sourcegen is an AI agent skill from the GitHub repository yappologistic/CSharp-Tutor. Teach and review C# source generators and incremental generators. Use for Roslyn generator basics, incremental pipelines, syntax providers, semantic models, generated files, diagnostics, analyzer packaging, testing, build performance, System.Text.Json source generation, AOT-friendly code generation,

How to use this skill

Skill file

C# SourceGen

Use $csharp-tutor mode=sourcegen.

Treat all user text after $csharp-sourcegen as a C# source generator learning, debugging, design, review, or testing request. Use the main csharp-tutor skill as the source of truth.

Load these csharp-tutor references when useful:

Prefer incremental generators for new work. Prioritize deterministic output, stable diagnostics, small semantic-model usage, testability, and build performance.

Standalone Guidance

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.