unity-audit
Full project health check — meta file integrity, missing references, assembly definition graph, code quality scan, scene hierarchy audit.
Diagnostic health check — verifies MCP connectivity, .claude/ integrity, Unity project structure, and hook registration.
> /plugin marketplace add XeldarAlz/everything-claude-unityHow it fires
How this command gets triggered: by you, by Claude, or both.
/unity-doctorContext preview
What this command does when you run it.
Diagnostic health check — verifies MCP connectivity, .claude/ integrity, Unity project structure, and hook registration.
name: unity-doctor description: "Diagnostic health check — verifies MCP connectivity, .claude/ integrity, Unity project structure, and hook registration." user-invocable: true
Run a comprehensive diagnostic check on the everything-claude-unity installation and the Unity project. Report each check as **PASS**, **WARNING**, or **ERROR** with actionable fixes.
1. Attempt to call `project_info` via MCP to get Unity version and project state. 2. If it succeeds: report Unity version, platform, and play mode state → **PASS** 3. If it fails: report the error → **ERROR** with suggestions:
1. Verify expected directories exist: `commands/`, `agents/`, `hooks/`, `skills/`, `rules/` 2. For each hook in `hooks/`: check the file exists and is executable (`-x` permission) 3. For each command in `commands/`: verify it has YAML frontmatter with `name` and `description` 4. For each agent in `agents/`: verify it has YAML frontmatter with `name`, `description`, `model`, and `tools` 5. Check `.claude/VERSION` file exists and report version number 6. Report counts: X commands, Y agents, Z hooks, W skills, V rules 7. Any missing directories → **ERROR**; any invalid frontmatter → **WARNING**; all good → **PASS**
1. Read `.claude/settings.json` 2. For every `.sh` file in `hooks/` directory (excluding `_lib.sh`):
3. For every hook path in settings.json:
4. Verify blocking hooks (`block-*.sh`) are in `PreToolUse` and warning hooks (`warn-*.sh`, `validate-*.sh`, `suggest-*.sh`) are in `PostToolUse` 5. All correct → **PASS**
1. Check for `Assets/` directory → **ERROR** if missing 2. Check for `ProjectSettings/` directory → **ERROR** if missing 3. Check for `Packages/manifest.json` → **WARNING** if missing 4. Check for `CLAUDE.md` in project root → **WARNING** if missing, suggest `/unity-init` 5. Search for `.asmdef` files in `Assets/` → **WARNING** if none found 6. Search for test assembly definitions (`*Tests*.asmdef`) → **WARNING** if none, suggest `/unity-test` 7. All present → **PASS**
1. Read `Packages/manifest.json` to detect installed Unity packages 2. Cross-reference with available skills in `.claude/skills/`:
| Package | Expected Skill | |---------|---------------| | `com.unity.inputsystem` | `systems/input-system` | | `com.unity.addressables` | `systems/addressables` | | `com.unity.cinemachine` | `systems/cinemachine` | | `com.unity.render-pipelines.universal` | `systems/urp-pipeline` | | `com.unity.textmeshpro` | `third-party/textmeshpro` | | `com.unity.timeline` | — (no skill yet) |
3. Also check for third-party packages in `Assets/`:
4. Report packages without matching skills → **WARNING** (capability gap) 5. All aligned → **PASS**
Present a summary report:
=== Unity Doctor Report === MCP Server: PASS (Unity 2022.3.20f1, StandaloneWindows64) .claude/ Integrity: PASS (17 commands, 14 agents, 9 hooks, 35 skills, 5 rules) Hook Registration: PASS (all hooks registered correctly) Project Structure: WARNING — no test assembly definitions found Skill Alignment: WARNING — DOTween detected but no matching skill loaded Overall: 2 warnings, 0 errors
For each WARNING or ERROR, include the actionable fix immediately after the line.
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.
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.
Manage the project's instinct library — view, promote, evolve, export, or import atomic learned behaviors captured automatically by PostToolUse observations.