asset-audit
Skill này làm gì
Skill này kiểm toán các file hình ảnh và âm thanh trong một dự án game. Skill dành cho nhóm muốn phát hiện tài nguyên quá lớn, đặt tên sai hoặc không dùng trước khi chúng gây rắc rối.
Khi nào nên dùng
- ✓Khi bạn muốn kiểm tra tên tài nguyên có tuân theo quy tắc đặt tên của dự án không.
- ✓Khi dung lượng file có thể vượt ngân sách và bạn cần tìm các file lớn nhất.
- ✓Khi bạn nghi ngờ có tham chiếu tài nguyên không dùng hoặc bị hỏng trong dự án.
Liên kết skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/asset-audit/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm toán tài nguyên của chúng tôi xem có vấn đề đặt tên, kết cấu quá lớn hoặc file nào không ai tham chiếu không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill liệt kê các file tài nguyên và đo kích thước, kích thước điểm ảnh và tần số lấy mẫu bằng các lệnh chỉ đọc. Mọi phép đo không thể thực hiện được được đánh dấu là chưa được đánh giá, không được ước đoán.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có đoán dung lượng file không?
Không. Nếu không thể đo một chỉ số, báo cáo đánh dấu nó là chưa được đánh giá.
Nó tìm những gì?
Nó kiểm tra quy ước đặt tên, ngân sách dung lượng, kích thước kết cấu, tần số lấy mẫu âm thanh và các file mồ côi.
Nó có thay đổi file nào không?
Nó tạo ra một báo cáo các phát hiện, còn việc sửa là một bước riêng.
Chi tiết
Mô tả gốc của tác giả
Audit assets against naming conventions, file size budgets, format standards. Finds orphaned assets, missing references.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8438
- Giấy phép
- MIT
- Cập nhật
- 18/10/2026
Bình luận
- …
Thêm skill từ kho mã này
adopt
33kKiểm tra xem tài liệu của một dự án game hiện có có tuân theo định dạng của mẫu studio hay không, rồi viết một kế hoạch di chuyển có đánh số để sửa các khoảng trống.
architecture-decision
33kViết một bản ghi quyết định kiến trúc cho một lựa chọn kỹ thuật, gồm bối cảnh, các phương án thay thế và hệ quả, với xem xét từ các vai trò kỹ thuật phù hợp.
architecture-review
33kKiểm tra các quyết định kỹ thuật của bạn có bao phủ mọi yêu cầu thiết kế, không mâu thuẫn và phù hợp với phiên bản động cơ, với kết luận đạt hoặc có mối lo ngại rõ ràng.
art-bible
33kViết một art bible xác định bản sắc thị giác của game, để việc sản xuất tài nguyên tuân theo một bộ quy tắc phong cách rõ ràng.
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.