assets-prefab-create

Create a prefab asset from a GameObject in the active Unity scene.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/lunafish/Game00 --skill assets-prefab-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-prefab-create
Source: https://github.com/lunafish/Game00/tree/main/SKILLS/assets-prefab-create
Command: npx skills add https://github.com/lunafish/Game00 --skill assets-prefab-create

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of creating reusable prefabs from existing GameObjects within your Unity scene, saving time and ensuring consistency in asset management.

Core Features & Use Cases

  • Prefab Creation: Easily convert GameObjects into project assets.
  • Scene to Asset Conversion: Directly create prefabs from objects currently in your active scene.
  • Use Case: After designing a complex character model in the scene, use this Skill to turn it into a prefab for easy instantiation across multiple scenes or projects.

Quick Start

Create a prefab at 'Assets/Prefabs/MyNewPrefab.prefab' from the GameObject named 'PlayerCharacter' in the current scene.

Frequently Asked Questions about assets-prefab-create

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

FAQPage Schema
How do I create a prefab from a GameObject in my Unity scene?

To create a prefab from a GameObject, you need to specify the target GameObject and a destination asset path. This Skill generates the prefab asset and optionally replaces the original scene object with the new prefab instance.

Can I automatically replace a GameObject with a prefab after creation?

Yes, you can replace a GameObject with a prefab after creation. The Skill supports optional replacement of the original GameObject in the active Unity scene with the newly generated prefab asset.

What is the process for converting a scene object to a reusable Unity asset?

Converting a scene object to a reusable Unity asset requires a target GameObject reference and a destination path. The Skill processes these inputs to save your configured scene hierarchy directly into the project as a prefab.

Do I need to specify an asset path when saving a prefab in Unity?

Yes, you must specify a destination asset path when saving a prefab in Unity. The Skill requires this exact file path, such as 'Assets/Prefabs/MyNewPrefab.prefab', to write the newly created prefab asset to your project directory.

Why use a prefab instead of a GameObject for character models in Unity?

Using a prefab instead of a GameObject for character models in Unity streamlines asset management and ensures consistency. It allows you to easily instantiate the configured model across multiple scenes or projects from a single source asset.