uw-dependency-injection
Installation
SKILL.md
Dependency Injection (Reflex)
DI-first architecture for complex Unity projects. Only applies when ProjectConfig.yaml -> architecture_pattern: di-first. For simpler projects, use uw-scriptable-object-arch (SO-first) instead.
Before You Start
- Read
docs/ProjectConfig.yamlfor:architecture_pattern— must be"di-first"for this skill to apply.di_framework— should be"reflex"(the default and recommended framework).mcp.unity_mcp— iftrue, callrefresh_unityafter creating files.
- Read
docs/CODING_STANDARDS.mdfor async patterns (Awaitable+CancellationToken), access modifiers (internalfor cross-class helpers within an asmdef), and class structure. - Read
docs/NAMING_CONVENTIONS.mdfor file/class naming. - Ensure each feature module has its own
.asmdef— create withuw-unity-feature-scaffold. Installers, Controllers, Services all live inside feature asmdefs.