unity-ui

Installation
SKILL.md

Unity UI Skills

Unity UGUI and Canvas workflows. This module is separate from UI Toolkit. Parameters come from the schema (GET /skills/schema?names=<skill>&wire=v2); execution and dryRun rules: root SKILL.md. Extended examples: UI_REFERENCE.md.

When to use

  • Building UGUI screens
  • Adding Canvas elements
  • Arranging UI layout

Rules

  • Prefer ui_create_batch when creating two or more UI elements. Its items parameter is a JSON string, not a raw array.
  • Most create skills take no x or y. Create the element, then place it with ui_set_rect, ui_set_anchor or ui_layout_children. ui_create_batch is for bulk creation, not precise placement.
  • ui_create_canvas defaults to ScreenSpaceOverlay. Create the Canvas once, then a panel, then the controls inside the panel.
  • Text creation detects TextMeshPro: TextMeshProUGUI when TMP is installed, the legacy Text otherwise. The response says which one was created.
  • ui_create_* skills and batch items take parentEntityId, which outranks parent. Unlike a parent name that does not match, it never falls back to the first Canvas.
  • ui_align_selected, ui_distribute_selected and the selection-based layout act on the UI elements selected in the Hierarchy. Select them first.
  • For world-space gameplay UI, build the Canvas here, then convert it for XR with xr_setup_ui_canvas if needed.
  • To delete a UI node, use the gameobject module.
Installs
106
GitHub Stars
1.9K
First Seen
Mar 14, 2026