asset-spec
Skill này làm gì
Skill này tạo một đặc tả bằng văn bản cho từng tài nguyên thị giác trong game. Skill dành cho nhóm nghệ thuật và họa sĩ cần hướng dẫn rõ ràng cho từng nhân vật, màn hình hoặc vật phẩm.
Khi nào nên dùng
- ✓Khi một thực thể hoặc màn hình trong game cần đặc tả thị giác trước khi được vẽ.
- ✓Khi bạn muốn các prompt hình ảnh AI khớp với art bible.
- ✓Khi danh sách tài nguyên có các mục vẫn cần đặc tả.
Liên kết skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/asset-spec/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
“Viết đặc tả thị giác và prompt hình ảnh cho tệp hoạt ảnh đứng yên của nhân vật chính.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đọc danh mục thực thể hoặc manifest tài nguyên và tìm mục tiếp theo chưa có đặc tả. Sau đó nó viết một đặc tả tuân theo art bible và có kèm prompt tạo ảnh cho mục đó.
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.
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,automation
Asset Spec
If no argument is provided, check whether design/assets/entity-inventory.md exists:
- If it exists: read it, find the first entity or screen with status "Needed" but no spec file yet, and use
AskUserQuestion:- Prompt: "The next unspecced item is [name]. Generate specs for it?"
- Options:
[A] Yes — spec [name]/[B] Pick a different item/[C] Stop here
- If no entity inventory: check
design/assets/asset-manifest.md. If manifest exists, same flow above but reading from manifest. - If neither exists: start the Entity & Screen Inventory flow (Phase 0b below) rather than failing.
Every AskUserQuestion call follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt). Note: actually invoking an external image
generator (calling an image API) always prompts regardless of
modes.automation — it is an irreversible external action guarded
unconditionally, independent of whether external_calls is listed in
automation_always_ask. (Today this skill only emits generation-prompt
text; the guard applies if live generation is ever wired in.)
Phase 0b: Entity & Screen Inventory (runs when no arguments and no existing inventory)
This flow produces design/assets/entity-inventory.md — the master list of everything
the game needs visually. Run once before asset spec work begins.
Step 1 — Gather from docs
Read all available source material in parallel, each doc by section: find the
headings you need with the Grep tool (pattern ^#, content mode) and Read those
ranges with offset and limit.
design/gdd/systems-index.md— extract every system listed- GDD asset content — do not full-read every GDD. The two wanted sections are
standard headings, and named entities live in the registry:
For named entities (characters, enemies, buildings, items), readGrep pattern="## (Visual/Audio Requirements|UI Requirements)" glob="design/gdd/*.md" output_mode="content" -A 25design/registry/entities.yaml(entities/items) if it exists and has entries; otherwise grep the GDDs for named content. Full-read a GDD only when its Visual/Audio section is missing or reads[To be designed](Phase 1 already handles that case). VFX events surface in the Visual/Audio grep context. design/art/art-bible.md— extract: any named visual categories, asset type expectationsdesign/narrative/— scan for any character or world entity documents if they exist (optional — not required)
Step 2 — Build proposed inventory
Organize everything found into categories:
Characters / Protagonists
Enemies / Creatures
Buildings / Structures
Environment / Terrain
Items / Props
VFX / Particles
UI Screens (list each screen by name)
HUD Elements
Audio (SFX, music — descriptions only, no generation prompts)
Other
For each item, note the source doc it was found in.
Step 3 — Present and collaborate
Present the full proposed inventory to the user in conversation. Then use AskUserQuestion:
- Prompt: "I found [N] visual entities and [N] UI screens across your GDDs and art bible. Review the list — what's missing, what's not needed?"
- Options:
[A] Looks good — save this inventory[B] Add items I'll describe[C] Remove items that don't apply[D] Both add and remove — let me edit
If [B] or [D]: ask the user to describe additional items. Accept brief descriptions ("a medieval keep, used as a level background") or detailed ones — either works. Work through them collaboratively until the user is satisfied.
If [C] or [D]: ask which items to remove and why. Remove them from the list.
Step 4 — Write inventory
After user approval, ask: "May I write the entity inventory to design/assets/entity-inventory.md?"
Write the file:
# Visual Entity & Screen Inventory
> Generated: [date]
> Sources: [list of source docs read]
## Entities
| # | Name | Type | Description | Source | Status |
|---|------|------|-------------|--------|--------|
| 1 | [name] | Character / Enemy / Building / Environment / Item / Other | [brief description] | [source doc] | Needed |
## UI Screens
| # | Screen Name | Description | Source | Status |
|---|-------------|-------------|--------|--------|
| 1 | Main Menu | [description] | [source] |
Câu hỏi thường gặp
Nếu chưa có danh mục thì sao?
Nó bắt đầu một quy trình kiểm kê để liệt kê các thực thể và màn hình trước.
Nó có tạo ra hình ảnh không?
Nó viết văn bản prompt. Việc gọi một công cụ tạo ảnh là một hành động riêng, được bảo vệ bởi bước xác nhận.
Có cần art bible trước không?
Có. Art bible nên có trước, để các đặc tả tuân theo các quy tắc của nó.
Chi tiết
Mô tả gốc của tác giả
Per-asset visual specs plus AI generation prompts from GDDs and character profiles. After the art bible.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8439
- 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.