Skip to content
cccskills
FreePublished on GitHub

ecs-systems

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

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

See how to install

Files included (3)

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

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

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 20, 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 20, 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 20, 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 20, 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 20, 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 20, 2026

See all skills by ArcaneSS14

Report a problem with this skill