Models game objects as entities with data components processed by systems. Guides when ECS complexity pays off vs. simpler composition.
ECS replaces "what an object is" (inheritance) with "what an object has" (components) and "what processes it" (systems). You buy composition flexibility and cache-friendly iteration; you pay in indirection for gameplay logic that wants to reason about one thing.
Position{x,y},
Velocity{dx,dy}, Health{hp,max}: no methods beyond
accessors, no references to other entities' components (store
entity IDs instead; see rust-ownership's handle pattern).
Behavior lives in systems; a component with logic is a class
wearing a costume.(Position, Velocity); damage iterates
(Health, IncomingDamage): each system declares what it
reads and writes, runs over every matching entity, and stays
ignorant of entity "types". Small, single-purpose systems
compose the game; a MegaSystem touching everything recreates
the God object horizontally.Dead, PlayerControlled) make queries expressive;
short-lived event components (or a queue consumed by one
system) carry "this happened" between systems without
callbacks. Singleton/resource storage holds world state
(time, input snapshot) systems share.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
game-architecture, ecs, entity-component-system, composition
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job