diff --git a/.claude/skills/asset-gen/SKILL.md b/.claude/skills/asset-gen/SKILL.md index d2f59fe..8aaaa2c 100644 --- a/.claude/skills/asset-gen/SKILL.md +++ b/.claude/skills/asset-gen/SKILL.md @@ -99,6 +99,38 @@ Use the stronger prompt pattern to keep the model on the coin base: If the model drifts (different edge style, wrong background), regenerate — the coin base consistency is critical for the set to look cohesive at 60x60. +## PNG Output Directory Structure + +Generated PNGs are saved under `~/Pictures/mcp-images/`. Mirror the mod's +`gfx/` directory structure so source PNGs are organized the same way as the +final DDS files: + +``` +~/Pictures/mcp-images/ + icons/modifiers/ → modifier icons (60x60) + icons/traits/ → trait icons (120x120) + icons/faith/ → faith icons (100x100) + icons/buildings/ → building icons (60x60) + icons/maa/ → MaA regiment icons (60x60) + icons/focuses/ → focus icons (140x140) + icons/schemes/ → scheme icons (120x120) + icons/casus_belli/ → casus belli icons (60x60) + illustrations/decisions/ → decision illustrations (1100x440) + event_backgrounds/ → event scene backgrounds (1592x848) + loading_screens/ → loading screens (3840x2160) + bookmarks/ → bookmark art (1920x1080) + frontend/ → frontend/menu art (3840x2160) + coat_of_arms/ → CoA emblems (128x128) + lifestyles/ → lifestyle strips, sidebars, perk trees +``` + +Use the `fileName` parameter with the subdirectory path (e.g., +`icons/modifiers/modifier_foo.png`) to save directly into the right location. +Do not save PNGs loose in the root `mcp-images/` directory. + +When regenerating an asset, overwrite the existing file — do not create +versioned copies (`_v2`, `_v3`, etc.). + ## DDS Conversion CK3 requires DDS format. After generating PNGs, convert using the format