unity-prefab

Create, instantiate, and edit Unity prefab assets and instances.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-prefab-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-prefab
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/unity-skills/skills/prefab
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-prefab-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of creating, instantiating, updating, and organizing Unity prefabs so you can manage reusable game objects without repetitive manual editor work.

Core Features & Use Cases

  • Prefab Creation and Instancing: Turn scene GameObjects into prefabs and spawn one or many prefab instances into the scene.
  • Override Management: Inspect, apply, or revert instance overrides to keep prefab assets and scene instances in sync.
  • Advanced Prefab Workflows: Unpack nested prefabs, create variants, find all instances in a scene, and edit prefab asset properties directly.
  • Use Case: If you need to place many enemies across a level, create the prefab once, batch-instantiate it, then apply any tuned instance changes back to the source asset.

Quick Start

Use the unity-prefab skill to find every instance of Assets/Prefabs/Enemy.prefab in the current scene and report their names and paths.

Frequently Asked Questions about unity-prefab

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

FAQPage Schema
How do I apply prefab overrides back to the source asset in Unity?

To apply prefab overrides in Unity, you inspect instance modifications and push them back to the source asset to keep scene instances and prefab assets synchronized deterministically.

How do I batch instantiate multiple Unity prefab instances into a scene?

Batch instantiation of Unity prefab instances requires precise prefab asset paths to spawn one or many GameObjects into the scene without repetitive manual editor work.

Can I create Unity prefab variants from existing scene instances?

Creating Unity prefab variants is supported through advanced prefab workflows that unpack nested prefabs and generate variant assets directly from scene instances.

How do I find all instances of a specific prefab in a Unity scene?

Finding prefab instances in a Unity scene requires the precise prefab asset path to locate all references and report their names and scene paths deterministically.

Does managing Unity prefabs require specific instance identifiers?

Deterministic Unity prefab management requires precise prefab asset paths or instance identifiers to execute serialization-safe edits, overrides, and unpacking operations.

What is the best way to unpack nested prefabs in Unity?

Unpacking nested prefabs in Unity involves advanced prefab workflows that break down variant hierarchies and scene instances into standard GameObjects without losing overrides.