tag-component

Community

Use tags for zero-data query dispatch.

AuthordyCuong03
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the challenge of labeling entities with logical state so systems can include or exclude them efficiently without adding storage or per-entity data fields.

Core Features & Use Cases

  • Empty tag component: Defines an IComponentData struct with no fields to represent membership or a boolean-like state.
  • Safe, query-driven gating: Uses RequireForUpdate<T>() to conditionally run systems and query filters like WithAll<T>() / WithNone<T>() to select entities based on tag presence.
  • Zero-chunk-overhead intent: Achieves stateful dispatch by structural archetype membership rather than runtime checks, enabling clear system composition.

What problem does it solve?

This Skill solves the challenge of labeling entities with logical state so systems can include or exclude them efficiently without adding storage or per-entity data fields.

Quick Start

Ask the AI to show how to create an empty IComponentData tag (e.g., IsActiveEnemy), gate a system with state.RequireForUpdate<IsActiveEnemy>(), and filter entities with Query().WithAll<IsActiveEnemy>() while adding/removing the tag via an ECB outside iteration.

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

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.