/prefab-sentinel:prefab-reference-repairfrom prefab-sentinel
Detects broken GUID/fileID references in Unity prefabs, applies safe_fix for unambiguous replacements, and defers ambiguous ones for manual decision.
Ships in prefab-sentinel. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
MCP ツールを直接呼び出す(CLI は廃止済み)。
Detect and repair broken references while avoiding unsafe auto-fixes.
validate_refs MCP ツールで missing assets / fileIDs を特定する。find_referencing_assets で壊れた参照の使用箇所を調査する。safe_fix を提案する。decision_required として保留する。validate_refs の ignore_asset_guids パラメータで除外し、<scope>/config/ignore_guids.txt を更新する。validate_refs を再実行してスコープがクリーンになったことを確認する。validate_refs — 壊れた GUID/fileID 参照のスキャン(scope, ignore_asset_guids パラメータ)find_referencing_assets — GUID/パスの参照元アセット検索(asset_or_guid, scope パラメータ)safe_fix when the candidate is unique and unambiguous./prefab-sentinel:variant-safe-edit で set_property / patch_apply を dry-run → confirm の経路に乗せる。/prefab-sentinel:udon-log-triage で再分類する。validate_refs / find_referencing_assets の引数や挙動を確認したいときは /prefab-sentinel:guide と docs/tools.md を参照する。What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
prefab-repair, guid-repair, safe-fix, decision-required, asset-reference
6 skills in this plugin
/guideUnity 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 ディレクトリ のいずれかに該当する作業で使用する。/inspector-profile-authoringCreate 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./knowledge-acquisitionVRChat エコシステムツール(ModularAvatar / liltoon / VRCFury / AvatarOptimizer 等)の ナレッジを 4 フェーズで段階的に調査・検証し `knowledge/*.md` に再現可能な形で蓄積する。 ソースコード読解 → inspect 実測まで進めると confidence を `high` に昇格できる。 トリガー: 新しい VRChat コミュニティツールに初めて遭遇した、 既存ナレッジの confidence が low で作業に支障がある、 ユーザーから「このツールについて調べて」と依頼された場合。/udon-log-triageUdon / ClientSim のランタイム例外を分類してアセット / コンポーネントに紐づけ、 決定的な修正は `safe_fix`、判断が必要なものは `decision_required` で仕分ける。 トリガー: ランタイム例外、Udon nullref、ClientSim 起動失敗、ログベースの regression。/variant-safe-editPrefab / Scene / Asset を壊さず編集する。preflight 診断 → dry-run 差分 → confirm + change_reason 監査 → runtime 検証の 4 段ゲートを 1 経路で踏む。 トリガー: パッチ適用、Prefab Variant 編集、`set_property` / `patch_apply` / `revert_overrides` を伴う変更全般。npx claudepluginhub tyunta/prefab-sentinel --plugin prefab-sentinelOther plugins' skills for the same job