create-xr
БесплатноЗапускает вложенные скриптыНе проверенSets up a Unity project for XR. Use when user asks for XR, OpenXR, Quest graphics or XR rig.
от Unity-Technologies★ 1 342 звезды на GitHubОб этом скилле
Set up a Unity project for XR: configure it for the target devices, optimize graphics for Quest, then add a configured XR rig.
Goal: the project builds for the target device(s) with XR enabled, and the user can enter the scene on their headset with working controllers (or hands) and the movement they chose — without building it.
<SKILL_DIR> = the "Base directory for this skill" shown at the top of this document.
<PROJECT_PATH> = absolute path to the Unity project on disk.
Critical Rules
- Do only what's asked. Don't change unrelated assets or files. Avoid long explanations. Unrequested changes are hard for the user to spot and undo.
- Create a restore point you can roll back to if your changes fail: check the project's version control has no uncommitted changes, or otherwise copy
Packages/andProjectSettings/to a folder outside the project. - Don't add verification code or logging to the project; read state back through the scripts or
eval. Anything you add stays in the user's project and console. - Do NOT specify package version numbers — let the Package Manager resolve the latest compatible version, because a pinned version may not support the project's Unity version.
- Do NOT edit
Packages/manifest.json,.unity,.prefab,.asset, or.metafiles directly, because the open Editor doesn't validate hand edits and can overwrite them or break on a malformed file. - Do NOT write C# files into the project — C# runs only through
eval, because a script file forces a recompile and stays in the user's project. - Do NOT dismiss Editor dialogs with UI automation, simulated clicks, or key presses, because a dialog asks for a decision that belongs to the user (such as restarting the Editor). If the Editor is blocked by a dialog, tell the user what it says and ask them to answer it.
- Do NOT write your own package-install or wait-for-Editor loops — use the skill's scripts and the
install_package/wait_readyhelpers inscripts/_eval.sh, because they already handle reloads, timeouts, and blocking dialogs. - Do NOT use reflection or non-public APIs, because they change between Unity versions without notice. If no public API or Pipeline command covers a step, ask the user to do it in the Editor.
- Use a Pipeline command when one covers the step;
evalonly when none does, because commands are validated and don't compile C# on every call. - Read back the result of every change before the next step, because a call can report success while the Editor is reloading and the value didn't change.
Docs
Before you start a procedure or diagnose a failure:
- Open and read the doc pages listed in that procedure's file.
- Name the files you read in your response.
This is because your training knowledge about Unity and its XR packages may be outdated, incorrect, or for the wrong version.
The pages are markdown files in <PROJECT_PATH>/Library/PackageCache/<package>@*/Documentation~/ (installed packages only). Read only the .md files in that single subfolder. Don't open non-.md files or other Library or PackageCache folders, because that takes too long. If a page is missing, find it in that folder's TableOfContents.md; if the folder has no .md files, use the online docs. The decisions in this skill still apply.
Prefer WebFetch over WebSearch, because it's faster and lands on the exact page. Replace <VERSION> before fetching:
- Packages on docs.unity3d.com (
https://docs.unity3d.com/Packages/<package>@<VERSION>/manual/): the installed package version, major.minor (e.g.@1.19). Read it fromPackages/packages-lock.json, becausemanifest.jsoncan hold a range. - Unity Manual on docs.unity.com (
https://docs.unity.com/en-us/engine/<VERSION>/manual/<page>.md): the project's Unity version, major.minor (e.g.6000.3).
0. Connect
Connect to the project's Editor before anything else, in this order (the unity-cli skill has the command details):
Pipeline package first. If
Packages/manifest.jsonhas nocom.unity.pipeline, rununity pipeline installbefore opening the Editor, because Unity reads the manifest when it loads the project. Against an already-open Editor:Message Cause Fix PIPELINE_MANIFEST_WRITE_FAILEDThe open Editor holds the manifest Ask the user to close the Editor, then run the install again STATUS_PIPELINE_LOAD_PENDING(fromunity status)Installed, but loads only when the Editor window regains focus Ask the user to switch to the Editor window Then the Editor.
unity statusonly lists Editors that already have the Pipeline package, so before opening one, check forTemp/UnityLockfilein the project: if it exists, an Editor probably has the project open already. Don't rununity open(a second Editor would replace it, and the user could lose unsaved work); ask the user to switch to the Editor window instead. If they say Unity isn't open, the file is left over
Установить create-xr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл create-xr?
Sets up a Unity project for XR. Use when user asks for XR, OpenXR, Quest graphics or XR rig.
Как установить скилл create-xr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-xr запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic