Перейти к содержанию
Skillpedia
Изображения и иконки33k · #8438

asset-audit

Что он делает

Этот скилл проверяет файлы изображений и аудио в игровом проекте. Он нужен командам, которые хотят поймать слишком тяжёлые, неправильно названные или неиспользуемые ассеты до того, как они создадут проблемы.

Когда использовать

  • ✓Когда вы хотите проверить, что имена ассетов соответствуют правилам проекта.
  • ✓Когда файлы могут превышать бюджет и вам нужно найти самые крупные из них.
  • ✓Когда вы подозреваете неиспользуемые или сломанные ссылки на ассеты в проекте.

Ссылка на скилл

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/asset-audit/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/asset-audit/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Проверь наши ассеты на проблемы с именами, слишком большие текстуры и всё, на что ничего не ссылается.”

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.

  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: 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 *.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, co
Частые вопросы

Он будет угадывать размеры файлов?

Нет. Если измерение нельзя провести, отчёт помечает его как не оценённое.

Что он проверяет?

Соглашения об именовании, бюджеты размера, размеры текстур, частоту дискретизации аудио и файлы без ссылок.

Он меняет файлы?

Он выдаёт отчёт о находках, а исправления — отдельный шаг.

Подробности

Оригинальное описание автора

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

repo: Donchitos/Claude-Code-Game-Studios

Популярность

Звёзды на GitHub
33k
Место в рейтинге
#8438
Лицензия
MIT
Обновлён
18.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы