microsoft-extensions-dependency-injection

Community

Streamline DI with reusable Add* extensions.

Authorakoken
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams organize and reuse dependency injection configuration by encapsulating registrations into composable Add* extension methods, keeping Program.cs clean and making tests easier to configure.

Core Features & Use Cases

  • Group related registrations into cohesive extension methods like AddUserServices, AddOrderServices, and AddEmailServices.
  • Enable layered service composition across Domain, Infrastructure, and API boundaries for easier maintenance and testing.
  • Support testing via reuse of production registrations and targeted overrides in WebApplicationFactory or Akka.Hosting tests.

Quick Start

Example: register a feature by calling services.AddUserServices() in Program.cs, then override test dependencies as needed in tests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: microsoft-extensions-dependency-injection
Download link: https://github.com/akoken/dotfiles/archive/main.zip#microsoft-extensions-dependency-injection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.