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

ecs-components

Design SS14 components as serialized state in the correct assembly.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md1.2 KB
  • agents/openai.yaml224 B
  • references/component-patterns.md610 B

SKILL.md(原文)

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

Components are data attached to entities. Keep behavior in systems.

Workflow

  1. Find a nearby component owned by the same subsystem.
  2. Choose the assembly from who must read the state.
  3. Add [RegisterComponent] and the repository's normal serialization attributes.
  4. Use [DataField] for prototype-backed configuration.
  5. Use typed IDs such as ProtoId<T> or EntProtoId where supported.
  6. Add network generation attributes only for fields the client needs.
  7. Define lifecycle defaults that remain valid before prototype data is applied.
  8. Add tests for important validation or serialization behavior.

Networking

A networked component belongs in Shared. Do not replicate hidden server state. After authoritative mutation, call the appropriate dirtying API from the system that owns the change.

Avoid

  • service lookup or game logic inside components;
  • raw prototype strings when typed IDs exist;
  • mutable collections without a clear serialization and dirtying strategy;
  • client-only types in Shared;
  • using EntityUid.Invalid instead of nullable references when the surrounding API uses nullability.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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 のスキルをすべて見る

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