Langsung ke konten
Skillpedia
Gambar & ikon33k Β· #8438

asset-audit

Fungsinya

Skill ini mengaudit file seni dan audio dalam proyek game. Cocok untuk tim yang ingin menangkap aset yang terlalu besar, salah nama, atau tidak terpakai sebelum menimbulkan masalah.

Kapan dipakai

  • βœ“Saat Anda ingin memastikan nama aset mengikuti aturan penamaan proyek.
  • βœ“Saat ukuran file mungkin melebihi anggaran dan Anda perlu mencari file terbesar.
  • βœ“Saat Anda menduga ada referensi aset yang tidak terpakai atau rusak dalam proyek.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/asset-audit/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œAudit aset kami untuk masalah penamaan, tekstur yang terlalu besar, dan apa pun yang tidak direferensikan oleh apa pun.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill mencantumkan file aset dan mengukur ukuran, dimensi, dan sample rate dengan perintah hanya-baca. Pengukuran yang tidak bisa dilakukan ditandai belum dinilai, bukan ditebak.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apakah ia akan menebak ukuran file?

Tidak. Jika suatu pengukuran tidak bisa dilakukan, laporan menandainya sebagai belum dinilai.

Apa yang dicarinya?

Skill memeriksa konvensi penamaan, anggaran ukuran, dimensi tekstur, sample rate audio, dan file yatim.

Apakah skill ini mengubah file?

Skill menghasilkan laporan temuan, dan perbaikan apa pun merupakan langkah terpisah.

Detail

Deskripsi asli dari pembuat

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

repo: Donchitos/Claude-Code-Game-Studios

Popularitas

Bintang GitHub
33k
Peringkat
#8438
Lisensi
MIT
Diperbarui
18/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa