Registry / codewithmukesh

codewithmukesh/dotnet-claude-kit/dependency-injection

Dependency injection patterns for .NET 10. Covers service lifetimes, keyed services, the decorator pattern, factory pattern, and common DI pitfalls. Load this skill when registering services, resolving lifetime issues, designing service composition, or when the user mentions "DI", "dependency injection", "service registration", "AddScoped", "AddTransient", "AddSingleton", "keyed services", "decorator", "Scrutor", "IServiceCollection", or "captive dependency".

Agent skill · version 0.0.0-main.1794518703.g6de62a5 · from codewithmukesh/dotnet-claude-kit

Install

npx yarkr-cli add skill:codewithmukesh/dotnet-claude-kit/dependency-injection

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:codewithmukesh/dotnet-claude-kit/dependency-injection
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:codewithmukesh/dotnet-claude-kit/dependency-injection

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:codewithmukesh/dotnet-claude-kit/dependency-injection

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.