addressables-design
Source-anchored design rules for Unity Addressables 1.22.3/2.9.1
Create and lay out Unity UGUI screens
$ npx -y skills add Besty0728/Unity-Skills --skill ui --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/uiContext preview
The summary Claude sees to decide when to auto-load this skill.
Create and lay out Unity UGUI screens
name: unity-ui description: Create and lay out Unity UGUI screens
> **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.
Use this module for Unity UGUI / Canvas workflows. It is separate from UI Toolkit.
> **Batch-first**: Prefer `ui_create_batch` when creating `2+` UI elements.
**DO NOT** (common hallucinations):
**Routing**:
| Skill | Use | Key parameters | |-------|-----|----------------| | `ui_create_canvas` | Create Canvas | `name?`, `renderMode?` | | `ui_create_panel` | Create panel container | `name?`, `parent?`, `r/g/b/a?` | | `ui_create_button` | Create button | `name?`, `parent?`, `text?`, `width/height?` | | `ui_create_text` | Create text label | `name?`, `parent?`, `text?`, `fontSize?`, `r/g/b?` | | `ui_create_image` | Create image | `name?`, `parent?`, `spritePath?`, `width/height?` | | `ui_create_inputfield` | Create input field | `name?`, `parent?`, `placeholder?`, `width/height?` | | `ui_create_slider` | Create slider | `name?`, `parent?`, `minValue?`, `maxValue?`, `value?` | | `ui_create_toggle` | Create toggle | `name?`, `parent?`, `label?`, `isOn?` | | `ui_create_dropdown` | Create dropdown | `name?`, `parent?`, `options?`, `width/height?` | | `ui_create_scrollview` | Create ScrollRect hierarchy | `name?`, `parent?`, `width/height?`, `horizontal?`, `vertical?` | | `ui_create_rawimage` | Create RawImage | `name?`, `parent?`, `texturePath?`, `width/height?` | | `ui_create_scrollbar` | Create scrollbar | `name?`, `parent?`, `direction?`, `value?`, `size?` | | `ui_create_batch` | Create multiple UI elements | `items` (`JSON` string array) |
| Skill | Use | Key parameters | |-------|-----|----------------| | `ui_find_all` | Find scene UI elements | `uiType?`, `limit?` | | `ui_set_text` | Update text content | `name`, `text` | | `ui_set_rect` | Set RectTransform size/offsets | target, `width`, `height`, `posX`, `posY`, `left/right/top/bottom?` | | `ui_get_rect_transform` | Read full RectTransform data | target | | `ui_set_rect_transform` | Set full RectTransform data | anchors, pivot, offsets, local transform, width/height | | `ui_set_rect_transform_batch` | Set full RectTransform data for multiple elements | `items` | | `ui_set_anchor` | Apply anchor preset | target, `preset?`, `setPivot?` | | `ui_layout_children` | Vertical/Horizontal/Grid layout | target, `layoutType?`, `spacing?` | | `ui_align_selected` | Align current selection | `alignment?` | | `ui_distribute_selected` | Distribute current selection | `direction?` |
| Skill | Use | Key parameters | |-------|-----|----------------| | `ui_set_image` | Image type/fill/sprite | target, `type?`, `fillMethod?`, `fillAmount?`, `spritePath?` | | `ui_add_layout_element` | Add LayoutElement constraints | target, width/height prefs, flex values | | `ui_add_canvas_group` | Add CanvasGroup | target, `alpha?`, `interactable?`, `blocksRaycasts?` | | `ui_add_mask` | Add `Mask` or `RectMask2D` | target, `maskType?`, `showMaskGraphic?` | | `ui_add_outline` | Add Shadow/Outline effect | target, `effectType?`, `r/g/b/a?`, `distanceX/Y?` | | `ui_configure_selectable` | Configure transitions/navigation/colors | target, `transition?`, `navigationMode?`, color values |
| Skill | High-frequency fields | |-------|-----------------------| | `ui_create_button` | `text`, `width`, `height` | | `ui_create_text` | `text`, `fontSize`, `r/g/b` | | `ui_create_image` | `spritePath`, `width`, `height` | | `ui_create_slider` | `minValue`, `maxValue`, `value` | | `ui_create_toggle` | `label`, `isOn` | | `ui_create_dropdown` | `options` | | `ui_create_scrollview` | `horizontal`, `vertical`, `movementType` |
Important:
Use `ui_set_rect_transform` when you need Inspector-level RectTransform coverage instead of a preset.
| Skill | Parameters | |-------|------------| | `ui_get_rect_transform` | `name`, `instanceId`, `path` | | `
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)