本文へ移動
cccskills
無料GitHub で公開

unity-yaml-editing

Unity YAML text serialization editing workflow. Use when Codex needs to directly inspect, modify, create, or repair Unity serialized YAML files such as .unity scenes, .prefab assets, .asset ScriptableObject/config files, .mat, .controller, or other text-serialized Unity assets, especially when AIBridge inspector/prefab/scene APIs do not support the requested Prefab, Scene, ScriptableObjectTable, or custom asset operation.

日本語の概要は準備中です。原文の説明を表示しています。

FlameskyDexive/Legends-Of-Heroesスター 931(GitHub 931 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(2)

  • SKILL.md3.5 KB
  • references/unity-yaml-reference.md12.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Unity YAML Editing

Use this Skill only after considering Unity/AIBridge APIs. UnityYAML is fragile; direct text edits are the fallback for unsupported serialized asset operations, deterministic repair work, and rare text-serialized asset authoring that AIBridge/Unity APIs cannot express.

Decision Order

  1. Prefer aibridge Inspector/SerializedProperty commands for single readable field edits on scene objects, prefab assets, and .asset files.
  2. Prefer inspector set_properties for small batched field edits on one target.
  3. Prefer aibridge-prefab-patch for complex Prefab child/component/property/array/reference edits it supports.
  4. Prefer Unity Editor scripts when generating high-level assets that Unity can create more safely than text.
  5. Use direct UnityYAML editing when AIBridge/Unity APIs cannot express the operation, for example:
    • Scene .unity structure/object creation or unsupported scene edits.
    • New Prefab asset authoring, paired .meta creation, or Prefab/Variant structures not covered by prefab patch.
    • ScriptableObjectTable, custom ScriptableObject .asset, .mat, .controller, or other serialized assets requiring unsupported structural changes.
    • Repairing malformed text serialization while preserving existing IDs and references.

Required Workflow

  1. Read references/unity-yaml-reference.md before editing.
  2. Inspect a same-project example for every Unity component/class you will create; never write component schemas from memory.
  3. Make a small, reviewable patch; preserve ordering, indentation, document headers, anchors, m_Script, GUIDs, and local fileIDs unless a new object must be created.
  4. For new assets, create or preserve the paired .meta file and ensure its GUID does not already appear in the project.
  5. For new MonoBehaviour/ScriptableObject documents, resolve the script .meta GUID first and use it in m_Script.
  6. For new documents, allocate local fileIDs that do not exist in the same file and update every owning reference consistently.
  7. Validate with Unity import/compile and targeted AIBridge hierarchy/properties inspection when possible.

Hard Rules

  • Do not use generic YAML formatters or parsers to rewrite UnityYAML files.
  • Do not change %YAML, %TAG, --- !u!<classID> &<fileID> headers, class IDs, GUIDs, or fileIDs without a clear reference update plan.
  • Do not invent Unity schema fields. Copy shape from an existing nearby object of the same class/component/script when possible.
  • Prefer decimal floats in hand edits. Avoid editing Unity-generated hexadecimal float values unless preserving existing text unchanged.
  • Keep .meta GUIDs stable. Creating a new asset requires creating/retaining the paired .meta file through Unity when possible.
  • When adding Prefab nodes/components, update all reciprocal references in the same patch: parent m_Children, child m_Father, GameObject.m_Component, and component m_GameObject.

Reference

  • references/unity-yaml-reference.md: detailed UnityYAML format, editing patterns, safety checks, and validation checklist.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

aibridge

無料

Unity Editor and Player Runtime CLI integration for AIBridge. Use when Codex needs to compile Unity, inspect Console logs, search/read assets, manipulate GameObjects, Transforms, components, SerializedProperty values, scenes, screenshots/GIFs, connect to built Player runtime targets, simulate Play Mode runtime input, editor focus/menu items/game view, or look up AIBridgeCLI command syntax. For batch/multi scripts use aibridge-batch-script. For complex prefab asset edits use aibridge-prefab-patch. For unsupported direct Unity YAML serialized asset edits use unity-yaml-editing.

日本語の概要は準備中です。原文の説明を表示しています。

FlameskyDexive/Legends-Of-Heroes9312026年9月22日 更新

AIBridge batch and multi command automation. Use when Codex needs to run multiple Unity Editor CLI operations together, write batch scripts, use multi --cmd or multi --stdin, handle call/delay/log/menu lines, avoid PowerShell quoting issues, or automate long/JSON-heavy AIBridgeCLI workflows.

日本語の概要は準備中です。原文の説明を表示しています。

FlameskyDexive/Legends-Of-Heroes9312026年9月22日 更新

Optional read-only AIBridge Code Index semantic lookup for Unity projects. Use only when this Skill is installed and project rules or AIBridge settings say Code Index is enabled. Use for CLI-only symbol, definition, reference, implementation, derived-type, caller, and diagnostic queries. Do not use when Code Index is disabled; use rg, host file reads, and regular AIBridge commands instead.

日本語の概要は準備中です。原文の説明を表示しています。

FlameskyDexive/Legends-Of-Heroes9312026年9月22日 更新

AIBridge/Unity 项目的标准开发工作流。Use when creating, modifying, fixing, refactoring, or validating C# code, Unity assets, prefabs, editor tools, package structure, tests, AGENTS.md, or local Skills. Preserves visible modes for Skills matching, requirement confirmation, analysis, implementation, and final checklist. Do not use for pure Q&A, simple search/display, or code explanation tasks with no file/code/asset changes.

日本語の概要は準備中です。原文の説明を表示しています。

FlameskyDexive/Legends-Of-Heroes9312026年9月22日 更新

Unity Prefab asset patch workflow for AIBridge. Use when modifying complex prefab assets with prefab patch operations, child or component creation, SerializedProperty writes, array edits, internal GameObject/component references, dry-run validation, or when deciding between prefab patch, inspector set_property, scene object commands, and direct Unity YAML fallback.

日本語の概要は準備中です。原文の説明を表示しています。

FlameskyDexive/Legends-Of-Heroes9312026年9月22日 更新

et-async

無料

ET async and EntityRef safety workflow. Use when adding, modifying, or reviewing async/await, ETTask, generic ETTask results, ETCancellationToken, NewContext, concurrent waits, handler Run async safety, or any Entity access after await in WOW/ET code or tests.

日本語の概要は準備中です。原文の説明を表示しています。

FlameskyDexive/Legends-Of-Heroes9312026年9月22日 更新

FlameskyDexive のスキルをすべて見る

このスキルの問題を報告する