structural-change-cost-model
CommunityPick the cheapest ECS state transition.
Software Engineering#performance#optimization#archetypes#ecs#structural changes#enableable components#unity dots
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill removes guesswork from ECS state transitions by providing a canonical decision model for when to mutate values, toggle enableable components, or perform structural add/remove operations.
Core Features & Use Cases
- Decision Tree for ECS Transitions: Select value mutation, enableable component toggles, or structural changes based on change frequency and semantic intent.
- Frequency Rule of Thumb: Applies consistent thresholds (e.g., > 1/sec per entity) to choose the lowest-cost approach that still preserves clarity.
- Performance Risk Guidance: Highlights runtime risks like chunk migration spikes and archetype churn, so you can avoid expensive patterns at scale.
- Architecture Guidance: Recommends using structural boundaries to create meaningful archetypes (e.g., “Dead” entities excluded from queries) to reduce query-time complexity.
Quick Start
Apply the frequency rule to your ECS state change and choose value mutation, enableable toggle, or structural add/remove accordingly.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: structural-change-cost-model Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#structural-change-cost-model Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.