Ecs Pattern

Use when the user asks about ECS, entity component system design, archetype storage, chunk iteration, sparse sets, structural changes, ECS scheduling, Bevy ECS, EnTT or flecs. Produces ECS storage, query and scheduling design with trade-offs. Not for Unity Entities and Burst API details (use unity-csharp).

45 stars 6 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill ecs-pattern
Manual install
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/game/game-engine/ecs-pattern ~/.claude/skills/ecs-pattern

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Entity Component System (ECS) — Deep Engineering Guide

## Purpose
ECS is the dominant data-oriented architecture for modern game engines (Unity Entities/DOTS, Bevy, Unreal Mass, Overwatch's engine, flecs, EnTT — used in Minecraft Bedrock). It replaces scattered OOP objects with contiguous arrays of plain data so tens of thousands of entities update at 60 FPS on cache-limited CPUs.

## Agent Protocol

### Trigger
"ecs pattern", "archetype storage", "chunk iteration", "ecs scheduling", "bevy ecs", "entt", "flecs", "unity dots architecture".

### Input Context
- ECS library/engine and version
- Entity counts, component churn, thread count
- Profiler data if tuning

### Output Artifact
ECS design or code with memory-layout reasoning. No file unless requested.

### Response Format
```
Library: {EnTT | flecs | Bevy | Unity Entities | custom}
Layout: {archetypes / chunk size}
Systems: {order, read/write sets}
Code: {snippet}
```

## 1. Why ECS Exists: The Performance Rationale

### 1.1 The OOP Cache Problem

A classic OOP hierarchy:

```cpp
class GameObject {
public:
    virtual void Update() = 0;
    glm::vec3 m_Position;
    float m_Health;
    std::vector<GameObject*> m_Children;
};

class Enemy : public GameObject {
public:
    void Update() override;
private:
    std::string m_Name;
    float m_Speed;
};
```
Read the full skill on GitHub

Details

Skill name
ecs-pattern
Path
skills/game/game-engine/ecs-pattern/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Ecs Pattern skill do?

Use when the user asks about ECS, entity component system design, archetype storage, chunk iteration, sparse sets, structural changes, ECS scheduling, Bevy ECS, EnTT or flecs. Produces ECS storage, query and scheduling design with trade-offs. Not for Unity Entities and Burst API details (use unity-csharp).

How do I install the Ecs Pattern skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill ecs-pattern. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Ecs Pattern popular?

It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.

Related skills

Agent Observability

45

j4flmao/agent-skills

Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).

DevOps & Cloud

AI Agent Architectures

45

j4flmao/agent-skills

Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).

AI, LLMs & Agents

AI Agent Core Loop

45

j4flmao/agent-skills

Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).

AI, LLMs & Agents

Ember

45

j4flmao/agent-skills

Use when the user asks about Ember.js, Ember CLI, Ember Octane, Glimmer components, tracked properties, Ember routes and services, or Ember Data / WarpDrive. Produces convention-driven Ember code and data-layer setup. Not for React, Vue or Angular apps (use react-architecture, vue-architecture or angular-architecture).

Frontend & Design

Ecmwf Destine

23

ecmwf/ecmwf-weather-skills

Handles any Destination Earth question — load it first; it prepares requests by running scripts/destine.py. Accesses Destination Earth (DestinE) Digital Twin data — the Climate Change Adaptation Digital Twin (Climate DT, multi-decadal IFS-FESOM, IFS-NEMO and ICON simulations and SSP3-7.0 projections, hourly or as monthly means), the Weather-Induced Extremes Digital Twin (Extremes DT, high-resolution forecasts) and On-Demand Extremes — through the DestinE Polytope service. Use when a task mentions Destination Earth, DestinE, Digital Twins, Climate DT, Extremes DT, nextGEMS, the DestinE Platform

Frontend & Design

Frontend Accessibility

45

j4flmao/agent-skills

Use when the user asks to make a page pass WCAG 2.2 AA in code, fix ARIA, keyboard navigation, focus management, accessible forms and modals, screen reader bugs or add axe tests in CI. Produces accessible component code and automated a11y checks for any framework. Not for design-side audits, contrast reviews or VPATs (use design-accessibility).

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.