ecs-component-patterns

Installation
SKILL.md

ECS Component Patterns

When to Use

Use this skill when:

  • Designing components for game entities
  • Optimizing component memory layout
  • Implementing special component types
  • Managing shared game data
  • Creating reusable component libraries

Core Principles

  1. Data-Only Components: No logic, only data
  2. Small Components: Single responsibility principle
  3. Composition: Combine simple components for complex behavior
  4. Tag Components: Empty components as flags
  5. Shared Data: Singleton components for global state
  6. Type Safety: TypeScript for all component definitions
Installs
7
GitHub Stars
26
First Seen
Jul 10, 2026