unity-reviewer

Detects anti-patterns, bugs and performance problems in Unity C# scripts.

51|7|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/TheArcForge/UniClaude --skill unity-reviewer-thearcforge
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-reviewer
Source: https://github.com/TheArcForge/UniClaude/tree/main/Sidecar~/skills/unity-reviewer
Command: npx skills add https://github.com/TheArcForge/UniClaude --skill unity-reviewer-thearcforge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews Unity code changes to detect anti-patterns, performance problems, and correctness issues that can affect stability and maintainability.

Core Features & Use Cases

  • Critical runtime checks: detect improper event unsubscription, Unity's null handling quirks, and unsafe main-thread usage that can cause crashes or runtime errors.
  • Performance guardrails: flag GetComponent usage in Update, GameObject.Find in Update, allocations in hot paths, and mis-timed Update/FixedUpdate usage.
  • Maintainability checks: enforce serialized fields over public exposure, ensure proper MonoBehaviour lifecycle order, and avoid magic numbers.
  • Guided review workflow: deliver severity-ranked findings with actionable fixes to improve code quality after implementation.

Quick Start

Run the Unity Code Reviewer on your latest C# scripts to get an automated pass for anti-patterns, performance, and style issues.

Frequently Asked Questions about unity-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Unity C# scripts for performance anti-patterns and lifecycle issues?▼

Automated Unity code review detects performance anti-patterns, lifecycle order issues, and unsafe main-thread usage in C# scripts, delivering severity-ranked findings with actionable fixes.

What are common Unity performance problems to check for during a code review?▼

Common Unity performance problems include calling GetComponent or GameObject.Find inside Update loops, hot path allocations, and mis-timed Update versus FixedUpdate usage, which automated review can flag.

How does Unity null handling affect MonoBehaviour correctness during code review?▼

Unity null handling affects correctness because destroyed GameObjects behave differently from standard C# null, requiring specialized checks during code review to prevent runtime crashes and unexpected behavior.

Can I enforce serialized fields over public variable exposure in Unity code?▼

You can enforce serialized fields over public variable exposure during Unity code reviews to improve maintainability, preventing unsafe public access while still allowing Unity Inspector configuration.

When should I check for event unsubscription in Unity MonoBehaviour scripts?▼

Check for event unsubscription in Unity MonoBehaviour scripts during post-implementation code review to prevent memory leaks and ensure proper object lifecycle cleanup when behaviors are disabled or destroyed.

Does automated Unity code review catch main-thread usage violations?▼

Automated Unity code review catches unsafe main-thread usage violations, detecting calls that can cause runtime errors or crashes when Unity APIs are accessed incorrectly outside expected execution contexts.