wave4-ijobentity-advanced-patterns

Community

Write efficient filtered IJobEntity jobs

AuthordyCuong03
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you extend ECS simulation jobs using IJobEntity with precise query filtering and deterministic scheduling so production systems behave consistently across frames.

Core Features & Use Cases

  • Query filter attributes: Use [WithAll], [WithNone], [WithAny], [WithDisabled], and [WithPresent] to control exactly which entities your job targets.
  • Deterministic parallel command ordering: Use [ChunkIndexInQuery] when scheduling ECB.ParallelWriter commands to keep structural changes stable.
  • Stable scatter/write indexing: Use [EntityIndexInQuery] when you need a per-entity stable index (e.g., writing into NativeArrays by entity).
  • Production safety guidance: Avoid common anti-patterns (wrong sort key, missing partial, incorrect dependency assignment) that cause subtle runtime bugs.

Quick Start

Ask the AI to refactor an existing IJobEntity job to add the correct With* filters and apply [ChunkIndexInQuery]/[EntityIndexInQuery] so ECB.ParallelWriter ordering and NativeArray indexing become deterministic.

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: wave4-ijobentity-advanced-patterns
Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#wave4-ijobentity-advanced-patterns

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.