unity-review-prefab

Detect missing MonoBehaviours, broken prefab variants, and hierarchy issues in Unity .prefab and .unity files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cuozg/oh-my-unity --skill unity-review-prefab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-review-prefab
Source: https://github.com/cuozg/oh-my-unity/tree/main/skills/unity-review-prefab
Command: npx skills add https://github.com/cuozg/oh-my-unity --skill unity-review-prefab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PR prefab and scene review — missing scripts, broken variants, raycast blockers, and hierarchy issues are identified during PR reviews, helping teams maintain Unity project integrity.

Core Features & Use Cases

  • Automated per-file checks: Spawn one subagent per changed .prefab or .unity file and run a structured checklist.
  • Comprehensive validation: Detect missing MonoBehaviours, broken variant bases, orphaned transforms, and UI raycasting pitfalls.
  • Use Case: During a PR, automatically surface critical issues before merge, enabling targeted fixes and faster reviews.

Quick Start

Trigger the PR review on a Unity project containing .prefab or .unity changes to begin per-file analysis.

Frequently Asked Questions about unity-review-prefab

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

FAQPage Schema
How do I automate Unity PR review for missing scripts and broken prefabs?▼

Automated Unity PR review detects missing MonoBehaviour references, broken prefab variants, and hierarchy issues by spawning per-file subagents to run a structured checklist on changed .prefab and .unity files, then aggregating results into a summary.

What is the best way to check Unity scene changes for raycast blockers before merge?▼

Checking Unity scene changes for raycast blockers is handled by applying a per-file checklist during PR review to validate UI raycasting pitfalls and transform hierarchy issues across changed .unity files.

Does Unity PR review work with both .prefab and .unity files in parallel?▼

Unity PR review works with both .prefab and .unity files by spawning one subagent per changed file, running checks in parallel to detect missing scripts, orphaned transforms, and broken variant bases efficiently.

Can I detect broken prefab variants and orphaned transforms in a Unity pull request?▼

Detecting broken prefab variants and orphaned transforms in a Unity pull request is supported through comprehensive validation that surfaces hierarchy issues and variant base problems before merge.

How do I run per-file checklist validation on Unity prefab changes?▼

Per-file checklist validation on Unity prefab changes runs by spawning subagents that apply checks for missing scripts, raycast blockers, and transforms, outputting a structured summary of detected issues.

Why does my Unity PR review report missing MonoBehaviour references?▼

Unity PR review reports missing MonoBehaviour references because changed .prefab or .unity files contain scripts that cannot be resolved, indicating broken references that need targeted fixes before merge.