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

unity-asset

Skill39 starsChanged 10 months agoMITView on GitHub

アセット管理ワークフロー。依存関係調査、参照整合性チェック、パッケージ管理。 Use for: "アセット依存", "参照切れ", "パッケージ管理", "不要アセット"

The file

Files
SKILL.md

unity-asset

PREREQUISITE: ../unity-shared/SKILL.md(Relay Server 経由で Unity Editor が起動/アクティブであること)

skill 経由のコマンドは必ず -i <instance> を付ける (unity-shared #インスタンス指定)。

調査フロー

1. アセット情報   u -i <instance> asset info <path>
2. 依存関係      u -i <instance> asset deps <path>
3. 参照元        u -i <instance> asset refs <path>
4. 問題検出 → 修正 → /unity-verify

コマンド

アセット操作

u -i <instance> asset info "Assets/Prefabs/Player.prefab"    # 基本情報
u -i <instance> asset deps "Assets/Prefabs/Player.prefab"    # 依存先一覧
u -i <instance> asset refs "Assets/Prefabs/Player.prefab"    # 参照元一覧
u -i <instance> asset prefab "Assets/Prefabs/X.prefab" --target "X"  # Prefab 化
u -i <instance> asset scriptable-object "Assets/Data/Config.asset" --type "GameConfig"

パッケージ管理

u -i <instance> package list                           # インストール済みパッケージ
u -i <instance> package add com.unity.inputsystem      # 追加
u -i <instance> package remove com.unity.inputsystem   # 削除

CLI 非対応操作

unity-shared のフォールバック順に従う:

  1. u -i <instance> api schema --type AssetDatabase で対応メソッドを検索 (107メソッド)
  2. u -i <instance> api call で実行
  3. .meta インポート設定は YAML 直接編集

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.