npx skills add ...
npx skills add unity-technologies/skills --skill ui
Unity UI expert for menus, HUDs, screens, panels, buttons, labels, and all visual interface elements. Handles questions about UI in scenes or prefabs (how many elements, what exists, structure analysis), styling changes (colors, borders, backgrounds, fonts, spacing, rounded corners), layout adjustments, and UI generation. Routes to UI Toolkit, uGUI, or IMGUI based on project context. Use for ANY request to build, edit, or understand game UI (menus, HUDs, settings or pause screens) when no framework is named: consult this skill to detect which UI system the project uses before writing any UI code, even for a request that looks simple enough to build directly.
npx skills add unity-technologies/skills --skill ui
Determine the appropriate UI system for the project and route to the correct specialized skill.
Route to a specialized skill when:
Answer directly (without routing) when:
Step 1: Check for explicit file references or keywords:
| User mentions | Route to |
|---|---|
.uxml or .uss files (including in /Editor/) | ui-uitk |
| "UI Toolkit", "UITK", "UIElements", "CreateGUI" | ui-uitk |
Canvas prefabs/objects, .prefab with UI | ui-ugui |
| "uGUI", "Canvas", "RectTransform", "legacy UI" | ui-ugui |
| "IMGUI", "OnGUI", "OnInspectorGUI", "immediate mode" | ui-imgui |
Figma URL (figma.com/design/...), "Figma", "import from Figma" | Not available — see below |
For editor-related requests (EditorWindow, custom inspector, PropertyDrawer):
ui-uitk for new editor UIui-imgui if project exclusively uses IMGUI or user explicitly requests itIf explicit file or keywords found, activate the corresponding skill immediately.
Step 2: If ambiguous, detect from project:
Search the project to determine which UI system is in use:
| Look for | Indicates |
|---|---|
.uxml or .uss files (including in /Editor/) | UI Toolkit (runtime or editor) |
UIDocument components in scenes | UI Toolkit (runtime) |
Editor scripts with CreateGUI() method | UI Toolkit (editor) |
Canvas in scenes/prefabs | uGUI |
RectTransform heavy usage | uGUI |
Editor scripts with OnGUI() or OnInspectorGUI() | IMGUI (legacy editor) |
Step 3: If still unclear, ask or default:
ui-ugui)ui-ugui)Specialized skills handle three types of requests:
| Type | Examples |
|---|---|
| Understanding | "What does this button do?", "How is this laid out?", "Explain this UI" |
| Editing | "Change this color", "Add a label here", "Fix this layout" |
| Generation | "Create a menu", "Make an inventory screen", "Build a settings panel" |
Route all types to the appropriate specialized skill based on the UI system.
ui-uitk.uxml and .uss filesui-uguiui-imguiImporting a Figma design requires Unity's Figma integration service, which only exists inside Unity AI Assistant. There is no client-side equivalent, so do not promise it.
If the user brings a Figma URL, say the automated import is not available here and offer the alternative: ask them to describe or screenshot the screen, then build it with the appropriate framework skill above.
Do only what is requested:
These do NOT imply scripts:
Follow project patterns first. Search existing files before applying defaults.
| Type | Convention |
|---|---|
| Element names | Follow project patterns, or camelCase |
| File organization | Match existing project structure |
ui-uitk, ui-ugui, or ui-imguiMany Unity projects use multiple UI systems simultaneously (e.g., UI Toolkit for runtime game UI plus editor tools). When you detect multiple systems:
.uxml files to confirm UITK usage