Uw Dependency Injection

Opt-in DI architecture using Reflex for Unity 6+. Covers container setup, scoping, injection, command pattern, update management, and class taxonomy. Use when ProjectConfig.yaml -> architecture_pattern is "di-first", or when the user asks about dependency injection, inversion of control, service architecture, or testable game code. Triggers on "set up DI", "add dependency injection", "create a service", "wire up dependencies", "make this testable", "decouple these systems", "add a command pattern", "cross-feature communication", or architecture discussions involving testability, decoupling, and service layers. Only activates when ProjectConfig.yaml -> architecture_pattern is "di-first". For simpler projects, use uw-scriptable-object-arch instead.

IdoCohen560 281ed18 2 files · 12.2 KB Updated

File contents

IdoCohen560/claude-unity-game-studio/tree/main/unity-ai-workflow/.claude/skills/uw-dependency-injection commit 281ed18dbe

Frequently asked questions

npx skillmds@latest add idocohen560/uw-dependency-injection