Agent skill

Unity Validation

by Besty0728 in Besty0728/Unity-Skills

Validate project and scene health plus cleanup. An agent skill from Besty0728/Unity-Skills.

MITAuto-check passedGame Development

Install Unity Validation

skills CLI
$ npx skills add Besty0728/Unity-Skills --skill unity-validation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Besty0728/Unity-Skills unity-validation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Besty0728/Unity-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'SkillsForUnity/unity-skills~/skills/validation' .claude/skills/unity-validation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
unity-validation
GitHub stars
1.8k
Token cost
~2.4k tokens
SKILL.md length
737 words
Files
1
Skills in repo
82
Repo updated
First seen
Licence
MIT

At a glance

Validate project and scene health plus cleanup. An agent skill from Besty0728/Unity-Skills.

  • Works in 6 steps: Always use dryRun=True first to preview… → Run validation before major builds → Review unused assets manually before… → …
  • Game Development work in your project
  • SKILL.md covers Triggers, Operating Mode, Skills Overview and Skills, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Unity Validation is an agent skill from Besty0728/Unity-Skills. Validate project and scene health plus cleanup

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development. The repository describes itself as: AI automation skills specifically designed for Unity. The licence is MIT.

When your agent uses it

  • Game Development work in your project

Example prompts

  • “/unity-validation”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Always use dryRun=True first to preview changes
  2. Run validation before major builds
  3. Review unused assets manually before deletion
  4. Keep texture sizes appropriate for target platform
  5. Fix missing scripts before they cause runtime errors
  6. Regular cleanup prevents project bloat

What it can do on your machine

Read from SKILL.md and the folder at commit 12a40e4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Unity Validation loads about 2.4k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 737 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Besty0728/Unity-Skills at commit 12a40e4, republished under its MIT licence (© Besty0728). 737 words, ~2,363 tokens.

Download SKILL.mdSave it as .claude/skills/unity-validation/SKILL.md (or your agent's skills folder).
name
unity-validation
description
Validate project and scene health plus cleanup

Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.

Triggers

  • Checking broken or missing references
  • Validating scene/project integrity
  • Cleaning up before a build
  • 检查断裂或丢失引用、校验场景/项目完整性、构建前清理

Unity Validation Skills

Maintain project health - find problems, clean up, and validate your Unity project.

Operating Mode

  • Approval: 只读分析 skill(validate_scene / validate_find_missing_scripts / validate_find_unused_assets / validate_texture_sizes / validate_project_structure / validate_missing_references / validate_mesh_collider_convex / validate_shader_errors,标 SkillMode.SemiAuto)直接执行;含 Delete 的 skill(validate_cleanup_empty_folders 标 Analyze | Delete、validate_fix_missing_scripts 标 Execute | Delete,默认 SkillMode.FullAuto)需用户 grant。
  • Auto / Bypass: 直接执行。
  • 本模块含 Delete 类高危 skill:validate_cleanup_empty_folders / validate_fix_missing_scripts 一旦 dryRun=false 即真删;它们在 Approval / Auto 下被 IsForbiddenInSemi 自动拦截,仅 Bypass 或 Allowlist 命中可执行。强烈建议先用 dryRun=true 预览。

DO NOT (common hallucinations):

  • Validation skill routes use the validate_* prefix, not validation_*
  • validation_run / validation_check do not exist → use specific skills such as validate_scene, validate_project_structure, validate_missing_references
  • validation_fix does not exist → validation skills report issues; use other modules to fix them
  • validation_clean does not exist → use cleaner module for cleanup operations

Routing:

  • For unused/duplicate asset cleanup → use cleaner module
  • For missing script fix → cleaner_fix_missing_scripts (cleaner module)
  • For compile errors → debug_check_compilation (debug module)

Skills Overview

SkillDescription
validate_sceneComprehensive scene validation
validate_find_missing_scriptsFind objects with missing scripts
validate_fix_missing_scriptsRemove missing script components
validate_cleanup_empty_foldersRemove empty folders
validate_find_unused_assetsFind potentially unused assets
validate_texture_sizesCheck texture sizes
validate_project_structureGet project overview
validate_missing_referencesFind null/missing object references on components
validate_mesh_collider_convexFind non-convex MeshColliders
validate_shader_errorsFind shaders with compilation errors

Six more skills carry SkillCategory.Validation but are implemented and documented in the batch module, so GET /skills/recommend?category=validation returns them alongside the ten above. Their parameters live in ../batch/SKILL.md; each is a preview that you commit with batch_execute(confirmToken), except batch_validate_scene_objects, which is a plain read-only report.

SkillDescription
batch_validate_scene_objectsAnalyze scene objects for missing scripts, missing references, duplicate names, and empty objects
batch_fix_missing_scriptsPreview batch removal of missing scripts
batch_cleanup_temp_objectsPreview deleting temporary helper objects by common temp-name patterns
batch_standardize_namingPreview standardizing names by trimming whitespace and normalizing separators
batch_set_render_layerPreview setting GameObject layers in batch
batch_replace_materialPreview replacing materials in batch

Skills

validate_scene

Comprehensive scene validation.

ParameterTypeRequiredDefaultDescription
checkMissingScriptsboolNotrueCheck for missing scripts
checkMissingPrefabsboolNotrueCheck for missing prefabs
checkDuplicateNamesboolNotrueCheck duplicate names
checkEmptyGameObjectsboolNofalseCheck empty GameObjects (no components)

Returns: {scene, totalIssues, summary: {errors, warnings, info}, issues: [{type, severity, gameObject, path, message, count}]}

validate_find_missing_scripts

Find objects with missing script references.

ParameterTypeRequiredDefaultDescription
searchInPrefabsboolNotrueAlso check prefab assets

Returns: {totalFound, objects: [{source, gameObject, path, missingCount, prefabPath?}]} (prefabPath only present when source="Prefab")

Show full SKILL.md (297 more words)Show less
validate_fix_missing_scripts

Remove missing script components.

ParameterTypeRequiredDefaultDescription
dryRunboolNotruePreview only, don't remove

Returns: {success, dryRun, fixedCount, message, objects: [{gameObject, path, missingCount}]}

validate_cleanup_empty_folders

Remove empty folders from project.

ParameterTypeRequiredDefaultDescription
rootPathstringNo"Assets"Starting folder
dryRunboolNotruePreview only, don't delete

Returns: { success, dryRun, emptyFolderCount, folders, message }

validate_find_unused_assets

Find potentially unused assets.

ParameterTypeRequiredDefaultDescription
assetTypestringNo"Material"Filter: Texture/Material/Prefab/etc
limitintNo100Max results

Returns: { success, assetType, potentiallyUnusedCount, assets }

validate_texture_sizes

Check for oversized textures.

ParameterTypeRequiredDefaultDescription
maxRecommendedSizeintNo2048Warn if larger
limitintNo50Max results

Returns: {maxRecommendedSize, largeTextureCount, textures: [{path, name, width, height, maxTextureSize, format, recommendation}]}

validate_project_structure

Get project folder structure overview.

ParameterTypeRequiredDefaultDescription
rootPathstringNo"Assets"Starting folder
maxDepthintNo2Max folder depth

Returns: { success, rootPath, assetCounts, structure }

validate_missing_references

Find null/missing object references on components in the scene.

ParameterTypeRequiredDefaultDescription
limitintNo50Max results

Returns: { success, count, issues: [{ gameObject, path, component, property }] }

validate_mesh_collider_convex

Find non-convex MeshColliders (potential performance issue).

ParameterTypeRequiredDefaultDescription
limitintNo50Max results

Returns: { success, count, nonConvexColliders: [{ gameObject, path, vertexCount }] }

validate_shader_errors

Find shaders with compilation errors.

ParameterTypeRequiredDefaultDescription
limitintNo50Max results

Returns: { success, count, shaders: [{ name, path, errorCount }] }


Common Workflows

Pre-Build Check
python
import unity_skills

# Validate scene
scene_result = unity_skills.call_skill("validate_scene")
if scene_result['totalIssues'] > 0:
    print(f"Warning: {scene_result['totalIssues']} issues found")

# Check texture sizes
texture_result = unity_skills.call_skill("validate_texture_sizes", maxRecommendedSize=2048)
if texture_result['largeTextureCount'] > 0:
    print(f"Warning: {texture_result['largeTextureCount']} oversized textures")
Project Cleanup
python
import unity_skills

# 1. Preview missing scripts fix
preview = unity_skills.call_skill("validate_fix_missing_scripts", dryRun=True)
print(f"Would fix {preview['fixedCount']} objects")

# 2. Actually fix (if preview looks good)
unity_skills.call_skill("validate_fix_missing_scripts", dryRun=False)

# 3. Preview empty folder cleanup
preview = unity_skills.call_skill("validate_cleanup_empty_folders", dryRun=True)
print(f"Would delete {len(preview['folders'])} folders")

# 4. Actually cleanup
unity_skills.call_skill("validate_cleanup_empty_folders", dryRun=False)

# 5. Review unused assets (manual review recommended)
unused = unity_skills.call_skill("validate_find_unused_assets")
for asset in unused['assets']:
    print(f"Potentially unused: {asset}")

Best Practices

  1. Always use dryRun=True first to preview changes
  2. Run validation before major builds
  3. Review unused assets manually before deletion
  4. Keep texture sizes appropriate for target platform
  5. Fix missing scripts before they cause runtime errors
  6. Regular cleanup prevents project bloat

Exact Signatures

Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.

© Besty0728, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in SkillsForUnity/unity-skills~/skills/validation of Besty0728/Unity-Skills.

Open the folder on GitHubat commit 12a40e4

Compare with similar skills

Unity Validation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Unity Validation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Unity Validation this skillBesty0728/Unity-Skills1.8k—~2.4kAutomated safety check: PassMIT
Image to Three.js Modelimg2threejs/img2threejs18k1 repos~8.2kAutomated safety check: PassApache-2.0
Web CloneJane-xiaoer/claude-skill-web-clone1k1 repos~2.7kAutomated safety check: PassMIT
Threejs Game Directormajidmanzarpour/threejs-game-skills2.4k—~2.2kAutomated safety check: PassMIT
Game Asset Generatorhtdt/godogen7.1k—~2.8kAutomated safety check: PassMIT
Threejs Gameplay Systemsvalkor-ai/loom1.2k1 repos~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Image to Three.js Model

    img2threejs/img2threejs

    Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.

    18k GitHub starsUsed in 1 repo~8.2k tokens
    Game DevelopmentAuto-check passed
  • Web Clone

    Jane-xiaoer/claude-skill-web-clone

    网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…

    1k GitHub starsUsed in 1 repo~2.7k tokens
    Game DevelopmentAuto-check passed
  • Threejs Game Director

    majidmanzarpour/threejs-game-skills

    Entrypoint for building, upgrading, and finishing Three.js browser games.

    2.4k GitHub stars~2.2k tokensUpdated 10 days ago
    Game DevelopmentAuto-check passed
  • Generates game art from text prompts: PNG images, GLB 3D models, rigged characters, animations and sprites, with background removal.

    7.1k GitHub stars~2.8k tokensUpdated 6 days ago
    Game DevelopmentAuto-check passed
  • Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…

    1.2k GitHub starsUsed in 1 repo~1.4k tokens
    Game DevelopmentAuto-check passed
  • Uloop Execute Dynamic Code

    CyberAgentGameEntertainment/NovaShader

    Execute C with Unity APIs when existing uloop tools cannot inspect or edit enough.

    1.6k GitHub starsUsed in 1 repo~1.9k tokens
    Game DevelopmentAuto-check passed

More from Besty0728/Unity-Skills

All 82 skills in this repo
  • Unity Skills

    Besty0728/Unity-Skills

    Automate the Unity Editor through a local REST API — scripts, scenes, prefabs, assets, materials, lighting, tests and hundreds of other Editor operations.

    1.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Unity Animator

    Besty0728/Unity-Skills

    Edit Unity Animator Controllers and drive runtime parameters

    1.8k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Unity Architecture

    Besty0728/Unity-Skills

    Advise on Unity gameplay and system architecture. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Unity Batch

    Besty0728/Unity-Skills

    Unified batch and async-job orchestration. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Unity Behavior

    Besty0728/Unity-Skills

    Drive Unity Behavior behavior graphs and blackboard variables

    1.8k GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Unity Console

    Besty0728/Unity-Skills

    Capture and query the Unity Editor console. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed

Questions about Unity Validation

What does Unity Validation do?

Validate project and scene health plus cleanup. An agent skill from Besty0728/Unity-Skills. Unity Validation is an agent skill from Besty0728/Unity-Skills.

When should I use Unity Validation?

Unity Validation fits situations like: game Development work in your project.

How do I install Unity Validation in Claude Code?

Run `npx skills add Besty0728/Unity-Skills --skill unity-validation -a claude-code`. Or copy the skill folder (SkillsForUnity/unity-skills~/skills/validation in Besty0728/Unity-Skills) into .claude/skills/unity-validation in your project. Claude Code loads it when a task matches its description.

How do I install Unity Validation in Codex?

Run `npx skills add Besty0728/Unity-Skills --skill unity-validation -a codex`. Or copy the skill folder (SkillsForUnity/unity-skills~/skills/validation in Besty0728/Unity-Skills) into .agents/skills/unity-validation in your project. Codex loads it when a task matches its description.

Can I use Unity Validation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Besty0728/Unity-Skills --skill unity-validation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/unity-validation, .gemini/skills/unity-validation, .github/skills/unity-validation and .opencode/skills/unity-validation in your project.

What does Unity Validation need to run?

SKILL.md names no scripts, command-line tools or credentials: Unity Validation is instructions for the agent only. Our summary lists: Python 3.

Does Unity Validation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Unity Validation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Unity Validation use?

Unity Validation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Unity Validation use?

About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Unity Validation?

Skills that share tags, products or a category with Unity Validation: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.4k stars) and Game Asset Generator (htdt/godogen, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Unity Validation?

Besty0728 (a GitHub user) maintains it in Besty0728/Unity-Skills, which has 1,814 GitHub stars. The repository holds 82 skills in this directory. The repository was last updated on October 6, 2026.

Source: Besty0728/Unity-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.