agentsclimarketplace

Unity build

Skill bigdra50/unity-cli/skills/unity-build

CLI tool for controlling Unity Editor via command line - Play Mode, console logs, tests, scenes, GameObjects and more

Install
npx -y skills add bigdra50/unity-cli --skill unity-build

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

ビルドワークフロー。検証 → 設定確認 → ビルド実行 → エラー対応。 Use for: "ビルド", "ビルド実行", "プラットフォーム設定", "ビルドエラー"

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.9 KB, as published. Nobody here has run it

unity-build

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
WindowsStandaloneWindows64
macOSStandaloneOSX
AndroidAndroid
iOSiOS
WebGLWebGL

エラー対応

エラー対応
コンパイルエラー/unity-verify で修正ループ
Missing Sceneu -i <instance> build scenes で確認、シーンパス修正
プラットフォーム未対応u -i <instance> api call UnityEditor.EditorApplication ExecuteMenuItem --params '["File/Build Settings"]'

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.