/unity-cli:unity-buildfrom unity-cli
Builds Unity projects with a four-step workflow: verify compilation, check build settings and scenes, execute build, and handle errors.
Ships in unity-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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"]' |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bigdra50/unity-cli --plugin unity-cli9 skills in this plugin
/unity-apiUnity API の探索と実行。u api schema で検索、u api call で任意の public static メソッドを呼ぶ。
Use for: "Unity API 呼び出し", "u api call", "schema 検索", "CLI 非対応操作のフォールバック"
/unity-assetアセット管理ワークフロー。依存関係調査、参照整合性チェック、パッケージ管理。
Use for: "アセット依存", "参照切れ", "パッケージ管理", "不要アセット"
/unity-debugランタイムエラー・NullReference・コンソールログの調査ワークフロー。
Use for: "エラー調査", "NullReference", "デバッグ", "コンソール確認", "ログ確認"
/unity-perfパフォーマンス計測ワークフロー。プロファイリング、GC 分析、最適化提案。
Use for: "パフォーマンス", "プロファイル", "FPS", "GC", "最適化", "ボトルネック"
Other plugins' skills for the same job