team-unity
Use when the task touches Unity Editor assets, scenes, prefabs, UI Toolkit, Unity-MCP, Play Mode visuals, Console, screenshots, package/project settings, or when an agent is about to hand-edit .unity/
Files1
View on GitHubSKILL.md.claude/skills/team-unity/SKILL.md
GitHubTeam Unity — Unity Engine / MCP Orchestration
Use this skill when work crosses Unity Editor assets, runtime presentation, Unity-MCP operations, package configuration, or engine-specific implementation. It coordinates Unity specialists while enforcing the architecture rule that Unity Presentation and Adapter code do not leak into pure Data or Simulation assemblies.
MCP connectivity gate (before any Editor work)
Run this before scene/prefab/UXML/Play Mode/screenshot work. Skip only for
pure headless sim/delegation (dotnet test, no Unity assets).
curl -sS -o /dev/null -w "%{http_code}\n" --max-time 3 http://localhost:8080
If this clone has not pinned yet: ./tools/pin-unity-mcp-8080.sh then open
Editor 6000.3.22f1 on unity/ProjectAegis. Clients: .mcp.json,
.cursor/mcp.json, .grok/config.toml → ai-game-developer at
http://localhost:8080.
HTTP 2xx — Editor MCP live
- Discover tools (
ping,unity-tool-list, orsearch_toolqueryunity). - Propose scene/prefab/asset mutations; wait for approval on writes.
- Mutate only through Unity-MCP (
scene-*,gameobject-*,assets-*). scene-save/assets-prefab-save.- Visual check:
editor-application-set-state(Play Mode) →console-get-logs→screenshot-game-view. - Stop Play Mode. Report Console errors and the screenshot.
Connection failed — stay headless
- Say
:8080is down. Do not invent Editor tools. - Use
dotnet test/ PlayModeSmokeHarness / file edits undersrc/. - Do not hand-edit
.unity,.prefab, or.metaYAML to change hierarchy, GUIDs, or component refs. - Do not call Unity-MCP tools that require a live Editor.
Never mutate DelegationBridge via script-execute, script-update-or-create,
or reflection.
| Excuse | Reality |
|---|---|
| "Editor is closed, I'll patch the YAML" | Stay headless or ask to open Editor. Wrong GUIDs break the asset. |
| "It's just one component field" | Use gameobject-component-modify when :8080 is up. |
| "MCP isn't in this session so tools don't exist" | Probe :8080. If down, headless. If up, search_tool / unity-tool-list. |
Phase 0: Resolve Mode and Review Level
Modes:
scene— scene hierarchy, lighting, cameras, test scenes, play-mode setup.prefab— prefab structure, variants, component references, and serialization safety.ui-toolkit— UXML/USS, PanelSettings, runtime UI Toolkit, focus/navigation.dots— Entities, Burst, Jobs, NativeContainers, ECS world-state presentation.addressables— asset groups, labels, loading/unloading, memory and catalog strategy.shaders— Shader Graph, HLSL, VFX Graph, render-pipeline customization.mcp— Unity-MCP editor operations and real-time editor automation planning.build-profile— Unity packages, project settings, platforms, build profiles.performance— Unity Profiler, frame budget, GC, rendering, asset memory.full-feature— engine architecture → implementation → validation → QA handoff.- No mode — infer from request; if ambiguous, ask one focused question.
Review mode:
- If
--review [full|lean|solo]is present, use it. - Else read
production/review-mode.txtif present. - Else default to
lean.
Team Composition
- unity-specialist — Unity architecture lead and engine API authority.
- unity-ui-specialist — UI Toolkit, UXML/USS, UGUI exceptions, input/focus.
- unity-dots-specialist — DOTS/ECS, Jobs, Burst, NativeContainers.
- unity-addressables-specialist — asset groups, catalogs, async loading, memory lifecycle.
- unity-shader-specialist — Shader Graph, HLSL, VFX Graph, render pipeline.
- technical-artist — art-to-engine pipeline, import settings, visual optimization.
- c-sharp-devops-engineer — Unity batchmode, package/build automation, CI.
- c-sharp-reviewer / c-sharp-test-engineer — Unity C# review and test coverage.
- qa-lead / qa-tester — play-mode, smoke, and manual QA evidence.
Phase 1: Load Required Context
Read only relevant context:
Tech-Stack.md,.mcp.json,.cursor/mcp.json,.grok/config.toml, Unity package manifests.docs/engine-reference/unity/VERSION.mdand package-specific notes.docs/architecture/architecture.mdlayer rules.- Unity project paths under
unity/ProjectAegis/**and adapter code in scope. - Existing scene, prefab, UXML, USS, shader, material, Addressables, or test assets.
Report the affected Unity subsystem, owning specialists, and required validation.
Phase 2: Select Workflow Pipeline
MCP / Editor Pipeline
Follow the MCP connectivity gate above. Then:
- Present planned scene/prefab/asset operations before execution.
- Require explicit user approval before editor-side mutations.
- Mutate through Unity-MCP, then save.
- Close the loop with Console + Game View screenshot when the change is visual.
- Headless
PlayModeSmokeHarnessTestsstill gates C2/delegation — Editor Play Mode is not a substitute.
UI Toolkit Pipeline
- Coordinate with
/team-uiandui-experience-leadfor UX and command-boundary gates. - Spawn
unity-ui-specialistfor UXML/USS, PanelSettings, focus, input, and performance. - Route UI C# controllers through
/team-csharpreview/test gates.
DOTS Pipeline
- Spawn
unity-dots-specialistfor ECS/Burst/Jobs architecture. - Coordinate with
/team-simulationfor deterministic sim boundaries. - Confirm no pure sim code references UnityEngine and no per-frame managed allocations.
Addressables / Asset Pipeline
- Spawn
unity-addressables-specialistfor groups, labels, catalogs, loading strategy. - Spawn
technical-artistfor import settings and asset budget review. - Run
/asset-auditwhen assets or import settings are in scope.
Shader / VFX Pipeline
- Spawn
unity-shader-specialistfor shader/VFX architecture and render pipeline fit. - Spawn
performance-analystwhen frame budget or GPU cost is at risk. - Ensure visual effects do not become hidden gameplay-state owners.
Build / Package Pipeline
- Spawn
c-sharp-devops-engineerfor package, asmdef, batchmode, or CI changes. - Ask before package changes or build profile changes.
- Validate with the smallest safe Unity or dotnet command available.
Phase 3: Blocking Gates
Stop and ask before proceeding when a change affects:
- Unity-MCP scene/prefab/asset mutation.
- UPM package versions or ProjectSettings.
- Pure Sim/Data/Delegation dependency direction.
- Addressables catalogs, remote content, or memory strategy.
- DOTS/Burst hot paths or deterministic simulation behavior.
- Shader/render pipeline selection or platform quality tiers.
Output
Produce a concise report:
- Mode and Unity subsystem.
- Agents/skills invoked or recommended.
- Files/assets likely affected.
- Architecture, performance, and asset risks.
- Validation plan and next approved action.
- MCP probe result (
:8080live vs down) and whether the visual loop ran.
Red flags — stop
- About to
Write/Edita.unity,.prefab, or.metato "fix" hierarchy or GUIDs - Calling Unity-MCP tools without a successful
:8080probe this session - Claiming Play Mode / screenshot evidence from headless-only work
- Editing
DelegationBridgethrough Unity-MCP script/reflection tools - Adding URP, HDRP, or the new Input System without explicit human approval