skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
besty0728/unity-skills85 installs

unity-history

Manage undo/redo history over the native undo stack

How do I install this agent skill?

npx skills add https://github.com/besty0728/unity-skills --skill unity-history
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides safe and documented utility functions for managing the native undo and redo history within the Unity Editor environment. It includes explicit mentions of approval requirements for state-modifying actions.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1 file scanned · No issues

What does this agent skill do?

History Skills

Undo, redo and inspect the current undo group of the Unity Editor's native undo stack. Parameters come from the schema (GET /skills/schema?names=<skill>&wire=v2); execution and dryRun rules: root SKILL.md.

The skills are defined in WorkflowSkills.cs (category Workflow) and documented here as well as in the workflow module.

When to use

  • Reviewing or navigating undo history
  • Stepping undo and redo
  • Auditing what changed

Rules

  • history_get_current is read-only and runs under Approval. history_undo and history_redo change scene state and need a grant under Approval.
  • history_undo and history_redo replay Unity's own native undo stack. Its entries cannot be classified by write category the way workflow task snapshots can, so they carry no payload-level SURFACE_EXCLUDED check. workflow undo (workflow_undo_task, workflow_session_undo) does carry that check.
  • For persistent task-level or conversation-level undo, use the workflow module. For simple undo and redo, the editor skills editor_undo and editor_redo are the alternative.

Pitfalls

  • history_list and history_get do not exist: use history_get_current for the current undo group.
  • history_clear does not exist, and no skill clears the undo history. Unity exposes Undo.ClearAll() (this repository's prefab tests call it, Tests/Editor/Core/PrefabAssetEditingTests.cs:32), but no skill wraps it.
  • history_save does not exist: Unity manages the undo history automatically.

Skills

history_undo

Undo the last operation (or multiple steps).

ParameterTypeRequiredDefaultDescription
stepsintNo1Number of undo steps to perform

Returns: { success, undoneSteps }

history_redo

Redo the last undone operation (or multiple steps).

ParameterTypeRequiredDefaultDescription
stepsintNo1Number of redo steps to perform

Returns: { success, redoneSteps }

history_get_current

Get the name of the current undo group.

No parameters.

Returns: { success, currentGroup, groupIndex }

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/besty0728/unity-skills/unity-history">View unity-history on skillZs</a>