home/categories/architecture-patterns/aaronontheweb-dotnet-skills-skills-microsoft-extensions-dependency-injection-skill-md
architecture-patternsdevelopment
dependency-injection-patterns
Organize DI registrations using IServiceCollection extension methods. Group related services into composable Add* methods for clean Program.cs and reusable configuration in tests.
maintainer
Aaronontheweb
Updated 2/21/2026
Stars
761
Forks
72
quick start
Installation and usage
Organize DI registrations using IServiceCollection extension methods. Group related services into composable Add* methods for clean Program.cs and reusable configuration in tests.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use dependency-injection-patterns