unity-audit
Full project health check — meta file integrity, missing references, assembly definition graph, code quality scan, scene hierarchy audit.
Parallel agent orchestration — spawns multiple specialized agents simultaneously for faster development. Supports preset teams and custom combinations.
> /plugin marketplace add XeldarAlz/everything-claude-unityHow it fires
How this command gets triggered: by you, by Claude, or both.
/unity-teamContext preview
What this command does when you run it.
Parallel agent orchestration — spawns multiple specialized agents simultaneously for faster development. Supports preset teams and custom combinations.
name: unity-team description: "Parallel agent orchestration — spawns multiple specialized agents simultaneously for faster development. Supports preset teams and custom combinations." user-invocable: true args: team_spec
Spawn multiple agents in parallel to work on: **$ARGUMENTS**
This command runs 2-3 agents simultaneously instead of sequentially, significantly speeding up workflows where different concerns can be addressed independently.
Parse `$ARGUMENTS` for a team flag. Everything after the flag is the task description.
| Flag | Agents | Best For | |------|--------|----------| | `--build` | unity-coder + unity-test-runner + unity-reviewer | New features with full quality coverage | | `--feature` | unity-coder + unity-scene-builder + unity-test-runner | Features that need scene setup | | `--quality` | unity-reviewer + unity-optimizer + unity-test-runner | Auditing existing code | | `--security` | unity-security-reviewer + unity-reviewer + unity-linter | Security audit with code quality check | | `--custom <agents>` | Comma-separated agent names | Any combination |
Add `--quick` to any preset to swap opus agents for their sonnet/haiku equivalents where available:
| Opus Agent | Quick Replacement | |------------|-------------------| | `unity-coder` | `unity-coder-lite` | | `unity-fixer` | `unity-fixer-lite` | | `unity-reviewer` (already sonnet) | No change |
Example: `/unity-team --build --quick "add health bar UI"` uses `unity-coder-lite` instead of `unity-coder`.
If no team flag is provided, default to `--build`.
/unity-team --custom coder,shader-dev "add a dissolve effect to enemy death"
Agent names can be specified with or without the `unity-` prefix. Valid: `coder`, `unity-coder`, `shader-dev`, `unity-shader-dev`.
1. **Validate agents** — verify each requested agent exists in `.claude/agents/` 2. **Read project context** — scan CLAUDE.md, recent git state, assembly structure 3. **Detect write conflicts** — if two agents might write to the same files, warn the user:
WARNING: unity-coder and unity-scene-builder may both modify scene files. Proceed anyway? (The reconciliation pass will resolve conflicts.)
4. **Decompose the task** — generate a role-specific brief for each agent
Each agent receives the shared task description PLUS a role-specific instruction:
**unity-coder:** > "Implement the following feature. Focus on writing C# scripts with correct namespace, assembly placement, and architecture. Do NOT set up scene elements — another agent is handling that."
**unity-test-runner:** > "Write EditMode and PlayMode tests for the following feature. The implementation is being written by another agent in parallel — write tests based on the expected API described in the task, not by reading the implementation."
**unity-reviewer:** > "Review the codebase for issues related to the following feature area. Check existing code that the new feature will touch. Focus on serialization safety, performance, and architecture concerns."
**unity-scene-builder:** > "Set up scene elements (GameObjects, components, hierarchy, physics layers) for the following feature. Script files are being written by another agent — focus only on the scene structure."
**unity-optimizer:** > "Profile and analyze performance in the area related to the following feature. Identify bottlenecks, GC allocations, and rendering issues."
**unity-shader-dev:** > "Create or modify shaders for the following feature. Set up materials and test objects via MCP."
Launch all agents simultaneously using the Agent tool with multiple parallel invocations in a single message. Each agent runs independently.
Wait for all agents to complete and collect their results.
Aggregate results from all agents into a unified report:
## Team Results ### unity-coder - Files created/modified: [list] - Summary: [agent's summary] ### unity-test-runner - Tests created: [list] - Summary: [agent's summary] ### unity-reviewer - Issues found: [count] - Summary: [agent's summary]
Check for conflicts between agent outputs:
1. **File conflicts** — did two agents modify the same file? Flag and present both versions. 2. **API mismatches** — do tests reference APIs that the coder didn't create? Flag. 3. **Naming inconsistencies** — different agents used different names for the same concept? Flag.
If conflicts were detected:
1. Present the conflicts to the user with recommended resolutions 2. Apply resolutions (prefer the coder's implementation for API surface, the reviewer's suggestions for quality) 3. Run `unity-verifier` agent for a final consistency check
If no conflicts: skip directly to the final report.
## Team Execution Complete **Team:** [preset name or custom list] **Task:** [task description] **Agents:** [count] ran in parallel ### Created/Modified Files - [file list with which agent created each] ### Test Coverage - [test count and pass/fail status] ### Issues Found by Reviewer - [issue list, noting which were auto-resolved] ### Conflicts Resolved - [conflict list with resolutions, or "None"] ### Manual Steps Needed - [any inspector assignments, scene references, etc.]
The ultimate Claude Code toolkit for Unity game development. A production-ready, plug-and-play system that gives Claude Code deep Unity expertise — from writing performant C# to building scenes, profiling performance, and triggering iOS/Android builds — all
Full project health check — meta file integrity, missing references, assembly definition graph, code quality scan, scene hierarchy audit.
Configures and triggers Unity builds via MCP — handles platform settings, scenes, player settings, and monitors build progress.
Diagnostic health check — verifies MCP connectivity, .claude/ integrity, Unity project structure, and hook registration.
Plans and implements a Unity feature — identifies subsystems, loads skills, writes code, sets up scene elements via MCP.
Diagnoses and fixes a Unity bug — reads console errors, checks common causes, applies targeted fix, verifies via MCP.
Scans a Unity project and generates a tailored CLAUDE.md with detected configuration, packages, render pipeline, and recommended skills.