Unity Csharp

Use when the user asks about Unity DOTS, Unity ECS with Entities, ISystem, IJobEntity, Burst jobs, the C# Job System, NativeArray or GC-free Unity C#. Produces Entities, Jobs and Burst code with correct safety rules. Not for general Unity project architecture (use unity) or engine-agnostic ECS design (use ecs-pattern).

45 stars 6 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill unity-csharp
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-development/unity-csharp ~/.claude/skills/unity-csharp

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

From the SKILL.md

# Unity Data-Oriented Technology Stack (DOTS) & C# Mechanics

## Purpose
This skill covers Unity's data-oriented stack (ECS, Job System, Burst) and the C# practices that make Unity code fast and correct.

## Agent Protocol

### Trigger
"unity dots", "unity ecs", "unity entities", "ISystem", "IJobEntity", "burst compiler", "unity job system", "unity c# performance".

### Input Context
- Unity version and Entities package version
- MonoBehaviour, hybrid or pure ECS
- Performance symptom (profiler capture if available)

### Output Artifact
C# systems/jobs and authoring code. No file unless requested.

### Response Format
```
Unity: {version}  Entities: {version}
System: {name, query, read/write}
Code: {snippet}
Verify: {Profiler / Burst inspector / Entities hierarchy}
```

## 1. Why DOTS: The OOP-Based Entry Points

Unity's classic `MonoBehaviour` model is object-oriented: each `Behaviour` instance owns its fields, script lifecycle callbacks run per frame, and objects reference each other. For 10k+ entities, per-object `Update()` incurs:

- A virtual-call-like dispatch per object per frame.
- Arbitrary memory layout → cache misses.
- Heap fragmentation from per-frame allocation.

DOTS replaces this with contiguous data and systems-in-a-loop.

## 2. ECS Model in Unity
Read the full skill on GitHub

Details

Skill name
unity-csharp
Path
skills/game/game-development/unity-csharp/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Unity Csharp skill do?

Use when the user asks about Unity DOTS, Unity ECS with Entities, ISystem, IJobEntity, Burst jobs, the C# Job System, NativeArray or GC-free Unity C#. Produces Entities, Jobs and Burst code with correct safety rules. Not for general Unity project architecture (use unity) or engine-agnostic ECS design (use ecs-pattern).

How do I install the Unity Csharp skill?

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

Is Unity Csharp 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

Vulkan

45

j4flmao/agent-skills

Use when the user asks about Vulkan, swapchain recreation on window resize, vkQueueSubmit, dynamic rendering, pipeline barriers, synchronization2, descriptor sets, VMA or validation layer errors. Produces explicit Vulkan setup, sync and memory code. Not for engine-agnostic frame graph design (use render-graph).

Software Development

Unity

45

j4flmao/agent-skills

Use when the user asks about Unity 6, MonoBehaviour, the player loop, URP, HDRP, Addressables, Netcode for GameObjects, Unity physics or Unity Profiler. Produces Unity project architecture, gameplay code and performance fixes. Not for DOTS, Entities and Burst in depth (use unity-csharp) or Unreal (use unreal).

Software Development

Webgpu Webgl Rendering

45

j4flmao/agent-skills

Use when the user asks about WebGPU, WGSL, WebGL2, GLSL shaders, bind groups, render pipelines, GPU buffers or compute shaders in the browser. Produces low-level browser GPU pipeline setup, buffer alignment, WebGL2 fallback and per-frame performance rules. Not for Three.js or React Three Fiber scenes (use web3d-webgl).

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.