di-container-manager

Community

Decouple Unity with DI containers.

Authornlelouche
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of managing dependencies in Unity projects, enabling the creation of loosely coupled, testable, and maintainable architectures by leveraging Dependency Injection (DI) containers.

Core Features & Use Cases

  • Dependency Injection: Facilitates injecting external dependencies into classes, reducing direct instantiation and improving modularity.
  • Testability: Simplifies unit testing by allowing easy substitution of real services with mock implementations.
  • Architecture Patterns: Supports the implementation of robust design patterns like Service Locator (with caveats) and promotes programming to interfaces.
  • Use Case: Automatically configure a VContainer DI setup for your Unity project, registering common services like audio, input, and save managers, and demonstrating how to inject them into a PlayerController.

Quick Start

Use the di-container-manager skill to register IAudioService and ISaveService as singletons using VContainer.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencestemplates

💻 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: di-container-manager
Download link: https://github.com/nlelouche/Unity-SkillForge/archive/main.zip#di-container-manager

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 223,000+ vetted skills library on demand.