Step 4 References & Assets Skill
Complete reference libraries for every character and location used in canon.
Required structure:
- •
projects/<project-id>/reference/characters/<CHAR_ID>/ - •
projects/<project-id>/reference/locations/<LOC_ID>/
Each reference folder should contain at least 3 images (.png/.jpg/.jpeg/.webp) and optional guide.json.
Execute
- •Read
bible/characters.jsonandbible/locations.json. - •Ensure each ID has a matching directory under
reference/charactersorreference/locations. - •Add at least 3 visual references per ID.
- •Add/update
guide.jsonwhere useful with invariants and allowed variation.
Completeness check
bash
project=default for d in "projects/$project/reference/characters"/* "projects/$project/reference/locations"/*; do [ -d "$d" ] || continue c=$(find "$d" -maxdepth 1 -type f \( -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.webp' \) | wc -l) echo "$d -> $c images" [ "$c" -ge 3 ] || exit 1 done
Step 4 is complete only when every canon character/location has populated references.