{"data":{"slug":"github-donchitos-claude-code-game-studios-claude-skills-asset-audit-b50cee371364","title":"Asset Audit Compliance Check","summary":"Audit assets for naming, size, format, and orphan status against project standards. Produces a report with findings or a 'NOT ASSESSED' verdict if required inputs are missing.","url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-asset-audit-b50cee371364","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-donchitos-claude-code-game-studios-claude-skills-asset-audit-b50cee371364","markdown_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-asset-audit-b50cee371364.md","download_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-asset-audit-b50cee371364\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Check for the presence of the art bible (`\/art-bible`) and the engine's code root before running. If either is missing, the audit cannot proceed and will return 'NOT ASSESSED \u2014 no size budget set' or 'NOT ASSESSED \u2014 engine unresolved', respectively.","instructions":"---\nname: asset-audit\ndescription: \"Audit assets against naming conventions, file size budgets, format standards. Finds orphaned assets, missing references.\"\nargument-hint: \"[category|all]\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Bash(stat *), Bash(file *), Bash(od *), Bash(wc *), Bash(du *)\nmodel: sonnet\n# Read-only diagnostic skill \u2014 no specialist agent delegation needed\n---\n\n# Asset Audit\n\n## Measuring file sizes and formats requires Bash\n\nThis skill's report asks for **file sizes against budgets**, **texture dimensions**\n(power-of-two), **audio sample rates**, and **last-modified times** for orphan\ndetection. None of those are obtainable from `Read`\/`Glob`\/`Grep` \u2014 they need\n`stat` or a binary header read, so the read-only measuring commands (`stat`,\n`file`, `od`, `wc`, `du`) are pre-approved above; list files with Glob. Anything\nelse asks first.\n\n**If you cannot take a measurement, the cell is `NOT ASSESSED`, never an\nestimate.** A size budget table filled from guesses is worse than an empty one:\nit looks like evidence. This is a live fabrication vector even on a project full\nof real assets: if the template demands tables of numbers the tool allowlist\ncannot produce, the only way to complete it is to invent them.\n\n---\n\n## Insufficient input \u2014 check this before producing any report\n\n**If the inputs this skill needs do not exist, the answer is \"could not run\" \u2014\nnot a filled-in report.** Check first, and stop if the check fails.\n\n1. List the inputs this skill reads (data files, prior reports, profiler output,\n   test results, registries, source code).\n2. For each, record `FOUND` or `ABSENT` \u2014 not \"assumed present\".\n3. If any input required for a section is ABSENT, that section is\n   **`NOT ASSESSED \u2014 NO DATA`**. Do not estimate it, do not infer it from an\n   adjacent artifact, and do not leave a mandated cell to be filled by whoever\n   reads the template next.\n4. If **every** required input is ABSENT, stop and report\n   **`NOT ASSESSED \u2014 NO DATA`** as the whole verdict, naming what was missing and\n   which skill produces it.\n\n**A verdict of `NOT ASSESSED` is a success.** It is the correct, useful answer to\n\"what does the data say?\" when there is no data. The failure mode this prevents is\nspecific: a report whose verdict enum has no \"could not run\" state produces\n**false clean passes** \u2014 an asset audit returning COMPLIANT on a project with no\nassets and no standards, or a performance profile reporting \">99% headroom against\na 16.67ms budget\" with zero profiler data and no budget ever set.\n\n**Absence of evidence is never evidence of absence.** A scan that finds no\nmatches because there are no files to scan has not verified anything. Say which of\nthe two happened \u2014 a reader cannot tell from a green result.\n\n---\n\n## Phase 1: Read Standards\n\nRead the art bible's Asset Standards section (`design\/art\/art-bible.md`) and any\nasset standards in the relevant design docs \u2014 size budgets and format rules come\nfrom there. The naming patterns are the ones in Phase 3 below, unless the art\nbible states its own. Read the art bible by section: find the heading with\nthe Grep tool (pattern `^#`, content mode) and Read that range with offset\nand limit.\n\nIf neither states a size budget \u2014 or there is no art bible \u2014 the Size section is\n`NOT ASSESSED \u2014 no size budget set`, and the report names `\/art-bible`, whose\nAsset Standards section sets budgets, formats and the naming convention.\n\n---\n\n## Phase 2: Scan Asset Directories\n\nAssets live under the engine's asset root: `assets\/` on Godot, `Assets\/` on\nUnity, `Content\/` on Unreal. Resolve the engine and its code root per\n`.claude\/docs\/code-root-resolution.md`; that code root is the one Phase 3's\norphan and missing-asset searches read. If it is unresolved, stop:\n`NOT ASSESSED \u2014 engine unresolved`, naming `\/setup-engine`.\n\nScan the asset root using Glob:\n\n- **Godot** \u2014 `assets\/art\/**\/*`, `assets\/audio\/**\/*`, `assets\/vfx\/**\/*`,\n  `assets\/shaders\/**\/*`, `assets\/data\/**\/*`\n- **Unity** \u2014 `Assets\/**\/*`, leaving out scripts (`*.cs`, `*.asmdef`) and `*.meta` files\n- **Unreal** \u2014 `Content\/**\/*.uasset` and `Content\/**\/*.umap`\n\nThe files matched are `Total assets scanned`. If there are none, the checks on\nscanned files \u2014 Naming, Size, Format, Orphaned \u2014 are\n`NOT ASSESSED \u2014 no assets under <asset root>`; the missing-asset search still runs.\n\n---\n\n## Phase 3: Run Compliance Checks\n\n**Naming conventions:**\n- Art: `[category]_[name]_[variant]_[size].[ext]`\n- Audio: `[category]_[context]_[name]_[variant].[ext]`\n- All files must be lowercase with underscores\n\nThese are Godot's conventions. Unity and Unreal name assets in PascalCase, so on\nthose engines check names only against a naming rule the art bible states; with\nnone, Naming is `NOT ASSESSED \u2014 no naming rule for <engine>` (name `\/art-bible`).\n\n**File standards:**\n- Textures: Power-of-two dimensions, correct format (PNG for UI, compressed for 3D), within size budget\n- Audio: Correct sample rate, format (OGG for SFX, OGG\/MP3 for music), within duration limits.\n  `file` reports an audio file's format and sample rate but not its length, and no\n  pre-approved tool here does; a duration budget is therefore\n  `NOT ASSESSED \u2014 duration not measurable here`, naming the files it covers.\n- Data: Valid JSON\/YAML, schema-compliant\n\nOn Unreal an asset file (`.uasset`, `.umap`) does not keep its source file's\nformat or dimensions, so Format is `NOT ASSESSED` there; its size is still measured.\n\n**Orphaned assets:** Search the code root for references to each asset file. Flag any with no references.\n\n**Missing assets:** Search the code root for asset references and verify the files exist.\n\nBoth searches need code: if the code root holds no source files, Orphaned and\nMissing are `NOT ASSESSED \u2014 no code to search`. On Unity and Unreal most asset\nreferences live in scenes, prefabs and other assets rather than code, so an\nasset no code names may still be in use: Orphaned is `NOT ASSESSED` there.\n\n---\n\n## Phase 4: Output Audit Report\n\n```markdown\n# Asset Audit Report -- [Category] -- [Date]\n\n## Summary\n- **Total assets scanned**: [N]\n- **Naming violations**: [N]\n- **Size violations**: [N]\n- **Format violations**: [N]\n- **Orphaned assets**: [N]\n- **Missing assets**: [N]\n- **Sections not assessed**: [none | each section and why]\n\n## Naming Violations\n| File | Expected Pattern | Issue |\n|------|-----------------|-------|\n\n## Size Violations\n| File | Budget | Actual | Overage |\n|------|--------|--------|---------|\n\n## Format Violations\n| File | Expected Format | Actual Format |\n|------|----------------|---------------|\n\n## Orphaned Assets (no code references found)\n| File | Last Modified | Size | Recommendation |\n|------|-------------|------|---------------|\n\n## Missing Assets (referenced but not found)\n| Reference Location | Expected Path |\n|-------------------|---------------|\n\n## Recommendations\n[Prioritized list of fixes, one per violation, each naming the change \u2014 the\ntarget resolution or compression for a size violation, the corrected name for a\nnaming violation, the target format for a format violation]\n\n## Verdict: [NOT ASSESSED \/ COMPLIANT \/ WARNINGS \/ NON-COMPLIANT]\n```\n\nChoose the verdict by the findings, first match wins:\n- **NON-COMPLIANT** \u2014 any size violation, or any asset that code references but that does not exist\n- **WARNINGS** \u2014 only naming, format or orphaned-asset findings\n- **NOT ASSESSED** \u2014 the audit did not cover its scope: no data at all (the path\n  above), zero assets scanned, or any section `NOT ASSESSED` \u2014 name which. It\n  ranks below the two finding verdicts, because a measured violation is more\n  actionable than a gap, and above COMPLIANT\n- **COMPLIANT** \u2014 at least one asset scanned, every section assessed, no findings\n\nThis skill is read-only \u2014 it produces a report but does not write files.\n\n---\n\n## Phase 5: Next Steps\n\n- Fix naming violations using the Phase 3 patterns (or the art bible's, where it states its own).\n- If standards were missing, run `\/art-bible` to write its Asset Standards section.\n- Delete confirmed orphaned assets after manual review.\n- Run `\/content-audit` to cross-check asset counts against GDD-specified requirements.\n","use_cases":["Verify that all assets follow the project's naming conventions.","Check that textures are power-of-two dimensions and within size budgets.","Identify orphaned assets with no code references."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Donchitos\/Claude-Code-Game-Studios\/blob\/abc0de79d6ceb0b5d7aa693945849b3937afbe6a\/.claude\/skills\/asset-audit\/SKILL.md","source_commit":"abc0de79d6ceb0b5d7aa693945849b3937afbe6a","license":null,"version":null,"listing_approved_at":"2026-11-18","created_at":"2026-11-16T19:49:30.000000Z","updated_at":"2026-11-18T07:35:05.000000Z","seo_title":"Asset Audit Compliance Check","seo_description":"Audit assets for naming, size, format, and orphan status against project standards. Ensures compliance with naming conventions and file size budgets. Produces a report or","seo_keywords":["asset audit compliance","file naming conventions","texture size check","orphaned asset detection","format validation"]}}