assets-prefab-close

Close the active prefab edit stage in Unity Editor with optional saving.

Updated May 3, 2026
One-click install
npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill assets-prefab-close-rakamenouya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-prefab-close
Source: https://github.com/RakameNouya/MR-Bab_10_and_Kel_3/tree/main/.gemini/skills/assets-prefab-close
Command: npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill assets-prefab-close-rakamenouya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manages the closing of the currently opened prefab edit stage in Unity Editor, with an option to save changes.

Core Features & Use Cases

  • Save Changes: Optionally saves changes back to the prefab asset before closing.
  • Edit Stage Closure: Closes the prefab edit stage in Unity Editor.
  • Use Case: Pair with 'assets-prefab-open' to first open a prefab in edit mode, then use this skill to close the stage, optionally saving changes.

Quick Start

Close the currently opened prefab edit stage and save changes using the 'assets-prefab-close' skill with --input '{"save": true}'.

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 edit stage in Unity Editor programmatically?

Closing a prefab edit stage in Unity Editor requires exiting the current prefab isolation mode. This skill automates that process, allowing precise management of your prefab editing sessions without manual navigation.

Can I save changes to a prefab asset before closing the edit stage?

Yes, you can save changes to a prefab asset before closing the edit stage by passing a save flag. This ensures all modifications are written back to the prefab asset before the editing session is terminated.

What is the best way to manage prefab editing sessions in Unity?

Managing prefab editing sessions in Unity is best handled by pairing an open action with a close action. This allows you to open a prefab in edit mode, make changes, and then close the stage while optionally saving.

Does closing a Unity prefab edit stage automatically save modifications?

Closing a Unity prefab edit stage does not automatically save modifications unless explicitly configured. The skill offers an optional save parameter to determine whether changes are written back to the prefab asset.

Why do I need to explicitly close the prefab edit stage in Unity Editor?

You need to explicitly close the prefab edit stage in Unity Editor to return to the main scene context. This prevents accidental modifications to the wrong assets and maintains a clean separation between prefab editing and scene editing.