本文へ移動
cccskills
無料GitHub で公開

ecs-systems

Implement entity behavior, subscriptions, lifecycle handling, and reusable action APIs.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md1.1 KB
  • agents/openai.yaml238 B
  • references/system-event-patterns.md495 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Systems own behavior and state mutation.

Structure

  • Resolve dependencies with [Dependency].
  • Subscribe in Initialize().
  • Keep On... handlers thin.
  • Route reusable actions through Try....
  • Put checks in Can... without mutation.
  • Keep execution in one mutation path.
  • Use existing system APIs before resolving lower-level managers.

Entity access

Use TryComp for guard clauses, Resolve when a method accepts Entity<T?>, and EnsureComp for idempotent creation. Prefer EntityQueryEnumerator or established queries over repeated global searches.

Use deferred deletion in handlers or enumeration when immediate deletion could invalidate iteration.

Lifecycle

Account for component startup, shutdown, map initialization, entity deletion, and predicted re-entry. Unsubscribe external callbacks and clean up overlays, timers, or cached references.

Performance

Avoid allocations, LINQ, repeated prototype lookups, and broad queries in Update() or frequent events. Measure before redesigning a hot path.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

atmos

無料

Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

audio

無料

Add data-driven audio with correct prediction, audience, resources, attribution, and verification.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

ArcaneSS14 のスキルをすべて見る

このスキルの問題を報告する