unity-history
GitHub管理Unity编辑器原生撤销/重做历史。支持查看当前状态、逐步撤销或重做操作,用于审查改动或导航历史记录。适用于用户请求查看撤销历史、执行回退或检查操作记录的场景。
Trigger Scenarios
Install
npx skills add Besty0728/Unity-Skills --skill unity-history -g -y
SKILL.md
Frontmatter
{
"name": "unity-history",
"description": "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 编辑器原生撤销栈上的撤销\/重做历史(查看、逐步遍历、控制已记录的操作);当用户要查看或浏览撤销历史、逐步撤销\/重做、或审查改动时使用。"
}
History Skills
Manage Unity Editor undo/redo history.
Operating Mode
本模块全部 3 个 skill (history_undo / history_redo / history_get_current) 均标 SkillMode.SemiAuto,Approval / Auto / Bypass 三档下都可直接执行。不含 NeverInSemi 高危 skill。
DO NOT (common hallucinations):
history_list/history_getdo not exist → usehistory_get_currentfor current undo grouphistory_cleardoes not exist → Unity undo history cannot be cleared via APIhistory_savedoes not exist → undo history is managed by Unity automatically
Routing:
- For simple undo/redo →
history_undo/history_redo(this module) oreditor_undo/editor_redo - For persistent task-level undo → use
workflowmodule - For conversation-level undo → use
workflowmodule'sworkflow_session_undo
Skills
history_undo
Undo the last operation. Parameters:
steps(int, optional, default 1): Number of operations to undo.
history_redo
Redo the last undone operation. Parameters:
steps(int, optional, default 1): Number of operations to redo.
history_get_current
Get current undo history state. Parameters: None.
Exact Signatures
Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.
Version History
- ec9f870 Current 2026-07-05 14:39


