{"data":{"slug":"github-donchitos-claude-code-game-studios-claude-skills-asset-spec-02950e609af7","title":"Generate Visual Specs for Game Assets","summary":"Create detailed visual specs for game assets using GDDs, character profiles, and art bibles. Supports entity, level, and character specs. Requires an art bible and user confirmation of the asset list before generating specs.","url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-asset-spec-02950e609af7","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-donchitos-claude-code-game-studios-claude-skills-asset-spec-02950e609af7","markdown_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-asset-spec-02950e609af7.md","download_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-asset-spec-02950e609af7\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"The process requires an art bible to be present and validated before generating specs. If the art bible is missing, the system will prompt the user to run `\/art-bible` first. Additionally, the user must confirm the asset list before proceeding to Phase 3.","instructions":"---\nname: asset-spec\ndescription: \"Per-asset visual specs plus AI generation prompts from GDDs and character profiles. After the art bible.\"\nargument-hint: \"[system:<name> | level:<name> | character:<name>] [--review full|lean|solo]\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Write, Edit, Agent, AskUserQuestion, Bash(bash \"*\/.claude\/skills\/asset-spec\/..\/..\/hooks\/yaml-helper.sh\" resolve_config *)\nmodel: sonnet\n---\n\n!`bash \"${CLAUDE_SKILL_DIR}\/..\/..\/hooks\/yaml-helper.sh\" resolve_config --keys review_mode,automation`\n\n# Asset Spec\n\n\n\nIf no argument is provided, check whether `design\/assets\/entity-inventory.md` exists:\n- If it exists: read it, find the first entity or screen with status \"Needed\" but no spec file yet, and use `AskUserQuestion`:\n  - Prompt: \"The next unspecced item is **[name]**. Generate specs for it?\"\n  - Options: `[A] Yes \u2014 spec [name]` \/ `[B] Pick a different item` \/ `[C] Stop here`\n- If no entity inventory: check `design\/assets\/asset-manifest.md`. If manifest exists, same flow above but reading from manifest.\n- If neither exists: **start the Entity & Screen Inventory flow** (Phase 0b below) rather than failing.\n\n---\n\nEvery `AskUserQuestion` call follows `.claude\/docs\/automation-modes.md`\n(collaborative asks always \u00b7 guided major-only \u00b7 autonomous logs and proceeds;\n`automation_always_ask` categories always prompt). **Note**: actually invoking an external image\ngenerator (calling an image API) always prompts regardless of\n`modes.automation` \u2014 it is an irreversible external action guarded\nunconditionally, independent of whether `external_calls` is listed in\n`automation_always_ask`. (Today this skill only emits generation-prompt\n*text*; the guard applies if live generation is ever wired in.)\n\n## Phase 0b: Entity & Screen Inventory (runs when no arguments and no existing inventory)\n\nThis flow produces `design\/assets\/entity-inventory.md` \u2014 the master list of everything\nthe game needs visually. Run once before asset spec work begins.\n\n### Step 1 \u2014 Gather from docs\nRead all available source material in parallel, each doc by section: find the\nheadings you need with the Grep tool (pattern `^#`, content mode) and Read those\nranges with offset and limit.\n- `design\/gdd\/systems-index.md` \u2014 extract every system listed\n- GDD asset content \u2014 do **not** full-read every GDD. The two wanted sections are\n  standard headings, and named entities live in the registry:\n  ```\n  Grep pattern=\"## (Visual\/Audio Requirements|UI Requirements)\" glob=\"design\/gdd\/*.md\" output_mode=\"content\" -A 25\n  ```\n  For named entities (characters, enemies, buildings, items), read\n  `design\/registry\/entities.yaml` (`entities`\/`items`) if it exists and has\n  entries; otherwise grep the GDDs for named content. Full-read a GDD only when\n  its Visual\/Audio section is missing or reads `[To be designed]` (Phase 1 already\n  handles that case). VFX events surface in the Visual\/Audio grep context.\n- `design\/art\/art-bible.md` \u2014 extract: any named visual categories, asset type expectations\n- `design\/narrative\/` \u2014 scan for any character or world entity documents if they exist (optional \u2014 not required)\n\n### Step 2 \u2014 Build proposed inventory\nOrganize everything found into categories:\n\n```\nCharacters \/ Protagonists\nEnemies \/ Creatures\nBuildings \/ Structures\nEnvironment \/ Terrain\nItems \/ Props\nVFX \/ Particles\nUI Screens (list each screen by name)\nHUD Elements\nAudio (SFX, music \u2014 descriptions only, no generation prompts)\nOther\n```\n\nFor each item, note the source doc it was found in.\n\n### Step 3 \u2014 Present and collaborate\nPresent the full proposed inventory to the user in conversation. Then use `AskUserQuestion`:\n- Prompt: \"I found **[N] visual entities and [N] UI screens** across your GDDs and art bible. Review the list \u2014 what's missing, what's not needed?\"\n- Options:\n  - `[A] Looks good \u2014 save this inventory`\n  - `[B] Add items I'll describe`\n  - `[C] Remove items that don't apply`\n  - `[D] Both add and remove \u2014 let me edit`\n\nIf [B] or [D]: ask the user to describe additional items. Accept brief descriptions (\"a medieval keep, used as a level background\") or detailed ones \u2014 either works. Work through them collaboratively until the user is satisfied.\n\nIf [C] or [D]: ask which items to remove and why. Remove them from the list.\n\n### Step 4 \u2014 Write inventory\nAfter user approval, ask: \"May I write the entity inventory to `design\/assets\/entity-inventory.md`?\"\n\nWrite the file:\n\n```markdown\n# Visual Entity & Screen Inventory\n\n> Generated: [date]\n> Sources: [list of source docs read]\n\n## Entities\n\n| # | Name | Type | Description | Source | Status |\n|---|------|------|-------------|--------|--------|\n| 1 | [name] | Character \/ Enemy \/ Building \/ Environment \/ Item \/ Other | [brief description] | [source doc] | Needed |\n\n## UI Screens\n\n| # | Screen Name | Description | Source | Status |\n|---|-------------|-------------|--------|--------|\n| 1 | Main Menu | [description] | [source] | Needed |\n\n## HUD Elements\n\n| # | Element | Description | Source | Status |\n|---|---------|-------------|--------|--------|\n\n## Audio\n\n| # | Name | Type (SFX \/ Music \/ Ambient) | Description | Source | Status |\n|---|------|------------------------------|-------------|--------|--------|\n```\n\nAfter writing, tell the user:\n> \"Entity inventory saved. Next steps:\n> - Run `\/ux-design [screen name]` for each UI screen in the inventory\n> - Run `\/asset-spec system:[name]`, `level:[name]` or `character:[name]` for each\n>   visual entity \u2014 whichever of the three the entity belongs to\n> - Or run `\/asset-spec` again to work through the inventory one item at a time\"\n\n---\n\n## Phase 0: Parse Arguments\n\nExtract:\n- **Target type**: `system`, `level`, or `character`\n- **Target name**: the name after the colon (normalize to kebab-case)\n- **Review mode**: `--review [full|lean|solo]` if present\n\nThe effective mode is the one already resolved at the top of this skill via\n`resolve_config --keys review_mode`, which applies the full chain; with nothing\nset it follows `modes.rigor` \u2014 `solo` at `minimal` (the default), `lean` at\n`standard`, `full` at `full`. A `--review` argument overrides it for this\nrun only.\n\n**Mode behavior:**\n- `full`: spawn both `art-director` and `technical-artist` in parallel\n- `lean`: spawn `art-director` only \u2014 faster, skips technical constraint pass\n- `solo`: no agent spawning \u2014 main session writes specs from art bible rules alone. Use for simple asset categories or when speed matters more than depth.\n\n---\n\n## Phase 1: Gather Context\n\nRead all source material **before** asking the user anything. Read the art bible and\nthe GDD by section: find the headings you need with the Grep tool (pattern `^#`,\ncontent mode) and Read those ranges with offset and limit.\n\n### Required reads:\n- **Art bible**: Read `design\/art\/art-bible.md` \u2014 fail if missing:\n  > \"No art bible found. Run `\/art-bible` first \u2014 asset specs are anchored to the art bible's visual rules and asset standards.\"\n\n  **Exception \u2014 the minimal path.** If there is no art bible but\n  `design\/game-brief.md` exists (at `rigor: minimal` no art bible is required),\n  do not fail: anchor the specs in the brief's **Label** line (**Art & audio\n  direction** in older briefs),\n  and say so at the top of the output \u2014 \"Anchored to the brief's one-line art\n  direction; there is no art bible, so colour, shape and asset-standard rules\n  below are proposals, not constraints.\" Offer `\/art-bible` once, as optional.\n  The written spec follows the same anchor: its header reads\n  `> **Art direction**: design\/game-brief.md (Label) \u2014 no art bible`\n  in place of the `> **Art Bible**:` line, each asset carries\n  `**Brief anchor:** [the brief line applied]` in place of the **Art Bible\n  Anchors** block, and no spec cites an Art Bible section or \u00a78 tier.\n  Extract: Visual Identity Statement, Color System (semantic colors), Shape Language, Asset Standards (art bible Section 8 \u2014 dimensions, formats, polycount budgets, texture resolution tiers).\n\n- **Project config**: Read `performance.*` and `naming.*` from `project.yaml`; for any key absent or empty (including when `project.yaml` has no `performance` or `naming` block), fall back to `.claude\/docs\/technical-preferences.md`. Extract performance budgets and naming conventions.\n\n### Source doc reads (by target type):\n- **system**: Read `design\/gdd\/[target-name].md`. Extract the **Visual\/Audio Requirements** section. If it doesn't exist or reads `[To be designed]`:\n  > \"The Visual\/Audio section of `design\/gdd\/[target-name].md` is empty. Either run `\/design-system [target-name]` to complete the GDD, or describe the visual needs manually.\"\n  Use `AskUserQuestion`: `[A] Describe needs manually` \/ `[B] Stop \u2014 complete the GDD first`\n- **level**: Read `design\/levels\/[target-name].md`. Extract art requirements, asset list, VFX needs, and the art-director's production concept specs from Step 4.\n- **character** or **entity**: Read `design\/narrative\/characters\/[target-name].md` or search `design\/narrative\/` and `design\/assets\/entity-inventory.md` for a matching entry. Extract visual description, role, and any specified distinguishing features.\n  - **If no source doc exists**: do not fail. Instead, use `AskUserQuestion`:\n    - Prompt: \"No profile found for **[name]**. Describe it briefly \u2014 a sentence or two is enough.\"\n    - Options: `[A] Describe it now` \/ `[B] Skip this entity` \/ `[C] Stop here`\n    - If [A]: the user's description becomes the source. Brief answers produce concise specs; detailed answers produce detailed specs. Accept whatever level of detail the user provides and work from it.\n\n### Optional reads:\n- **This target's existing spec**: if `design\/assets\/specs\/[target-name]-assets.md` exists, read it \u2014 this is a re-run, and Phase 2 proposes only what is new or changed since (Phase 5 updates the file in place).\n- **Existing manifest**: Read `design\/assets\/asset-manifest.md` if it exists \u2014 extract already-specced assets for this target to avoid duplicates.\n- **Related specs**: Glob `design\/assets\/specs\/*.md` \u2014 scan for assets that could be shared (e.g., a common UI element specced for one system might apply here too).\n\n### Present context summary:\n> **Asset Spec: [Target Type] \u2014 [Target Name]**\n> - Source doc: [path] \u2014 [N] asset types identified\n> - Art bible: found \u2014 Asset Standards at Section 8\n> - Existing specs for this target: [N already specced \/ none]\n> - Shared assets found in other specs: [list or \"none\"]\n\n---\n\n## Phase 2: Asset Identification\n\nFrom the source doc, extract every asset type mentioned \u2014 explicit and implied.\n\n**For systems**: look for VFX events, sprite references, UI elements, audio triggers, particle effects, icon needs, and any \"visual feedback\" language.\n\n**For levels**: look for unique environment props, atmospheric VFX, lighting setups, ambient audio, skybox\/background, and any area-specific materials.\n\n**For characters**: look for sprite sheets (idle, walk, attack, death), portrait\/avatar, VFX attached to abilities, UI representation (icon, health bar skin).\n\nGroup assets into categories:\n- **Sprite \/ 2D Art** \u2014 character sprites, UI icons, tile sheets\n- **VFX \/ Particles** \u2014 hit effects, ambient particles, screen effects\n- **Environment** \u2014 props, tiles, backgrounds, skyboxes\n- **UI** \u2014 HUD elements, menu art, fonts (if custom)\n- **Audio** \u2014 SFX, music tracks, ambient loops *(note: audio specs are descriptions only \u2014 no generation prompts)*\n- **3D Assets** \u2014 meshes, materials (if applicable per engine)\n\nPresent the full identified list to the user. Use `AskUserQuestion`:\n- Prompt: \"I identified [N] assets across [N] categories for **[target]**. Review before speccing:\"\n- Show the grouped list in conversation text first\n- Options: `[A] Proceed \u2014 spec all of these` \/ `[B] Remove some assets` \/ `[C] Add assets I didn't catch` \/ `[D] Adjust categories`\n\nDo not proceed to Phase 3 without user confirmation of the asset list.\n\n---\n\n## Phase 3: Spec Generation\n\nSpawn specialist agents based on review mode. **Issue all `Agent` calls simultaneously \u2014 do not wait for one before starting the next.**\n\n### Full mode \u2014 spawn in parallel:\n\n**`art-director`** via `Agent`:\n- Provide: full asset list from Phase 2, art bible Visual Identity Statement, Color System, Shape Language, the source doc's visual requirements, and any reference games\/art mentioned in the art bible Section 9\n- Ask: \"For each asset in this list, produce: (1) a 2\u20133 sentence visual description anchored to the art bible's shape language and color system \u2014 be specific enough that two different artists would produce consistent results; (2) a generation prompt ready for use with AI image tools (Midjourney\/Stable Diffusion style \u2014 include style keywords, composition, color palette anchors, negative prompts); (3) which art bible rules directly govern this asset (cite by section). For audio assets, describe the sonic character instead of a generation prompt.\"\n\n**`technical-artist`** via `Agent`:\n- Provide: full asset list, art bible Asset Standards (Section 8), performance budgets (`performance.*` from `project.yaml`, else `technical-preferences.md`), engine name and version\n- Ask: \"For each asset in this list, specify: (1) exact dimensions or polycount (match the art bible Asset Standards tiers \u2014 do not invent new sizes); (2) file format and export settings; (3) naming convention (`naming.*` from `project.yaml`, else `technical-preferences.md`); (4) any engine-specific constraints this asset type must respect; (5) LOD requirements if applicable. Flag any asset type where the art bible's preferred standard conflicts with the engine's constraints.\"\n\n### Lean mode \u2014 spawn art-director only (skip technical-artist).\n\n### Solo mode \u2014 skip both. Derive specs from art bible rules alone, noting that technical constraints were not validated.\n\n**Announce every skipped agent by name in the output**, before the specs:\n\"technical-artist skipped \u2014 Lean mode: technical constraints not validated.\" \/\n\"art-director and technical-artist skipped \u2014 Solo mode: specs derived in this\nsession; technical constraints not validated.\" A spec drafted without an agent\nmust not read like one an agent reviewed.\n\n**Collect both responses before Phase 4.** If any conflict exists between art-director and technical-artist (e.g., art-director specifies 4K textures but technical-artist flags the engine budget requires 512px), surface it explicitly \u2014 do not silently resolve.\n\n---\n\n## Phase 4: Compile and Review\n\nCombine the agent outputs into a draft spec per asset. Present all specs in conversation text using this format:\n\n```\n## ASSET-[NNN] \u2014 [Asset Name]\n\n| Field | Value |\n|-------|-------|\n| Category | [Sprite \/ VFX \/ Environment \/ UI \/ Audio \/ 3D] |\n| Dimensions | [e.g. 256\u00d7256px, 4-frame sprite sheet] |\n| Format | [PNG \/ SVG \/ WAV \/ etc.] |\n| Naming | [e.g. vfx_frost_hit_01.png] |\n| Polycount | [if 3D \u2014 e.g. <800 tris] |\n| Texture Res | [e.g. 512px \u2014 matches Art Bible \u00a78 Tier 2] |\n\n**Visual Description:**\n[2\u20133 sentences. Specific enough for two artists to produce consistent results.]\n\n**Art Bible Anchors:**\n- \u00a73 Shape Language: [relevant rule applied]\n- \u00a74 Color System: [color role \u2014 e.g. \"uses Threat Blue per semantic color rules\"]\n\n**Generation Prompt:**\n[Ready-to-use prompt. Include: style keywords, composition notes, color palette anchors, lighting direction, negative prompts.]\n\n**Status:** Needed\n```\n\nAfter presenting all specs, use `AskUserQuestion`:\n- Prompt: \"Asset specs for **[target]** \u2014 [N] assets. Review complete?\"\n- Options: `[A] Approve all \u2014 write to file` \/ `[B] Revise a specific asset` \/ `[C] Regenerate with different direction`\n\nIf [B]: ask which asset and what to change. Revise inline and re-present. Do not re-spawn agents for minor text revisions \u2014 only re-spawn if the visual direction itself needs to change.\n\nIf [C]: ask what direction to change. Re-spawn the relevant agent with the updated brief.\n\n---\n\n## Phase 5: Write Spec File\n\nAfter approval, ask: \"May I write the spec to `design\/assets\/specs\/[target-name]-assets.md`?\"\n\n**If that file already exists** (a re-run for the same target), update it in\nplace \u2014 never overwrite it wholesale. Keep its existing `ASSET-NNN` blocks and\nIDs, apply only the changes the user approved, and append new assets with the\nnext project-wide IDs. Show what changes, then ask \"May I update\n`design\/assets\/specs\/[target-name]-assets.md`?\" instead of \"May I write\".\n\nWrite the file with:\n\n```markdown\n# Asset Specs \u2014 [Target Type]: [Target Name]\n\n> **Source**: [path to source GDD\/level\/character doc]\n> **Art Bible**: design\/art\/art-bible.md\n> **Generated**: [date]\n> **Status**: [N] assets specced \/ [N] approved \/ [N] in production \/ [N] done\n\n[all asset specs in ASSET-NNN format]\n```\n\nThen update `design\/assets\/asset-manifest.md`. If it doesn't exist, create it:\n\n```markdown\n# Asset Manifest\n\n> Last updated: [date]\n\n## Progress Summary\n\n| Total | Needed | In Progress | Done | Approved |\n|-------|--------|-------------|------|----------|\n| [N] | [N] | [N] | [N] | [N] |\n\n## Assets by Context\n\n### [Target Type]: [Target Name]\n| Asset ID | Name | Category | Status | Spec File |\n|----------|------|----------|--------|-----------|\n| ASSET-001 | [name] | [category] | Needed | design\/assets\/specs\/[target]-assets.md |\n```\n\nIf the manifest already exists, append the new context block \u2014 on a re-run for this target, add the new rows to its existing block instead of appending a second one \u2014 and update the Progress Summary counts.\n\nAsk: \"May I update `design\/assets\/asset-manifest.md`?\"\n\n---\n\n## Phase 6: Close\n\nUse `AskUserQuestion`:\n- Prompt: \"Asset specs complete for **[target]**. What's next?\"\n- Options:\n  - `[A] Spec another system \u2014 \/asset-spec system:[next-system]`\n  - `[B] Spec a level \u2014 \/asset-spec level:[level-name]`\n  - `[C] Spec a character \u2014 \/asset-spec character:[character-name]`\n  - `[D] Run \/asset-audit \u2014 validate delivered assets against specs`\n  - `[E] Stop here`\n\n---\n\n## Asset ID Assignment\n\nAsset IDs are assigned sequentially across the entire project \u2014 not per-context. Read the manifest before assigning IDs to find the current highest number:\n\n```\nGrep pattern=\"ASSET-\" path=\"design\/assets\/asset-manifest.md\"\n```\n\nStart new assets from `ASSET-[highest + 1]`. This ensures IDs are stable and unique across the whole project.\n\nIf no manifest exists yet, start from `ASSET-001`.\n\n---\n\n## Shared Asset Protocol\n\nBefore speccing an asset, check if an equivalent already exists in another context's spec:\n\n- Common UI elements (health bars, score displays) are often shared across systems\n- Generic environment props may appear in multiple levels\n- Character VFX (hit sparks, death effects) may reuse a base spec with color variants\n\nIf a match is found: reference the existing ASSET-ID rather than creating a duplicate. Note the shared usage in the manifest's referenced-by column.\n\n> \"ASSET-012 (Generic Hit Spark) already specced for Combat system. Reusing for Tower Defense \u2014 adding tower-defense to referenced-by.\"\n\n---\n\n## Error Recovery Protocol\n\nIf any spawned agent returns BLOCKED or cannot complete:\n\n1. Surface immediately: \"[AgentName]: BLOCKED \u2014 [reason]\"\n2. In `lean` mode or if `technical-artist` blocks: proceed with art-director output only \u2014 note that technical constraints were not validated\n3. In `solo` mode or if `art-director` blocks: derive descriptions from art bible rules \u2014 flag as \"Art director not consulted \u2014 verify against art bible before production\"\n4. Always produce a partial spec \u2014 never discard work because one agent blocked\n\n---\n\n## Collaborative Protocol\n\n**Applies in `collaborative` mode (the default).** For `guided` and\n`autonomous` modes, see `.claude\/docs\/automation-modes.md` \u2014 the rules below\ndescribe what collaborative mode requires, not universal behavior.\n\nEvery phase follows: **Identify \u2192 Confirm \u2192 Generate \u2192 Review \u2192 Approve \u2192 Write**\n\n- Never spec assets without first confirming the asset list with the user\n- Always anchor specs to the art bible \u2014 a spec that contradicts the art bible is wrong\n- Surface all agent disagreements \u2014 do not silently pick one\n- Write the spec file only after explicit approval\n- Update the manifest immediately after writing the spec\n\n---\n\n## Recommended Next Steps\n\n- Run `\/asset-spec [next-context]` to continue speccing remaining systems, levels, or characters\n- Run `\/asset-audit` to validate delivered assets against the written specs and identify gaps or mismatches\n","use_cases":["Generate specs for a new character based on GDD and art bible","Create visual specs for a level based on system requirements","Generate UI screen specs for a game menu"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Donchitos\/Claude-Code-Game-Studios\/blob\/abc0de79d6ceb0b5d7aa693945849b3937afbe6a\/.claude\/skills\/asset-spec\/SKILL.md","source_commit":"abc0de79d6ceb0b5d7aa693945849b3937afbe6a","license":null,"version":null,"listing_approved_at":"2026-11-18","created_at":"2026-11-16T19:52:31.000000Z","updated_at":"2026-11-18T07:35:05.000000Z","seo_title":"Generate Game Asset Visual Specs","seo_description":"Create detailed visual specs for game assets using GDDs, character profiles, and art bibles. Supports entity, level, and character specs. Requires an art bible and user-","seo_keywords":["game asset specs","visual spec generation","game design specs","character visual specs","level visual specs"]}}