create-ui
БесплатноБез исполняемых скриптовНе проверенCreates, edits, and explains Unity game and editor UI in UI Toolkit, uGUI, or IMGUI, matching the framework the project already uses. Use when the user wants…
от Unity-Technologies★ 1 342 звезды на GitHubОб этом скилле
Create and edit Unity UI
Build, change, and explain UI with whichever of Unity's three UI frameworks fits the project, and deliver new UI as a working demo that you have run and reviewed.
This skill works best with the Unity CLI driving an open Editor (the unity-cli skill), the workflow it was built and tested with: compiling, reading the Console, entering Play mode, running tests, and capturing the Game view from the command line. Without it, the build and review steps need the user to do those in the Editor.
Important
- Prefer
WebFetchoverWebSearch— faster and lands on the exact reference. Only fetch what you need. Replace<VERSION>with the following before fetching:- docs.unity.com: The Unity version, eg
6000.7. Read it fromProjectSettings/ProjectVersion.txtand keep the major and minor parts only. The guides link the.mdform of each page, which is shorter to read than the HTML page. - Package docs: if the project has the package's docs at
Library/PackageCache/<package>@*/Documentation~/, read those.mdfiles instead of fetching, as the uGUI guide does.
- docs.unity.com: The Unity version, eg
- Before you go forward with a workflow or diagnosis, open and read the doc pages that the framework guide says to read for what you're about to build, and name the pages you read in your reply. Fetch other pages only for a feature you use that the guide doesn't cover. This is because your training knowledge about Unity might be out of date, incorrect, or for the wrong Unity version.
- Create a restore point you can roll back to if your changes fail, because UI changes touch scenes, assets, and scripts at once: copy the scene and any files you'll change into
Temp/restore/in the project. Unity doesn't importTemp/, and nothing outside the project changes. - Do only what's asked. Don't change unrelated assets or files. Avoid long explanations. A request to create UI asks for the deliverables in Step 4, so build all of them.
- Never leave verification code in the user's script. Never build logging or detection into their scripts that they didn't ask for; the mock HUD test's
[UI check]log line is part of the test, not of their scripts. To check behaviour in Play mode, read the values you need throughscript eval, as the framework guide's Checks section describes. - Use the Unity CLI to compile, read the Console, enter Play mode, and capture the Game view. For UI Toolkit, the guide lists the commands and flags a UI build needs, so load the
unity-cliskill only if one of them fails; for uGUI and IMGUI, use theunity-cliskill. If the CLI can't reach the Editor, ask the user to focus the Unity Editor and tell you what the Console shows, because the Editor only imports and compiles new files when it's focused or told to recompile.
Glossary
| Term | Meaning |
|---|---|
| UI Toolkit (UITK, UIElements) | UI built from UXML files (structure) and USS files (styles), for runtime and Editor UI |
| uGUI (Unity UI, Canvas UI) | UI built from GameObjects with RectTransforms under a Canvas, from the com.unity.ugui package |
| IMGUI (immediate mode GUI) | UI drawn from code every frame in OnGUI(), used for older Editor tools and debug overlays |
| "legacy UI" | Usually uGUI. If the user points at OnGUI code, they mean IMGUI. |
| Panel Renderer, UI Document | Components that show a UXML file in a scene. New UI uses Panel Renderer; UI Document isn't the default for new UI, but existing scenes may use it. |
| Panel Settings | The asset that controls how a UI Toolkit panel renders and scales |
| Theme Style Sheet (TSS) | Default styles for the built-in UI Toolkit controls, assigned on the Panel Settings |
| TextMesh Pro (TMP) | uGUI's text components and font assets. UI Toolkit uses its own TextCore font assets. |
| Controller script | The MonoBehaviour this skill adds to feed live values to the UI and handle its input |
Step 1: Get the project context
- Read
ProjectSettings/ProjectVersion.txt. Its major and minor version is<VERSION>. If it's older than 6000.7, tell the user this skill is written for Unity 6000.7 and later, and ask before you continue. - Read
Packages/manifest.json.com.unity.uguiprovides uGUI and TextMesh Pro, andcom.unity.inputsystemdecides which input module uGUI needs. - Read
activeInputHandlerinProjectSettings/ProjectSettings.asset: 0 is the old Input Manager, 1 is the Input System package, and 2 is both. - Check whether the Unity CLI reaches an open Editor for this project. If it does, note the
cursorthatconsole statusreturns, so you can later read only the Console entries logged after you started. Never runconsole clear, because it also deletes the user's own entries, including errors they may want fixed.
Step 2: Pick the framework
If the request names a framework, a file type, or a component from this table, use that framework, because the user's choice overrides what the project uses elsewhere.
| Request mentions | Framework | |--
Установить create-ui в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл create-ui?
Creates, edits, and explains Unity game and editor UI in UI Toolkit, uGUI, or IMGUI, matching the framework the project already uses. Use when the user wants a menu, HUD, or editor window built, changed, styled, or explained.
Как установить скилл create-ui?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-ui запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic