agentleFS
DonchitosDonchitos/Claude-Code-Game-Studios/.claude/skills/asset-audit/SKILL.md

asset-audit

Skill26k starsChanged 2 months agoMITView on GitHub

Audit assets against naming conventions, file size budgets, format standards. Finds orphaned assets, missing references.

6 other projects use a version of this, 4 of them edited; 3 of 3 edited versions we compared changed its rules.

How people change it

3 of 3 edited versions changed its rules, and some changes recur.

Of the 3 edited versions we compared: 3 made changes of their own.

Rules people drop

  1. If any input required for a section is ABSENT, that section isdropped by 3 of 3
  2. NOT ASSESSED — NO DATA. Do not estimate it, do not infer it from an adjacent artifact, and do not leave a mandated cell to be filled by whoever reads the template next.dropped by 3 of 3
  3. If every required input is ABSENT, stop and reportdropped by 3 of 3
  4. Read the art bible's Asset Standards section (design/art/art-bible.md) and any asset standards in the relevant design docs — size budgets and format rules come from there. …dropped by 3 of 3
  5. If neither states a size budget — or there is no art bible — the Size section is NOT ASSESSED — no size budget set, and the report names /art-bible, whose Asset Standards section sets budgets, formats and the naming convention.dropped by 3 of 3
  6. If standards were missing, run /art-bible to write its Asset Standards section.dropped by 3 of 3
  7. Orphaned assets: Search the code root for references to each asset file. Flag any with no references.dropped by 1 of 3
  8. Missing assets: Search the code root for asset references and verify the files exist.dropped by 1 of 3

Rules people add

  1. Read the art bible or asset standards from the relevant design docs and the AGENTS.md naming conventions.added by 2 of 3

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about Donchitos/Claude-Code-Game-Studios

The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 53

Talked about on GitHub and Bluesky (53 times).

On GitHub · 41

36 more on GitHub

On Bluesky · 12

7 more on Bluesky

The file

We split this skill into the rules it gives an agent

11 rules. 3 are common, 3 are distinctive, and 5 are very specific to this project.

  • 3

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If any input required for a section is ABSENT, that section is

    line 36
  2. Very specific:

    NOT ASSESSED — NO DATA: Do not estimate it, do not infer it from an adjacent artifact, and do not leave a mandated cell to be filled by …

    line 37
  3. Distinctive:

    If every required input is ABSENT, stop and report

    line 40
  4. Very specific:

    Read the art bible's Asset Standards section (design/art/art-bible.md) and any asset standards in the relevant design docs — size budgets …

    line 60
  5. Very specific:

    If neither states a size budget — or there is no art bible — the Size section is NOT ASSESSED — no size budget set, and the report names …

    line 65
  6. Common:

    All files must be lowercase with underscores

    line 97
  7. Distinctive:

    Orphaned assets: Search the code root for references to each asset file.

    line 114
  8. Common:

    Missing assets: Search the code root for asset references and verify the files exist.

    line 116
  9. Very specific:

    If standards were missing, run /art-bible to write its Asset Standards section.

    line 183
  10. Common:

    Delete confirmed orphaned assets after manual review.

    line 184
  11. Very specific:

    Run /content-audit to cross-check asset counts against GDD-specified requirements.

    line 185

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Measuring file sizes and formats requires Bash

This skill's report asks for file sizes against budgets, texture dimensions (power-of-two), audio sample rates, and last-modified times for orphan detection. None of those are obtainable from Read/Glob/Grep — they need stat or a binary header read, so the read-only measuring commands (stat, file, od, wc, du) are pre-approved above; list files with Glob. Anything else asks first.

If you cannot take a measurement, the cell is NOT ASSESSED, never an estimate. A size budget table filled from guesses is worse than an empty one: it looks like evidence. This is a live fabrication vector even on a project full of real assets: if the template demands tables of numbers the tool allowlist cannot produce, the only way to complete it is to invent them.


Insufficient input — check this before producing any report

If the inputs this skill needs do not exist, the answer is "could not run" — not a filled-in report. Check first, and stop if the check fails.

  1. List the inputs this skill reads (data files, prior reports, profiler output, test results, registries, source code).
  2. For each, record FOUND or ABSENT — not "assumed present".
  3. If any input required for a section is ABSENT, that section is NOT ASSESSED — NO DATA. Do not estimate it, do not infer it from an adjacent artifact, and do not leave a mandated cell to be filled by whoever reads the template next.
  4. If every required input is ABSENT, stop and report NOT ASSESSED — NO DATA as the whole verdict, naming what was missing and which skill produces it.

A verdict of NOT ASSESSED is a success. It is the correct, useful answer to "what does the data say?" when there is no data. The failure mode this prevents is specific and has been observed in practice: report templates whose verdict enum had no "could not run" state produced false clean passes — an asset audit returning COMPLIANT on a project with no assets and no standards, and a performance profile reporting ">99% headroom against a 16.67ms budget" with zero profiler data and no budget ever set.

Absence of evidence is never evidence of absence. A scan that finds no matches because there are no files to scan has not verified anything. Say which of the two happened — a reader cannot tell from a green result.


Phase 1: Read Standards

Read the art bible's Asset Standards section (design/art/art-bible.md) and any asset standards in the relevant design docs — size budgets and format rules come from there. The naming patterns are the ones in Phase 3 below, unless the art bible states its own.

If neither states a size budget — or there is no art bible — the Size section is NOT ASSESSED — no size budget set, and the report names /art-bible, whose Asset Standards section sets budgets, formats and the naming convention.


Phase 2: Scan Asset Directories

Assets live under the engine's asset root: assets/ on Godot, Assets/ on Unity, Content/ on Unreal. Resolve the engine and its code root per .claude/docs/code-root-resolution.md; that code root is the one Phase 3's orphan and missing-asset searches read. If it is unresolved, stop: NOT ASSESSED — engine unresolved, naming /setup-engine.

Scan the asset root using Glob:

  • Godot — assets/art/**/*, assets/audio/**/*, assets/vfx/**/*, assets/shaders/**/*, assets/data/**/*
  • Unity — Assets/**/*, leaving out scripts (*.cs, *.asmdef) and *.meta files
  • Unreal — Content/**/*.uasset and Content/**/*.umap

The files matched are Total assets scanned. If there are none, the checks on scanned files — Naming, Size, Format, Orphaned — are NOT ASSESSED — no assets under <asset root>; the missing-asset search still runs.


Phase 3: Run Compliance Checks

Naming conventions:

  • Art: [category]_[name]_[variant]_[size].[ext]
  • Audio: [category]_[context]_[name]_[variant].[ext]
  • All files must be lowercase with underscores

These are Godot's conventions. Unity and Unreal name assets in PascalCase, so on those engines check names only against a naming rule the art bible states; with none, Naming is NOT ASSESSED — no naming rule for <engine> (name /art-bible).

File standards:

  • Textures: Power-of-two dimensions, correct format (PNG for UI, compressed for 3D), within size budget
  • Audio: Correct sample rate, format (OGG for SFX, OGG/MP3 for music), within duration limits. file reports an audio file's format and sample rate but not its length, and no pre-approved tool here does; a duration budget is therefore NOT ASSESSED — duration not measurable here, naming the files it covers.
  • Data: Valid JSON/YAML, schema-compliant

On Unreal an asset file (.uasset, .umap) does not keep its source file's format or dimensions, so Format is NOT ASSESSED there; its size is still measured.

Orphaned assets: Search the code root for references to each asset file. Flag any with no references.

Missing assets: Search the code root for asset references and verify the files exist.

Both searches need code: if the code root holds no source files, Orphaned and Missing are NOT ASSESSED — no code to search. On Unity and Unreal most asset references live in scenes, prefabs and other assets rather than code, so an asset no code names may still be in use: Orphaned is NOT ASSESSED there.


Phase 4: Output Audit Report

# Asset Audit Report -- [Category] -- [Date]

## Summary
- **Total assets scanned**: [N]
- **Naming violations**: [N]
- **Size violations**: [N]
- **Format violations**: [N]
- **Orphaned assets**: [N]
- **Missing assets**: [N]
- **Sections not assessed**: [none | each section and why]

## Naming Violations
| File | Expected Pattern | Issue |
|------|-----------------|-------|

## Size Violations
| File | Budget | Actual | Overage |
|------|--------|--------|---------|

## Format Violations
| File | Expected Format | Actual Format |
|------|----------------|---------------|

## Orphaned Assets (no code references found)
| File | Last Modified | Size | Recommendation |
|------|-------------|------|---------------|

## Missing Assets (referenced but not found)
| Reference Location | Expected Path |
|-------------------|---------------|

## Recommendations
[Prioritized list of fixes, one per violation, each naming the change — the
target resolution or compression for a size violation, the corrected name for a
naming violation, the target format for a format violation]

## Verdict: [NOT ASSESSED / COMPLIANT / WARNINGS / NON-COMPLIANT]

Choose the verdict by the findings, first match wins:

  • NON-COMPLIANT — any size violation, or any asset that code references but that does not exist
  • WARNINGS — only naming, format or orphaned-asset findings
  • NOT ASSESSED — the audit did not cover its scope: no data at all (the path above), zero assets scanned, or any section NOT ASSESSED — name which. It ranks below the two finding verdicts, because a measured violation is more actionable than a gap, and above COMPLIANT
  • COMPLIANT — at least one asset scanned, every section assessed, no findings

This skill is read-only — it produces a report but does not write files.


Phase 5: Next Steps

  • Fix naming violations using the Phase 3 patterns (or the art bible's, where it states its own).
  • If standards were missing, run /art-bible to write its Asset Standards section.
  • Delete confirmed orphaned assets after manual review.
  • Run /content-audit to cross-check asset counts against GDD-specified requirements.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.