flecs-dylib-modules

Community

Hot-reload Flecs modules in Rust.

Authorandrewgazelka
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables teams to architect and maintain hot-reloadable Flecs modules as Rust dylibs, allowing updates to module logic without restarting the Flecs world and enabling clean boundaries between components and systems.

Core Features & Use Cases

  • Component modules define components/singletons only, no systems;
  • System modules import component modules and define systems that operate on them;
  • Supports hot-reload of systems without breaking component data;
  • Enables multiple system modules to share the same components;
  • Provides a clear module structure and Cargo-based dependencies as demonstrated in the example layout.

Example Structure

(The example structure is described in the SKILL.md)

crates/module/
├── time-components/     # WorldTime, TpsTracker (components only)
├── time-systems/        # Systems that tick WorldTime (imports time-components)
├── network-components/  # Connection, PacketBuffer, etc.
├── network-systems/     # Ingress/egress systems
└── play/                # Game systems (imports time-components, network-components)

Quick Start

Create a new hot-reloadable Flecs module following the example structure and module interface.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: flecs-dylib-modules
Download link: https://github.com/andrewgazelka/rgb/archive/main.zip#flecs-dylib-modules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.