Tooluck logoTooluck
SKILL.md

threejs-image-generator

Agent skill frommajidmanzarpour/threejs-game-skills

Generate and edit 2D image assets for Three.js games with Google's Gemini image API: concept sheets, image-to-3D inputs, texture and material references, sky and background plates, decals, logos, icons, GUI art, title and menu art, and marketing stills. Also use for direct image editing when the user supplies an image path.

How to install threejs-image-generator

install threejs-image-generator
# install the threejs-game-skills pack with the skills CLI
npx skills add majidmanzarpour/threejs-game-skills

# or add only this skill to Claude Code: copy the folder

skills/threejs-image-generator/

# into

~/.claude/skills/threejs-image-generator/ (all projects)

.claude/skills/threejs-image-generator/ (one project)

skills/threejs-image-generator/SKILL.md

MITFull file
1# Three.js Image Generator
2
3The 2D layer for Three.js games: concepts, textures, decals, UI art, and the source images that feed `threejs-3d-generator` for image-to-3D.
4
5Resolve `<this-skill-dir>` from the actual loaded skill file. Resolve sibling skills beside it first, then use the runner's discovered paths. Do not mix installed versions or assume a particular home directory.
6
7## When to use
8
9- Image-to-3D references: characters, creatures, buildings, ships, cars, weapons, props, pickups, terrain modules.
10- Texture and material references: terrain, road, rock, sand, metal, sci-fi panels, trim sheets, decals, hazard labels, signs.
11- Environment plates: skies, backdrops, city horizons, nebulas, menu backgrounds, parallax layers.
12- UI art: logos, faction marks, icons, item cards, ability badges, cockpit decals, GUI panels, title art.
13- Editing an existing image: style variants, cleanup, palette alignment, concept refinement.
14
15For premium graphics work with generation in scope, generate the high-value 2D surfaces rather than defaulting to hand-coded CSS and flat colors. Respect explicitly procedural art and external-service restrictions. Choose assets from the game's design, not a fixed quota of logos, skies, or icons.
16
17## API key
18
19The script reads `--api-key` or `GEMINI_API_KEY`. Keys never go in skill files, game code, or reports.
20
21```bash
22uv run <this-skill-dir>/scripts/generate_image.py probe # GEMINI_API_KEY=SET|MISSING
23```
24…

Excerpt shown under the repository's MIT license.

More skills in threejs-game-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Leonxlnx /

taste-skill
113k

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

CCCXCU1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates