agentleFS
bigdra50bigdra50/unity-cli/skills/unity-build/SKILL.md

unity-build

Skill39 starsChanged 10 months agoMITView on GitHub

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

The file

Files
SKILL.md

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"]'

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.