unity-audit
Full project health check — meta file integrity, missing references, assembly definition graph, code quality scan, scene hierarchy audit.
Review accumulated session learnings, extract recurring patterns, and draft new skills from session data.
> /plugin marketplace add XeldarAlz/everything-claude-unityHow it fires
How this command gets triggered: by you, by Claude, or both.
/unity-learnContext preview
What this command does when you run it.
Review accumulated session learnings, extract recurring patterns, and draft new skills from session data.
name: unity-learn description: "Review accumulated session learnings, extract recurring patterns, and draft new skills from session data." user-invocable: true args: subcommand
Manage and leverage accumulated session learnings: **$ARGUMENTS**
This command works with the data collected by the `auto-learn.sh` hook (strict profile) which records session patterns to `.claude/state/learnings.jsonl` after each session. For pre-v1.3.0 projects, the file may be at `.claude/learnings.jsonl` instead.
Read `.claude/state/learnings.jsonl` and present a dashboard summarizing accumulated data:
1. **Read the learnings file** at `.claude/state/learnings.jsonl` (or `.claude/learnings.jsonl` as fallback for pre-v1.3.0 projects) 2. **Aggregate and present:**
## Session Learning Dashboard **Total sessions:** [count] **Date range:** [earliest] to [latest] **Total duration:** [hours]h [minutes]m ### File Activity | Category | Total Edits | Sessions | |----------|-------------|----------| | Models | [count] | [count] | | Views | [count] | [count] | | Systems | [count] | [count] | | Tests | [count] | [count] | | Shaders | [count] | [count] | | Editor | [count] | [count] | ### Session Categories | Category | Count | Avg Duration | |-------------|-------|--------------| | bug-fix | [n] | [m]m | | performance | [n] | [m]m | | architecture| [n] | [m]m | | workflow | [n] | [m]m | | integration | [n] | [m]m | ### Tool Usage | Tool | Total Calls | Avg per Session | |-------|-------------|-----------------| | Edit | [count] | [avg] | | Read | [count] | [avg] | | Bash | [count] | [avg] | | ... | ... | ... |
Analyze the learnings log for recurring patterns and apply confidence scoring:
1. **Read all entries** from `.claude/state/learnings.jsonl` (or `.claude/learnings.jsonl` as fallback) 2. **Group by category** (bug-fix, performance, architecture, workflow, integration) 3. **Identify recurring patterns:**
4. **Apply confidence scoring:**
5. **Present findings:**
## Extracted Patterns ### High Confidence - [pattern description] (seen in N sessions) ### Medium Confidence - [pattern description] (seen in N sessions) ### Low Confidence - [pattern description] (seen in 1 session) ### Hotspot Files - [file path] — edited in N sessions ### Recommendations - [actionable suggestion based on patterns]
Generate a draft SKILL.md from extracted patterns:
1. **Filter learnings** relevant to `<topic>` (fuzzy match on file paths, categories, and tool patterns) 2. **Synthesize** recurring patterns into a cohesive skill document 3. **Generate** a complete SKILL.md with proper frontmatter:
--- name: [derived-from-topic] description: "[synthesized description from patterns]" globs: ["[relevant file patterns]"] ---
4. **Output** the draft to stdout with instructions:
Draft skill generated. To install:
1. Create directory: .claude/skills/core/[skill-name]/
2. Save the above content to: .claude/skills/core/[skill-name]/SKILL.md
3. Review and refine the content before useDeep session analytics — aggregate learnings into actionable metrics and trends:
1. **Read all entries** from `.claude/state/learnings.jsonl` (or `.claude/learnings.jsonl` as fallback for pre-v1.3.0 projects) 2. **Present:**
### Session Analytics **Time Analysis** | Metric | Value | |--------|-------| | Total sessions | [count] | | Total time | [hours]h [minutes]m | | Avg session | [minutes]m | | Longest session | [minutes]m | **Agent Usage** (from agent_context data if available) | Agent | Sessions | Avg Duration | |-------|----------|--------------| | [agent] | [count] | [minutes]m | **Warning Hotspots** (from warnings_fired data if available) | Warning | Count | Files | |---------|-------|-------| | [hook:message] | [count] | [affected files] | **File Hotspots** (files edited across multiple sessions) | File | Sessions | Category | |------|----------|----------| | [path] | [count] | [category] | **Trends** - Average session duration: [trending up/down/stable] - Warning frequency: [trending up/down/stable] - Most active category: [category]
3. **Suggest next actions:**
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.