oliyflemishspeaking560/threejs-game-skills/threejs-image-generator
Claude Code and agent skill by oliyflemishspeaking560/threejs-game-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate and edit 2D image assets for Three.js games using Google's Gemini image API. Use for concept sheets, image-to-3D inputs, texture references, sky/background plates, decals, logos, icons, GUI art, title/menu art, thumbnails, marketing stills, and source images that feed threejs-3d-generator. Also use for direct image editing when the user provides an image path.
Install
npx vskill@latest install oliyflemishspeaking560/threejs-game-skills/threejs-image-generatorSKILL.md
The same SKILL.md was published earlier as oliyflemishspeaking560/threejs-game-skills/threejs-image-generator.
Three.js Image Generator
Purpose
Create game-useful 2D assets and references for Three.js projects. This skill is the image-generation layer for the Three.js game system: it produces concepts, textures, decals, UI art, and 2D inputs that can be handed to threejs-3d-generator for image-to-3D model creation.
Provider: Google's Gemini image API.
When To Use
Use this skill before procedural-only fallback when a Three.js game needs:
- 2D-to-3D reference images for
threejs-3d-generator: characters, creatures, buildings, ships, cars, weapons, props, pickups, terrain modules. - Texture and material references: terrain, road, rock, sand, metal, sci-fi panels, trim sheets, decals, hazard labels, signs.
- Environment images: skies, backdrops, city horizons, nebula plates, menu backgrounds, parallax layers.
- UI art: logos, faction marks, icons, item cards, ability badges, cockpit decals, GUI panels, title art.
- Existing-image edits, style variants, cleanup, palette alignment, or concept sheet refinements.
For premium/AAA/showcase graphics work, generate at least one relevant image for high-value 2D surfaces or image-to-3D inputs unless the credential probe or a real generation attempt shows a blocker.
API Key
Never store API keys in skill files or browser/game code. The script checks:
--api-keyGEMINI_API_KEY
Before declaring the key unavailable in a threejs-game-director or threejs-aaa-graphics-builder workflow, run the director credential probe and paste its literal SET/MISSING output:
For Claude installs:
If the probe says GEMINI_API_KEY=SET but the script sees no key, run through a shell that sources the user's profile:
Tool Script
Run from the user's current project directory so output lands in the game project:
Claude install path:
Edit an existing image:
Resolution mapping:
1K: quick concepts, icons, draft sheets.2K: default production reference for image-to-3D, textures, backgrounds, UI panels.4K: hero splash/title art, high-detail texture references, large sky/background plates.
Prompt Patterns
Image-to-3D reference:
Riggable character/creature reference:
Texture/material reference:
Logo/icon/UI art:
Sky/background:
Three.js Integration Rules
- Save concepts and image-to-3D sources under
assets/concepts/. - Save textures, decals, icons, and GUI source images under
assets/textures/,assets/decals/, orassets/ui/. - For image-to-3D, hand the saved image path to
threejs-3d-generatorand record the chain in the external asset ledger. - Do not call the image API from client-side game code.
- Convert generated PNGs into runtime formats deliberately: PNG for alpha/UI, JPG/WebP/KTX2 for larger opaque textures where the project pipeline supports it.
- Verify how the image appears in game, not only that the file exists.
Required Report
Report:
- Credential probe output or command blocker.
- Prompt and purpose.
- Output path.
- Resolution.
- Whether the image was used directly, edited further, or handed to
threejs-3d-generator. - Any remaining integration work such as compression, UV assignment, alpha cleanup, or atlas packing.
Do not mark a premium graphics phase complete if the needed image outputs are missing and the only justification is "procedural is enough" for high-value UI, texture, sky, decal, logo, or image-to-3D surfaces.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/threejs-image-generator/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/oliyflemishspeaking560/threejs-game-skills/threejs-image-generator)