unity-history

Manage Unity Editor undo and redo operations and inspect current undo state.

8|1|Updated Oct 7, 2025
One-click install
npx skills add https://github.com/Zzulin/unity-project01 --skill unity-history-zzulin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-history
Source: https://github.com/Zzulin/unity-project01/tree/main/URP1/Plugins/Unity-Skills-main/SkillsForUnity/unity-skills~/skills/history
Command: npx skills add https://github.com/Zzulin/unity-project01 --skill unity-history-zzulin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a simple, reliable way to undo and redo editor actions and inspect the current undo state so developers can recover previous edits and verify recent changes.

Core Features & Use Cases

  • Undo and Redo Controls: Perform single-step undo or redo of the last editor operation.
  • Inspect Current Undo State: Retrieve the current undo group/state for diagnostics or UI displays.
  • Use Case: During scene iteration, quickly revert the last change after an unintended modification or check the current undo group before performing batch edits.

Quick Start

Use the unity-history skill to undo the last operation in the active Unity Editor session.

Frequently Asked Questions about unity-history

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

FAQPage Schema
How do I undo and redo Unity Editor operations during scene editing?

To undo and redo Unity Editor operations during scene editing, use the unity-history skill to perform single-step reverts of recent modifications. It applies Unity's Undo API to revert edits and inspect prior states for scene, prefab, and asset workflows.

Can I check the current undo group state in Unity before performing batch edits?

Yes, you can check the current undo group state in Unity before batch edits by retrieving the current undo group information. This diagnostic capability helps verify recent changes and confirm the editor's active undo state.

What's the best way to revert an unintended prefab modification in Unity?

The best way to revert an unintended prefab modification in Unity is to execute a simple undo command via the unity-history skill. It leverages the native Unity Undo API to immediately roll back the last editor action without external persistence.

Does the unity-history skill support clearing internal Unity history?

No, the unity-history skill does not support clearing internal Unity history or attempting external persistence. It is strictly limited to simple undo, redo, and current-state retrieval commands within the active editor session.

When do I need to inspect the current Unity undo state?

You need to inspect the current Unity undo state when verifying recent changes or preparing for batch scene edits. Retrieving the current undo group provides immediate diagnostics so you can confirm prior modifications before proceeding.