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.
$npx -y skills add devdavv/unity-ai-workflow --skill uw-dependency-injectionInstalls into the current project.
Run `npx skills use "https://github.com/devdavv/unity-ai-workflow" --skill "devdavv/unity-ai-workflow/uw-dependency-injection"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/devdavv/unity-ai-workflow" that are relevant to the current task. Run `npx skills add "https://github.com/devdavv/unity-ai-workflow"` and select the relevant skills, then follow their instructions.