From unity-cli
Build workflow for Unity: verify compilation, check settings and scenes, execute builds, and resolve errors. Useful when running or troubleshooting builds.
How this skill is triggered — by the user, by Claude, or both
Slash command
/unity-cli:unity-buildThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **PREREQUISITE:** `../unity-shared/SKILL.md`(Relay Server 経由で Unity Editor が起動/アクティブであること)
PREREQUISITE:
../unity-shared/SKILL.md(Relay Server 経由で Unity Editor が起動/アクティブであること)skill 経由のコマンドは必ず
-i <instance>を付ける (unity-shared #インスタンス指定)。
1. /unity-verify Quick Verify コンパイルエラーがないことを確認
2. ビルド設定確認 u -i <instance> build settings --json
3. ビルドシーン確認 u -i <instance> build scenes --json
4. ビルド実行 u -i <instance> build run --target <platform> --output <path>
5. 結果確認 成功/失敗を報告
u -i <instance> build settings --json # 現在の設定
u -i <instance> build scenes --json # ビルドシーン一覧
u -i <instance> build run --target StandaloneWindows64 --output ./Build # ビルド実行
| target | 値 |
|---|---|
| Windows | StandaloneWindows64 |
| macOS | StandaloneOSX |
| Android | Android |
| iOS | iOS |
| WebGL | WebGL |
| エラー | 対応 |
|---|---|
| コンパイルエラー | /unity-verify で修正ループ |
| Missing Scene | u -i <instance> build scenes で確認、シーンパス修正 |
| プラットフォーム未対応 | u -i <instance> api call UnityEditor.EditorApplication ExecuteMenuItem --params '["File/Build Settings"]' |
npx claudepluginhub bigdra50/unity-cli --plugin unity-cliRun Unity builds, CI, and release packaging with reproducible configuration and platform-aware checks.
Quickly verifies Unity code changes by refreshing the editor, polling for compilation, and checking for errors or warnings. Runs automatically on .cs/.shader edits and supports optional test execution.
Controls the Unity Editor from the terminal via the `ucp` CLI. Automates scenes, GameObjects, assets, builds, tests, packages, and profiling over a WebSocket/JSON-RPC bridge.