unity-audit
Full project health check — meta file integrity, missing references, assembly definition graph, code quality scan, scene hierarchy audit.
Audit all skills and agents in .claude/ for duplicates, stale references, never-loaded entries, broken globs, and frontmatter issues. Produces a cleanup report without modifying anything.
> /plugin marketplace add XeldarAlz/everything-claude-unityHow it fires
How this command gets triggered: by you, by Claude, or both.
/unity-skill-stocktakeContext preview
What this command does when you run it.
Audit all skills and agents in .claude/ for duplicates, stale references, never-loaded entries, broken globs, and frontmatter issues. Produces a cleanup report without modifying anything.
name: unity-skill-stocktake description: "Audit all skills and agents in .claude/ for duplicates, stale references, never-loaded entries, broken globs, and frontmatter issues. Produces a cleanup report without modifying anything." user-invocable: true args: none
Scan `.claude/skills/` and `.claude/agents/` for hygiene issues. This is a read-only audit — the output is a report the user can act on.
For each file, parse the YAML frontmatter via a line scan (everything between the first pair of `---` lines).
Flag any skill/agent/command missing required fields:
Flag any `name` that doesn't match the filename stem.
Two-pass:
1. Exact duplicate `name` across entries → hard error. 2. Description similarity — compute token overlap (lowercase, split on non-word) between every pair of descriptions in the same category. Flag pairs with >=60% overlap or the first sentence starting identically.
Example to call out: > `skills/gameplay/object-pooling` and `skills/gameplay/pool-allocator` — descriptions share 14/18 tokens; consider merging.
For every `globs:` entry in every skill, check whether *any* matching file exists under the project root that is NOT inside `.claude/`.
If `.claude/state/learnings.jsonl` or `.claude/state/instincts/observations.jsonl` exist, check whether each skill has been mentioned or auto-loaded in the past N sessions (N = 10 by default). Skills with zero recent loads are candidates for demotion or deletion.
If the learnings file doesn't exist, skip this step and note it.
For each skill/agent, scan its body for:
Non-blocking; surface as "needs manual review".
# Skill Stocktake — <date> **Scanned:** <n> skills, <n> agents, <n> commands ## Frontmatter issues (<count>) - `skills/<path>/SKILL.md` — missing `description` - `agents/<name>.md` — `model` is `haiku` but tools include MCP writes (potential mismatch) ## Duplicates / near-duplicates (<count>) - ... ## Stale globs (<count>) - `skills/platform/mobile-input` — globs `["Assets/Input/**/*.cs"]` match 0 files ## Never-referenced skills (<count>) - `skills/<name>` — not referenced by any agent/command and globs match 0 files ## Orphaned agents (<count>) - `agents/<name>` — not referenced from any command (informational) ## Unused in recent sessions (<count>, last 10 sessions) - `skills/<name>` — 0 loads; `skills/<name>` — 0 loads ## Stale code refs (<count>) - ... ## Summary - Remove candidates: <list> - Merge candidates: <pairs> - Needs review: <list>
End with:
> No changes applied. Review each candidate; remove/merge manually, or run `/unity-skillify` to consolidate.
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.