uw-scriptable-object-arch
Installation
SKILL.md
ScriptableObject Architecture
Generate SO patterns for data, events, and runtime collections.
Before You Start
- Read
docs/ProjectConfig.yamlfor:architecture_pattern—"so-first"(default, this skill is primary) or"di-first"(SOs still hold data, but events become Commands — seeuw-dependency-injection).mcp.unity_mcp— iftrue, callrefresh_unityafter creating files.
- Read
docs/TDD_Template.mdfor data architecture decisions. - Read
docs/NAMING_CONVENTIONS.mdfor SO file naming (PascalCase:SwordData.asset). - Ensure the feature has an
.asmdef— create withuw-unity-feature-scaffoldif needed.
Three Patterns
1. Data Container
Store game-tunable values in a ScriptableObject. Designers edit them in the Inspector without touching code.