Skip to content
cccskills
FreePublished on GitHub

ecs-components

Design SS14 components as serialized state in the correct assembly.

The English summary is being prepared. Showing the original description.

See how to install

Files included (3)

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

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 21, 2026

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 21, 2026

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 21, 2026

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 21, 2026

atmos

Free

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 21, 2026

audio

Free

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new11Updated Oct 21, 2026

See all skills by ArcaneSS14

Report a problem with this skill