assets-prefab-close

Close the active Unity Editor prefab with an optional save.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows you to close the currently open prefab in the Unity Editor, ensuring a clean workspace and preventing accidental edits.

Core Features & Use Cases

  • Close Prefab: Safely closes the active prefab editing session.
  • Discard or Save Changes: Provides an option to discard unsaved changes or save them before closing.
  • Use Case: After making modifications to a prefab, you can use this Skill to close it and return to the main scene view, choosing whether to save your changes.

Quick Start

Close the current prefab, discarding any changes.

Frequently Asked Questions about assets-prefab-close

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

FAQPage Schema
How do I close a prefab in the Unity Editor and return to the main scene?▼

You can close a prefab in the Unity Editor by exiting prefab editing mode, which returns you to the main scene. This requires specifying a boolean parameter to determine whether to save changes before closing the active session.

Can I discard unsaved changes when closing a prefab in Unity?▼

Yes, you can discard unsaved changes when closing a prefab in Unity. The closing mechanism requires a boolean parameter to determine whether to commit changes or discard them before returning to the main scene view.

How do I save modifications before exiting prefab editing mode in Unity?▼

To save modifications before exiting prefab editing mode in Unity, you trigger the close action with the save parameter set to true. This commits all changes made to the prefab before closing the active editing session.

Why does my Unity workspace stay in prefab edit mode after I finish modifying an asset?▼

Your Unity workspace stays in prefab edit mode because the active prefab session has not been explicitly closed. You must execute a close action to exit the prefab editor and transition back to the main scene view safely.

What is the best way to ensure a clean workspace after editing Unity prefabs?▼

The best way to ensure a clean workspace after editing Unity prefabs is to explicitly close the active prefab editing session. This prevents accidental edits and safely transitions your view back to the main scene.