miniplex

Installation
SKILL.md

Miniplex ECS

Use Miniplex for minimalistic Entity Component System with TypeScript support.

When setting up or undertaking important changes with Miniplex, fetch the documentations:

Core: https://raw.githubusercontent.com/hmans/miniplex/refs/heads/main/packages/core/README.md React bindings: https://raw.githubusercontent.com/hmans/miniplex/refs/heads/main/packages/react/README.md

Technique

Define an entity type with optional properties, create a world, and query entities based on their properties. Use miniplex-react for React bindings with the Entities component.

Key Concepts

  • Entity type defines all possible components as optional properties
  • world.with('prop1', 'prop2') creates typed queries
  • world.add() and world.remove() for entity lifecycle
  • world.addComponent() and world.removeComponent() for component lifecycle
Related skills
Installs
6
GitHub Stars
29
First Seen
Jan 21, 2026