addressables-design
Source-anchored design rules for Unity Addressables 1.22.3/2.9.1
Persistent operation history and orchestration
$ npx -y skills add Besty0728/Unity-Skills --skill workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Persistent operation history and orchestration
name: unity-workflow description: Persistent operation history and orchestration
> **Before calling any skill in this module:** if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via `GET /skills/recommend?includeSchema=true`) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.
Persistent history and rollback system for AI operations ("Time Machine"). Allows tagging tasks, snapshotting objects before modification, and undoing specific tasks even after Editor restarts.
**NEW: Session-level undo** - Group all changes from a conversation and undo them together.
> 注意:`workflow_undo_task` / `workflow_session_undo` 不是 Delete operation(标的是 Modify/Execute),它们能在 Approval/Auto 直接撤销已记录任务。
**Surface profile:** `workflow_undo_task` / `workflow_redo_task` / `workflow_revert_task` / `workflow_session_undo` inspect every snapshot the target task(s) would restore. If any snapshot would author a category the active profile withdraws — a scene GameObject, or a `.unity` / `.mat` asset — the whole call is refused with `SURFACE_EXCLUDED` (`surfaceProfile`/`category`/`operation`/`manualDoc`/`userControlled`/`hint` at the top level, not nested under `details`) rather than partially applied. Snapshots of scripts, prefabs, textures, ScriptableObjects, and Editor/project settings are unaffected — those stay undoable under every profile.
**DO NOT** (common hallucinations):
**Routing**:
Save current selection and scene view position as a bookmark.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | bookmarkName | string | Yes | - | Name for the bookmark | | note | string | No | null | Optional note for the bookmark |
**Returns:** `{ success, bookmark, selectedCount, hasSceneView, note }`
Restore selection and scene view from a bookmark.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | bookmarkName | string | Yes | - | Name of the bookmark to restore |
**Returns:** `{ success, bookmark, restoredSelection, note }`
List all saved bookmarks.
No parameters.
**Returns:** `{ success, count, bookmarks: [{ name, selectedCount, hasSceneView, note, createdAt }] }`
Delete a bookmark.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | bookmarkName | string | Yes | - | Name of the bookmark to delete |
**Returns:** `{ success, deleted }`
Undo the last operation (or multiple steps).
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | steps | int | No | 1 | Number of undo steps to perform |
**Returns:** `{ success, undoneSteps }`
Redo the last undone operation (or multiple steps).
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | steps | int | No | 1 | Number of redo steps to perform |
**Returns:** `{ success, redoneSteps }`
Get the name of the current undo group.
No parameters.
**Returns:** `{ success, currentGroup, groupIndex }`
Generate a combined execution plan for multiple skills on the server side.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `skillsJson` | string | Yes | - | JSON array of `{ "name": "...", "params": { ... } }` entries |
**Returns:** `{ totalSteps, totalRisk, steps, dependencies, warnings, mayDisconnect }`
Query project assets with filters that are useful before batch cleanup or migration work.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `searchFilter` | string | No | - | Extra `AssetDatabase.FindAssets` filter text | | `folder` | string | No | `Assets` | Search root | | `typeFilter` | string | No | - | Asset type filter such as `t:Material` or `Prefab` | | `namePattern` | string | No | - | Regex applied to file name without extension | | `labelFilter` | string | No | - | Asset label filter such as `l:Addressable` | | `maxResults` | int | No | `200` | Max assets returned |
**Returns:** `{ count, totalMatched, summary, assets }`
Retry only the failed items from an earlier b
REST API-based AI-driven Unity Editor Automation Engine Let AI control Unity scenes directly through Skills 🎉 We are now indexed by DeepWiki! Got questions? Check out the AI-generated docs → The current official maintenance baseline is Unity 2022.3+.
Source-anchored design rules for Unity Addressables 1.22.3/2.9.1
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based)