Csharp generics

From yappologistic/CSharp-Tutor · View interactive version

Csharp generics is an AI agent skill from the GitHub repository yappologistic/CSharp-Tutor. Teach and review C# generics. Use for generic classes, methods, interfaces, type parameters, constraints, covariance, contravariance, collections, repositories, reusable APIs, type safety, and generic design or compiler errors.

How to use this skill

Skill file

C# Generics

Use $csharp-tutor mode=generics.

Treat all user text after $csharp-generics as a C# generics learning, debugging, review, refactor, or API design question. Use the main csharp-tutor skill as the source of truth.

Load these csharp-tutor references when useful:

Explain the type-safety benefit first, then show a small generic method or type. For reviews, check whether generics reduce duplication and improve contracts, or whether a simpler concrete type would be clearer.

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.