ck-macros-and-codegen

Document CK_ macro expansions and registration rituals for Unreal Engine ECS.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides the mechanical knowledge required to correctly implement CkFoundation types, ensuring that macro expansions, registration rituals, and contract constraints are followed without architectural drift.

Core Features & Use Cases

  • Macro Expansion Reference: Provides exact expansions for CK_ macros, including property accessors, constructors, and typesafe handles.
  • Ritual Checklists: Offers step-by-step guides for adding new fragments, processors, requests, and signals to the ECS framework.
  • Use Case: When adding a new data fragment to the ECS, use this skill to verify the correct order of CK_GENERATED_BODY and CK_PROPERTY macros to ensure proper AngelScript and UHT integration.

Quick Start

Use the ck-macros-and-codegen skill to provide the checklist and macro requirements for adding a new typesafe handle to the project.

Frequently Asked Questions about ck-macros-and-codegen

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

FAQPage Schema
How do I add a new data fragment to an ECS in Unreal Engine using macros?

To add a new data fragment to the ECS, use this skill to verify the correct order of CK_GENERATED_BODY and CK_PROPERTY macros, ensuring proper AngelScript and UHT integration without architectural drift.

What are the registration requirements for typesafe handles in CkFoundation?

Typesafe handles in CkFoundation require following specific registration rituals and macro expansions to ensure compliance with binary-compatibility, serialization, and AngelScript interop contracts within the Unreal Engine framework.

How do CkFoundation macro expansions work for ECS processors and signals?

CkFoundation macro expansions generate property accessors, constructors, and typesafe handles for ECS processors and signals, enforcing source-level definitions that maintain contract constraints across the Unreal Engine framework.

Does CkFoundation macro-based architecture support AngelScript interop?

Yes, CkFoundation macro-based architecture supports AngelScript interop by enforcing verified source-level macro definitions and specific ordering of CK_GENERATED_BODY and CK_PROPERTY macros for proper integration.

What step-by-step rituals are needed to add new requests to the ECS framework?

Adding new requests requires following step-by-step ritual checklists to ensure correct macro expansion, typesafe handle registration, and compliance with serialization and binary-compatibility contracts.

Why do my CK_ macro expansions fail binary-compatibility checks in Unreal Engine?

CK_ macro expansions fail binary-compatibility checks when the correct order of CK_GENERATED_BODY and CK_PROPERTY macros is not followed, causing architectural drift and breaking serialization and AngelScript interop contracts.