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

prefab-reference-repair

壊れた GUID / fileID 参照を検出し、一意な置換先のみ `safe_fix`、それ以外は `decision_required` で保留する。ignore-guid file (`<scope>/config/ignore_guids.txt`) と allowlist branch 経由で noise を整理する。

トリガー: `validate_refs` で missing GUID / fileID が出た、Broken PPtr の調査。

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.1 KB
  • agents/openai.yaml116 B

SKILL.md(原文)

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

Prefab Reference Repair

インターフェース

MCP ツールを直接呼び出す(CLI は廃止済み)。

Overview

Detect and repair broken references while avoiding unsafe auto-fixes.

Workflow

  1. validate_refs MCP ツールで missing assets / fileIDs を特定する。
  2. find_referencing_assets で壊れた参照の使用箇所を調査する。
  3. 一意で決定的な置換先が存在すれば safe_fix を提案する。
  4. 複数候補がある場合は decision_required として保留する。
  5. ノイズの多い missing GUID は validate_refs の ignore_asset_guids パラメータで除外し、<scope>/config/ignore_guids.txt を更新する。
  6. validate_refs を再実行してスコープがクリーンになったことを確認する。

MCP ツール

  • validate_refs — 壊れた GUID/fileID 参照のスキャン(scope, ignore_asset_guids パラメータ)
  • find_referencing_assets — GUID/パスの参照元アセット検索(asset_or_guid, scope パラメータ)

Guardrails

  • Do not edit YAML directly.
  • Only apply safe_fix when the candidate is unique and unambiguous.
  • Ignore-guid updates in CI are restricted to allowlisted branches.

次にこれ

レビュー

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

同じリポジトリのスキル

概要と使いどころ

guide

無料日本語概要

Unity Prefab / Scene / Asset の壊れた参照・Variant override・配線ミスを構造化応答で診断し、 dry-run → confirm 経路で安全に修復するための MCP ツールリファレンス。 Editor Bridge のセットアップ手順もここに含む。 トリガー: .prefab, .unity, .asset, .mat, Prefab, Variant, 配線, 参照, 壊れた参照, broken reference, GUID, fileID, override, パッチ, patch plan, validate refs, validate structure, where-used, inspect variant, inspect wiring, inspect hierarchy, wiring, null参照, null reference, MonoBehaviour, 階層, hierarchy, Transform整合, 孤立, orphan, 重複fileID, duplicate fileID, Editor Bridge, Bridge セットアップ, bridge setup, deploy_bridge, UNITYTOOL_BRIDGE_WATCH_DIR, watch ディレクトリ のいずれかに該当する作業で使用する。

tyunta/prefab-sentinel112026年9月13日 更新

Create or repair a project-local Inspector profile after INSPECTOR_PROFILE_REQUIRED, INSPECTOR_PROFILE_INCOMPLETE, INSPECTOR_PROFILE_INVALID, or PROFILE_AUTHORING_REQUIRED, using Unity component source, custom Inspector evidence, serialized surfaces, and validation diagnostics.

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

tyunta/prefab-sentinel112026年9月13日 更新

knowledge-acquisition

無料日本語概要

VRChat エコシステムツール(ModularAvatar / liltoon / VRCFury / AvatarOptimizer 等)の ナレッジを 4 フェーズで段階的に調査・検証し `knowledge/*.md` に再現可能な形で蓄積する。 ソースコード読解 → inspect 実測まで進めると confidence を `high` に昇格できる。 トリガー: 新しい VRChat コミュニティツールに初めて遭遇した、 既存ナレッジの confidence が low で作業に支障がある、 ユーザーから「このツールについて調べて」と依頼された場合。

tyunta/prefab-sentinel112026年9月13日 更新

udon-log-triage

無料日本語概要

Udon / ClientSim のランタイム例外を分類してアセット / コンポーネントに紐づけ、 決定的な修正は `safe_fix`、判断が必要なものは `decision_required` で仕分ける。 トリガー: ランタイム例外、Udon nullref、ClientSim 起動失敗、ログベースの regression。

tyunta/prefab-sentinel112026年9月13日 更新

variant-safe-edit

無料日本語概要

Prefab / Scene / Asset を壊さず編集する。preflight 診断 → dry-run 差分 → confirm + change_reason 監査 → runtime 検証の 4 段ゲートを 1 経路で踏む。 トリガー: パッチ適用、Prefab Variant 編集、`set_property` / `patch_apply` / `revert_overrides` を伴う変更全般。

tyunta/prefab-sentinel112026年9月13日 更新

tyunta のスキルをすべて見る

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