Prefab workflow

From TheArcForge/UniClaude · View interactive version

Prefab workflow is an AI agent skill from the GitHub repository TheArcForge/UniClaude. Use when creating or editing prefabs in the Unity Editor using MCP tools — saving prefabs, editing prefab contents, creating variants, and applying overrides.

How to use this skill

Skill file

Prefab Workflow with MCP Tools

Efficient tool sequences for prefab operations.

GOAL: Create a Prefab from Scene Objects

Approach:

  1. Build the object in the scene first (easier to iterate).
  2. Once satisfied, save as prefab asset.
  3. The scene instance becomes a prefab instance automatically.

Tool sequence:

Common mistakes:

GOAL: Edit a Prefab's Properties

Two approaches depending on scope:

Single property change (atomic):

Multi-step changes (session):

Common mistakes:

GOAL: Create a Prefab Variant

Approach:

  1. Create variant from base prefab.
  2. Edit the variant's overriding properties.

Tool sequence:

Common mistakes:

GOAL: Instantiate Prefabs into the Scene

Approach:

  1. Instantiate with optional parent.
  2. Position/configure the instance.

Tool sequence:

Common mistakes:

GOAL: Apply Overrides Back to Prefab

When to use: You edited a prefab instance in the scene and want those changes in the prefab asset.

Tool sequence:

Common mistakes:

GOAL: Inspect a Prefab Without Instantiating

Tool sequence:

Use for: Checking structure, verifying components, reading property values before deciding to instantiate or modify.

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.