asset-audit
できること
このスキルは、ゲームプロジェクトの画像や音声のファイルを監査します。サイズが大きすぎたり、名前が不適切だったり、使われていないアセットを問題になる前に見つけたいチーム向けです。
使う場面
- ✓アセット名がプロジェクトの命名規則に従っているか確認したいとき。
- ✓ファイルサイズが予算を超えているかもしれず、大きいファイルを見つけたいとき。
- ✓プロジェクト内に使われていないアセットや壊れた参照があるかもしれないと思うとき。
スキルのリンク
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/asset-audit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“アセットを監査して、命名の問題、大きすぎるテクスチャ、どこからも参照されていないものを見つけてください。”
毎週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
- 更新日
- 2026/10/18
コメント
- …
このリポジトリの他のスキル
adopt
33k既存のゲームプロジェクトの文書がスタジオのテンプレートの形式に従っているか確認し、ギャップを直すための番号付きの移行計画を書きます。
architecture-decision
33k技術的な選択についてアーキテクチャの判断記録を書き、背景、代替案、影響を記載し、適切な技術の役割によるレビューを受けます。
architecture-review
33k技術的な判断がすべての設計要件を満たし、互いに矛盾せず、エンジンのバージョンに合うかを確認し、明確な合格または懸念の判定を出します。
art-bible
33kゲームのビジュアルのアイデンティティを定義するアートバイブルを書き、アセット制作が一つの明確なスタイルのルールに従うようにします。