vibegameengine/web-starter-kit/threejs-scene-authoring
Claude Code and agent skill by vibegameengine/web-starter-kit
- community
Checking that the SKILL.md file is still in the repository.
How to BUILD / lay out Three.js / react-three-fiber scenes in this project. MANDATORY whenever placing, composing, arranging, or "dressing" scene geometry — buildings, props, trees/cones, ruins, terrain features, colored figures, level layout, greybox/blockout. Enforces the project's absolute rule (AGENTS.md #3): scenes are ALWAYS authored by hand — no RNG scatter, no seeded generators, no `range()`/random placement, no "spawn N from a loop to fill space". Every element is placed deliberately to serve a composition/reference, and EVERY step is confirmed with a headed (visible-window) screenshot before moving on. Trigger on: "build the scene", "lay out", "place", "arrange", "compose", "match the reference", "dress the set", "add buildings/trees/props", "the scene looks…", scene/level construction of any kind. Pairs with threejs-instancing-materials (draw calls) and threejs-scene-architecture (frame cost / static-dynamic).
Install
npx vskill@latest install vibegameengine/web-starter-kit/threejs-scene-authoringSKILL.md
The same SKILL.md was published earlier as vibegameengine/web-starter-kit/threejs-scene-authoring.
Scene authoring — hand-placed, reference-driven, visually verified
Absolute rule (AGENTS.md #3): never build a scene procedurally. No makeRng, no range(lo,hi) positions, no for loop that scatters objects to "fill" an area. A random scatter looks random — flat, characterless, accidental. Authored scenes read as designed: every block, cone and ruin is where it is for a reason. This is the difference between a tech demo and a place.
The loop (do this for every element or small group)
- Look at the reference. Name what you see as discrete elements and their
ROLE: focal point, framing mass, midground cluster, foreground detail, negative space. Note the mood (light, haze, grain, palette).
- Decide placement in words first. "The ruined colonnade is the hero — dead
centre, mid-depth, catching the key light. Two tall building masses frame left and right, stepping down toward the back into haze. A loose row of cones leads the eye in from the left foreground. The centre-front stays open." Only then write coordinates.
- Write explicit, named data. A hand-authored array with a commented entry
per object — position/rotation/scale picked on purpose. NOT a generator.
- Screenshot (headed) and LOOK. Run the headed capture (below). Actually
open the image and judge it against the reference. Do not proceed on a typecheck — a scene that compiles can look wrong.
- Adjust and re-shoot until that element reads right, then move to the next.
100% visual confirmation of every step — no "probably fine".
Authored data, not generators
Variation is still good — buildings differ in height, cones in scale — but it is chosen variation, not Math.random(). If you want a stepped skyline, write the steps.
Composition checklist (judge every screenshot against this)
- One clear focal point, and the frame leads to it. Here: the colonnade.
- Framing — masses at the edges push the eye inward; the frame doesn't leak.
- Depth in layers — distinct foreground / midground / background, separated by
overlap, scale falloff and haze — not one flat wall of blocks.
- Deliberate negative space — the open foreground is a choice, kept clear.
- Rhythm, not noise — clusters and gaps read as intentional grouping.
- Silhouette reads — every key shape is legible against what's behind it.
- Nothing blocks the camera or the focal point by accident.
Headed visual confirmation (required, not optional)
Verification is a headed browser (AGENTS.md #1: headless is banned, headed is fine). Run the dev server, then capture with Playwright headless: false:
scripts/shot.mjs launches a VISIBLE Chromium window, waits for warmup, hides the r3f-perf panel (p), and screenshots the canvas. Then Read the PNG and look at it — that is the verification, not the fact that it saved.
Still keep draw calls sane
Hand-authored ≠ one <mesh> per object. Author the DATA by hand, then render repeats through instancing (see threejs-instancing-materials): map your explicit BUILDINGS array into <Instances>/<Instance>. Deliberate layout and a low draw-call count are not in tension — the array is authored, the rendering is batched.
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 repositoryCheckingagents/skills/threejs-scene-authoring/SKILL.md
Popularity
- Repository stars
- 117
- Repository forks
- 22
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. 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/vibegameengine/web-starter-kit/threejs-scene-authoring)