dependency-injection-patterns
✓IServiceCollection 拡張メソッドを使用して DI 登録を整理します。関連サービスを構成可能な Add* メソッドにグループ化し、クリーンな Program.cs とテストでの再利用可能な構成を実現します。
SKILL.md
Convention: {Feature}ServiceCollectionExtensions.cs next to the feature's services.
| Add{Feature}Services() | General feature registration | | Add{Feature}() | Short form when unambiguous | | Configure{Feature}() | When primarily setting options | | Use{Feature}() | Middleware (on IApplicationBuilder) |
See akka/hosting-actor-patterns skill for complete Akka.Hosting patterns.
IServiceCollection 拡張メソッドを使用して DI 登録を整理します。関連サービスを構成可能な Add* メソッドにグループ化し、クリーンな Program.cs とテストでの再利用可能な構成を実現します。 ソース: aaronontheweb/dotnet-skills。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill dependency-injection-patterns- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-05
- 更新日
- 2026-02-18
クイックアンサー
dependency-injection-patterns とは?
IServiceCollection 拡張メソッドを使用して DI 登録を整理します。関連サービスを構成可能な Add* メソッドにグループ化し、クリーンな Program.cs とテストでの再利用可能な構成を実現します。 ソース: aaronontheweb/dotnet-skills。
dependency-injection-patterns のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/aaronontheweb/dotnet-skills --skill dependency-injection-patterns インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/aaronontheweb/dotnet-skills
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-05