ワンクリックで
unity-validation
Use when users want to find missing scripts, validate references, or check project health.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when users want to find missing scripts, validate references, or check project health.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when working with a Unity project via MCP — creating or editing scenes, GameObjects, components, prefabs, materials, UI, lighting, navmesh, animations, terrain, C# scripts, or any other Unity Editor task.
Use when users want to run Unity tests or read test results.
Use when users want to enter play mode, select objects, undo/redo, or execute menu commands.
Use when creating, reading, editing, searching, validating, or deleting C# scripts in a Unity project.
Use when about to write or install a custom Editor script, add a [MenuItem], build a custom Editor window, or create a one-off Editor helper — to check whether a ready-to-paste template already exists in tooling/<domain>/ before reaching for Unity_CreateScript.
Use when users want to create Canvas, Button, Text, Image, or other UI elements.
| name | unity-validation |
| description | Use when users want to find missing scripts, validate references, or check project health. |
Maintain project health - find problems, clean up, and validate your Unity project.
DO NOT (common hallucinations):
validate_* prefix, not validation_*validation_run / validation_check do not exist → use specific skills such as validate_scene, validate_project_structure, validate_missing_referencesvalidation_fix does not exist → validation skills report issues; use other modules to fix themvalidation_clean does not exist → use cleaner module for cleanup operationsRouting:
cleaner modulecleaner_fix_missing_scripts (cleaner module)script_get_compile_feedback (script module)| Skill | Description |
|---|---|
validate_scene | Comprehensive scene validation |
validate_find_missing_scripts | Find objects with missing scripts |
validate_fix_missing_scripts | Remove missing script components |
validate_cleanup_empty_folders | Remove empty folders |
validate_find_unused_assets | Find potentially unused assets |
validate_texture_sizes | Check texture sizes |
validate_project_structure | Get project overview |
validate_missing_references | Find null/missing object references on components |
validate_mesh_collider_convex | Find non-convex MeshColliders |
validate_shader_errors | Find shaders with compilation errors |
Comprehensive scene validation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
checkMissingScripts | bool | No | true | Check for missing scripts |
checkMissingPrefabs | bool | No | true | Check for missing prefabs |
checkDuplicateNames | bool | No | false | Check duplicate names |
Returns: {success, sceneName, totalIssues, missingScripts, missingPrefabs, duplicateNames}
Find objects with missing script references.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
searchInPrefabs | bool | No | false | Also check prefab assets |
Returns: {success, count, objectsWithMissingScripts: [{name, path, missingCount}]}
Remove missing script components.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
dryRun | bool | No | true | Preview only, don't remove |
Returns: {success, totalFixed, fixedObjects}
Remove empty folders from project.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
rootPath | string | No | "Assets" | Starting folder |
dryRun | bool | No | true | Preview only, don't delete |
Returns: {success, count, foldersToDelete: [path]}
Find potentially unused assets.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
assetType | string | No | null | Filter: Texture/Material/Prefab/etc |
limit | int | No | 100 | Max results |
Returns: {success, count, unusedAssets: [path]}
Check for oversized textures.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
maxRecommendedSize | int | No | 2048 | Warn if larger |
limit | int | No | 50 | Max results |
Returns: {success, totalChecked, oversizedCount, oversizedTextures: [{path, width, height, recommendation}]}
Get project folder structure overview.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
rootPath | string | No | "Assets" | Starting folder |
maxDepth | int | No | 3 | Max folder depth |
Returns: {success, structure, summary: {totalFolders, totalAssets}}
validate_missing_referencesFind null/missing object references on components in the scene.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | int | No | 50 | Max results |
Returns: { success, count, issues: [{ gameObject, path, component, property }] }
validate_mesh_collider_convexFind non-convex MeshColliders (potential performance issue).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | int | No | 50 | Max results |
Returns: { success, count, nonConvexColliders: [{ gameObject, path, vertexCount }] }
validate_shader_errorsFind shaders with compilation errors.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | int | No | 50 | Max results |
Returns: { success, count, shaders: [{ name, path, errorCount }] }
Recipe path rule: ../../recipes/validation/<command>.md
See ../../recipes/validation/<command>.md for C# templates.
See ../../recipes/validation/<command>.md for C# templates.
dryRun=True first to preview changes