unity-prefab

Manage Unity prefab assets by creating, instantiating, editing properties, and applying instance changes.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-prefab-dycuong03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-prefab
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/unity-skills/skills/prefab
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-prefab-dycuong03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity prefab editing can be slow and error-prone when you need to instantiate many objects, inspect per-instance overrides, apply changes back to prefab assets, or update prefab properties without manual clicks.

Core Features & Use Cases

  • Batch instantiation: Spawn 2+ prefab instances efficiently using a single call for level generation or repeated gameplay objects.
  • Prefab instance-to-asset workflow: Apply instance changes back to the prefab asset, or unpack prefabs when you need unique structure.
  • Prefab-level property editing and inspection: Set component properties directly inside a prefab asset and find instances/overrides in a scene without needing to manually traverse everything.

Quick Start

Use unity_skills to batch-spawn many enemies from Assets/Prefabs/Enemy.prefab with prefab_instantiate_batch, then apply any instance changes back to the source prefab with prefab_apply.

Frequently Asked Questions about unity-prefab

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

FAQPage Schema
How do I batch instantiate Unity prefabs in a scene?

Batch instantiate Unity prefabs by calling a single function to spawn multiple instances for level generation. This bulk spawning approach synchronizes repeated gameplay objects without manual placement clicks.

How do I apply instance overrides back to a prefab asset in Unity?

Apply instance overrides back to a prefab asset by targeting the prefab source path and pushing the instance changes. This workflow updates the original asset and synchronizes all linked instances across the scene.

Can I set component properties directly on a prefab asset without opening it?

Set component properties directly on a prefab asset by defining the asset path and assigning typed values or asset references. This enables prefab-level property editing without manual traversal or opening the prefab editor.

What is the best way to inspect and revert prefab overrides in a Unity scene?

Inspect and revert prefab overrides in a Unity scene by using override detection to identify instance modifications. You can revert specific overrides directly without manually traversing the hierarchy.

Does this prefab workflow support unpacking prefabs for unique structures?

The prefab workflow supports unpacking prefabs to remove asset links and create unique structures. This is necessary when instances need independent modifications detached from the original prefab source.