unity-workflow

Tracks Unity editor operations with snapshots, bookmarks, and task or session-level undo.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-workflow-du-qwq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-workflow
Source: https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications/tree/main/.agents/skills/unity-skills/skills/workflow
Command: npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-workflow-du-qwq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI-driven Unity edits are hard to reverse once applied, especially across long conversations or batch operations. This Skill records persistent operation history, snapshots objects before risky changes, and lets you undo entire tasks or sessions even after Editor restarts. ## Core Features & Use Cases - Task and Session Undo: Group changes into tasks or conversation-level sessions, then undo or redo them by ID with workflow_undo_task and workflow_session_undo. - Snapshots and Bookmarks: Snapshot GameObjects before modification and save selection or scene-view bookmarks for quick restoration. - Batch Planning and Retry: Generate combined execution plans with workflow_plan, query assets before cleanup, and retry only failed items from a batch report. - Use Case: Before a risky batch material migration, start a session, snapshot affected objects, run the changes, and if anything breaks, roll back the whole session with one call. ## Quick Start Start a workflow session, make your Unity scene changes, then ask the AI to undo the entire session if the result is not what you wanted.

Frequently Asked Questions about unity-workflow

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

FAQPage Schema
How do I undo multiple Unity editor operations at once?

Use history_undo with a steps parameter for multi-step undo, or workflow_undo_task to revert an entire recorded task by its taskId. For conversation-level rollback, call workflow_session_undo with the session ID.

How to snapshot a Unity GameObject before modifying it?

Call workflow_task_start first, then workflow_snapshot_object with the object name or instanceId before running modification skills like component_set_property. The snapshot lets workflow_undo_task restore the previous state later.

Does Unity workflow undo persist after Editor restart?

Yes, the workflow history is persistent, so recorded tasks and sessions survive Editor restarts. You can list them with workflow_list or workflow_session_list and undo specific tasks by ID at any time.

What is the difference between editor_undo and workflow_session_undo?

editor_undo handles a single immediate undo step, while workflow_session_undo reverts all changes grouped under a recorded session. Use history_undo with steps for multi-step undo within the current history stack.

Why does workflow_undo_task fail with no active task?

Snapshot-related skills require an active task started with workflow_task_start. However, workflow_undo_task itself works on already-saved tasks listed by workflow_list, so verify the taskId exists in the persistent history first.

Which Unity operations are automatically tracked for undo?

Creation operations like gameobject_create, component_add, prefab_instantiate, material_create, and ui_create_* are auto-tracked when a session or task is active. Modification operations trigger automatic snapshots of target objects before changes when possible.