ckecs-domain-reference

Document CkFoundation ECS architecture and EnTT-based entity lifecycle management in Unreal Engine.

4|Updated Aug 15, 2023
One-click install
npx skills add https://github.com/chainkemists/CkFoundation --skill ckecs-domain-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ckecs-domain-reference
Source: https://github.com/chainkemists/CkFoundation/tree/main/.claude/skills/ckecs-domain-reference
Command: npx skills add https://github.com/chainkemists/CkFoundation --skill ckecs-domain-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves ambiguity regarding the CkFoundation ECS framework, providing a definitive mental model for how EnTT, CkEcs, and Unreal Engine subsystems interact to manage entity lifetimes and memory.

Core Features & Use Cases

  • Architectural Deep-Dive: Explains the mapping between EnTT sparse-set storage, CkEcs fragment pools, and UE world subsystems.
  • Lifecycle Management: Clarifies the deferred destruction pipeline, handle validity checks, and processor scheduling logic.
  • Use Case: Use this when debugging complex entity-processor interactions, verifying memory stability of fragments, or implementing new systems that require precise control over the ECS lifecycle.

Quick Start

Use the ckecs-domain-reference skill to explain the current entity destruction pipeline and how to safely filter for pending-kill entities in a processor.

Frequently Asked Questions about ckecs-domain-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does EnTT sparse-set storage map to CkEcs fragment pools in Unreal Engine?

EnTT sparse-set storage maps to CkEcs fragment pools by bridging native sparse-set memory allocation with Unreal Engine world subsystems, providing a definitive mental model for managing entity lifetimes and memory stability across both architectures.

Why does my ECS processor access invalid entities during deferred destruction in Unreal Engine?

Invalid entity access during deferred destruction occurs when processor scheduling logic fails to filter pending-kill entities. CkEcs uses deferred destruction pipelines and handle validity checks to ensure processors safely skip entities marked for destruction and prevent invalid memory access.

Can I use CkFoundation ECS architecture for memory-safe processor scheduling in Unreal Engine?

Yes, CkFoundation ECS architecture supports memory-safe processor scheduling in Unreal Engine by integrating EnTT fragment storage with CkEcs lifecycle management, ensuring precise control over entity lifetimes and verifying memory stability of fragments during system execution.

What is the best way to debug complex entity-processor interactions in an EnTT-based ECS?

The best way to debug complex entity-processor interactions is by referencing the architectural reasoning of CkEcs internals. This provides source-verified guidance on EnTT fragment storage mechanics, processor scheduling, and entity lifetime management to resolve memory safety issues.

When do I need to verify memory stability of fragments in a CkFoundation ECS system?

You need to verify memory stability of fragments when implementing new systems that require precise control over the ECS lifecycle. Checking fragment memory safety ensures that EnTT sparse-set storage and CkEcs pools maintain integrity during processor scheduling and entity lifetime changes.