Csharp di

From yappologistic/CSharp-Tutor · View interactive version

Csharp di is an AI agent skill from the GitHub repository yappologistic/CSharp-Tutor. Teach and review dependency injection in C# and .NET. Use for service registration, constructor injection, lifetimes, scopes, factories, options, testability, dependency boundaries, inversion of control, ASP.NET Core DI, and maintainable object-oriented design.

How to use this skill

Skill file

C# DI

Use $csharp-tutor mode=di.

Treat all user text after $csharp-di as a C# dependency injection, service design, testability, OOP, or architecture question. Use the main csharp-tutor skill as the source of truth.

Load these csharp-tutor references when useful:

Prioritize lifetime correctness, explicit dependencies, replaceable boundaries, testability, and simple composition. Avoid adding interfaces or factories unless they solve a real coupling, lifetime, or testing problem.

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.