asset-audit
Что он делает
Этот скилл проверяет файлы изображений и аудио в игровом проекте. Он нужен командам, которые хотят поймать слишком тяжёлые, неправильно названные или неиспользуемые ассеты до того, как они создадут проблемы.
Когда использовать
- ✓Когда вы хотите проверить, что имена ассетов соответствуют правилам проекта.
- ✓Когда файлы могут превышать бюджет и вам нужно найти самые крупные из них.
- ✓Когда вы подозреваете неиспользуемые или сломанные ссылки на ассеты в проекте.
Ссылка на скилл
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/asset-audit/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Проверь наши ассеты на проблемы с именами, слишком большие текстуры и всё, на что ничего не ссылается.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл составляет список файлов ассетов и измеряет их размеры, разрешение и частоту дискретизации, используя только команды для чтения. Любое измерение, которое нельзя выполнить, помечается как не оценённое, а не оценивается на глаз.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Asset Audit
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.
- List the inputs this skill reads (data files, prior reports, profiler output, test results, registries, source code).
- For each, record
FOUNDorABSENT— not "assumed present". - 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. - If every required input is ABSENT, stop and report
NOT ASSESSED — NO DATAas 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: a report whose verdict enum has no "could not run" state produces
false clean passes — an asset audit returning COMPLIANT on a project with no
assets and no standards, or 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. Read the art bible by section: find the heading with
the Grep tool (pattern ^#, content mode) and Read that range with offset
and limit.
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*.metafiles - Unreal —
Content/**/*.uassetandContent/**/*.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, co
Частые вопросы
Он будет угадывать размеры файлов?
Нет. Если измерение нельзя провести, отчёт помечает его как не оценённое.
Что он проверяет?
Соглашения об именовании, бюджеты размера, размеры текстур, частоту дискретизации аудио и файлы без ссылок.
Он меняет файлы?
Он выдаёт отчёт о находках, а исправления — отдельный шаг.
Подробности
Оригинальное описание автора
Audit assets against naming conventions, file size budgets, format standards. Finds orphaned assets, missing references.
Популярность
- Звёзды на GitHub
- 33k
- Место в рейтинге
- #8438
- Лицензия
- MIT
- Обновлён
- 18.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
adopt
33kПроверяет, соответствуют ли документы игрового проекта шаблону студии, и пишет пронумерованный план миграции для устранения пробелов.
architecture-decision
33kЗаписывает архитектурное решение по техническому выбору: контекст, альтернативы и последствия, с проверкой нужными техническими ролями.
architecture-review
33kПроверяет, что технические решения покрывают все требования дизайна, не конфликтуют между собой и подходят версии движка, и выдаёт понятный вердикт.
art-bible
33kПишет арт-библию, которая определяет визуальную идентичность игры, чтобы создание ассетов следовало одному понятному набору правил стиля.
Похожие скиллы
gifgrep
394kПозволяет агенту искать GIF-анимации, просматривать результаты, скачивать GIF и вытаскивать отдельный кадр или таблицу кадров.
meme-maker
394kПозволяет агенту выбрать шаблон мема, добавить свои подписи и создать мем в виде изображения SVG или PNG.
ios-icon-gen
280kАгент генерирует иконки для приложений iOS из символов Apple или других источников и создаёт нужные файлы.