wave8-dependency-complete-editor-only-fence

Community

Use Complete() safely as an editor-only probe

AuthordyCuong03
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents the common ECS/DOTS mistake of using state.Dependency.Complete() as a general “make jobs finish” mechanism, which silently destroys parallelism and causes main-thread stalls.

Core Features & Use Cases

  • Editor-only diagnostic fencing: Applies Complete() only under UNITY_EDITOR to inspect intermediate NativeArray/job results without shipping the anti-pattern.
  • Production-safe dependency chaining: Encourages correct propagation of job dependencies so consuming systems naturally synchronize without sync points.
  • Risk and performance guardrails: Highlights runtime and profiler risks (e.g., WaitForJobGroupID stalls) and provides architecture guidance to fix broken dependency chains.

Quick Start

Add a UNITY_EDITOR-guarded state.Dependency.Complete() call around a temporary diagnostic fence when you need to inspect intermediate job state, and remove it before merging.

Dependency Matrix

Required Modules

None required

Components

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: wave8-dependency-complete-editor-only-fence
Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#wave8-dependency-complete-editor-only-fence

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.