besty0728/unity-history
Manage undo/redo history over the Unity Editor native undo stack — inspect, step through, and control recorded operations. Use when reviewing or navigating the undo history, stepping undo/redo, or auditing what changed, even if the user just says "撤销历史" or "回退操作". 管理 Unity 编辑器原生撤销栈上的撤销/重做历史(查看、逐步遍历、控制已记录的操作);当用户要查看或浏览撤销历史、逐步撤销/重做、或审查改动时使用。
npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-history
Manage Unity Editor undo/redo history.
本模块 history_get_current(纯读)标 SkillMode.SemiAuto,三档下均可直接执行;history_undo / history_redo 会改变场景状态,为默认 SkillMode.FullAuto(Operation=Execute),Approval 模式下需 grant。不含 NeverInSemi 高危 skill。
DO NOT (common hallucinations):
history_list / history_get do not exist → use history_get_current for current undo grouphistory_clear does not exist → Unity undo history cannot be cleared via APIhistory_save does not exist → undo history is managed by Unity automaticallyRouting:
history_undo / history_redo (this module) or editor_undo / editor_redoworkflow moduleworkflow module's workflow_session_undohistory_undoUndo the last operation.
Parameters:
steps (int, optional, default 1): Number of operations to undo.history_redoRedo the last undone operation.
Parameters:
steps (int, optional, default 1): Number of operations to redo.history_get_currentGet current undo history state.
Parameters: None.
Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.
Take besty0728/unity-history from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.