Skip to main content

Unity ECS Patterns

Skill Verified Active

Master Unity ECS (Entity Component System) with DOTS, Jobs, and Burst for high-performance game development. Use when building data-oriented games, optimizing performance, or working with large entity counts.

Purpose

Master Unity ECS (Entity Component System) with DOTS, Jobs, and Burst for high-performance game development.

Features

  • Explains ECS vs OOP paradigms
  • Details DOTS component types
  • Provides code patterns for Systems, Queries, and Command Buffers
  • Illustrates Aspect-oriented programming
  • Covers Singleton components and Baking processes
  • Demonstrates Jobs with Native Collections
  • Includes performance optimization tips

Use Cases

  • Building high-performance Unity games
  • Managing thousands of entities efficiently
  • Implementing data-oriented game systems
  • Optimizing CPU-bound game logic
  • Converting OOP game code to ECS
  • Utilizing Jobs and Burst for parallelization

Non-Goals

  • Unity editor workflow specifics beyond baking
  • Detailed C# language features outside of DOTS context
  • General game design principles not tied to ECS performance

Workflow

  1. Understand ECS vs OOP
  2. Learn DOTS component types
  3. Implement basic ECS setup
  4. Utilize Systems (ISystem, IJobEntity)
  5. Perform Entity Queries
  6. Manage structural changes with Command Buffers
  7. Apply Aspects for component grouping
  8. Work with Singleton components
  9. Implement Baking for GameObject conversion
  10. Use Jobs with Native Collections
  11. Apply performance optimization tips

Practices

  • ECS Patterns
  • DOTS
  • Job System
  • Burst Compiler
  • Performance Optimization
  • Data-Oriented Design

Practical Utility

  • info:Edge casesWhile the skill covers many patterns, explicit documentation of failure modes and recovery steps for edge cases within Unity ECS development is not detailed.

Installation

First, add the marketplace

/plugin marketplace add wshobson/agents
/plugin install game-development@claude-code-workflows

Quality Score

Verified
98 /100
Analyzed about 18 hours ago

Trust Signals

Last commit3 days ago
Stars35.3k
LicenseMIT
Status
View Source

Similar Extensions

Game Developer

98

Use when building game systems, implementing Unity/Unreal Engine features, or optimizing game performance. Invoke to implement ECS architecture, configure physics systems and colliders, set up multiplayer networking with lag compensation, optimize frame rates to 60+ FPS targets, develop shaders, or apply game design patterns such as object pooling and state machines. Trigger keywords: Unity, Unreal Engine, game development, ECS architecture, game physics, multiplayer networking, game optimization, shader programming, game AI.

Skill
jeffallan

Unity Mcp Orchestrator

100

Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for effective Unity-MCP integration.

Skill
CoplayDev

Mcp Source

100

Switch MCP for Unity package source in connected Unity projects. Use /mcp-source [main|beta|branch|local] to swap between upstream releases, your remote branch, or local dev checkout.

Skill
CoplayDev

Game Ci Pipeline

99

Invoke to set up CI/CD pipelines for game builds -- automated testing, build pipelines, and deployment to Steam, itch.io, or Epic. Triggers on: "CI", "CD", "pipeline", "automated build", "deploy", "Steam deploy", "itch.io butler", "GitHub Actions game", "build automation". Do NOT invoke for general code review (use game-code-review) or manual testing guidance (use game-qa-lead). Part of the AlterLab GameForge collection.

Skill
AlterLab-IEU

Unity Specialist

75

Invoke when the user works with Unity or asks about C#, MonoBehaviour, DOTS/ECS, Shader Graph, Addressables, UI Toolkit, URP/HDRP, or ScriptableObjects. Triggers on: "Unity", "MonoBehaviour", "DOTS", "ECS", "Shader Graph", "Addressables", "UI Toolkit", "URP", "HDRP", "ScriptableObject", ".unity", ".cs". Do NOT invoke for engine-agnostic architecture (use game-technical-director) or Godot/Unreal questions. Part of the AlterLab GameForge collection.

Skill
AlterLab-IEU

Csharp Async

100

Get best practices for C# async programming

Skill
github

© 2025 SkillRepo · Find the right skill, skip the noise.