addressables-design
Source-anchored design rules for Unity Addressables 1.22.3/2.9.1
Manage Unity AssetDatabase operations
$ npx -y skills add Besty0728/Unity-Skills --skill asset --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/assetContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage Unity AssetDatabase operations
name: unity-asset description: Manage Unity AssetDatabase operations
> **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.
> **BATCH-FIRST**: Use `*_batch` skills when operating on 2+ assets.
**DO NOT** (common hallucinations):
**Routing**:
| Single Object | Batch Version | Use Batch When | |---------------|---------------|----------------| | `asset_import` | `asset_import_batch` | Importing 2+ files | | `asset_delete` | `asset_delete_batch` | Deleting 2+ assets | | `asset_move` | `asset_move_batch` | Moving 2+ assets | | `asset_create_folder` | `asset_create_folder_batch` | Creating 2+ folders |
**No batch needed**:
---
Import an external file into the project.
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `sourcePath` | string | Yes | External file path | | `destinationPath` | string | Yes | Project destination |
Import multiple external files. | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `items` | json string | Yes | - | JSON array of per-item objects (see example below) |
`items` currently expects a JSON string, not a native array.
**Returns**: `{success, totalItems, successCount, failCount, results: [{success, sourcePath, destinationPath}]}`
import json
unity_skills.call_skill("asset_import_batch", items=json.dumps([
{"sourcePath": "C:/Downloads/tex1.png", "destinationPath": "Assets/Textures/tex1.png"},
{"sourcePath": "C:/Downloads/tex2.png", "destinationPath": "Assets/Textures/tex2.png"}
]))Delete an asset from the project.
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `assetPath` | string | Yes | Asset path to delete |
Delete multiple assets. | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `items` | json string | Yes | - | JSON array of per-item objects (see example below) |
`items` currently expects a JSON string, not a native array.
**Returns**: `{success, totalItems, successCount, failCount, results: [{success, path}]}`
import json
unity_skills.call_skill("asset_delete_batch", items=json.dumps([
{"path": "Assets/Textures/old1.png"},
{"path": "Assets/Textures/old2.png"}
]))Move or rename an asset.
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `sourcePath` | string | Yes | Current asset path | | `destinationPath` | string | Yes | New path/name |
Move multiple assets. | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `items` | json string | Yes | - | JSON array of per-item objects (see example below) |
`items` currently expects a JSON string, not a native array.
**Returns**: `{success, totalItems, successCount, failCount, results: [{success, sourcePath, destinationPath}]}`
import json
unity_skills.call_skill("asset_move_batch", items=json.dumps([
{"sourcePath": "Assets/Old/mat1.mat", "destinationPath": "Assets/New/mat1.mat"},
{"sourcePath": "Assets/Old/mat2.mat", "destinationPath": "Assets/New/mat2.mat"}
]))Duplicate an asset.
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `assetPath` | string | Yes | Asset to duplicate |
Find assets by search filter.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `searchFilter` | string | Yes | - | Search query | | `limit` | int | No | 50 | Max results to return |
**Search Filter Syntax**: | Filter | Example | Description | |--------|---------|-------------| | `t:Type` | `t:Texture2D` | By type | | `l:Label` | `l:Architecture` | By label | | `name` | `player` | By name | | Combined | `t:Material player` | Multiple filters |
**Returns**: `
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)