Threejs World Design: Install, Source and Security

Threejs World Design

Published by mjclavillas in roblox-3d-design-skills

No known issues11 installs

What this skill does

Design and build 3D worlds, environments, terrain, modular maps, and image-matched scenes with Three.js exports and Blender-compatible GLB assets. Use for world composition, explorable scenes, environment reconstruction, and integration of Blender rigs and animation. For a single Roblox character or prop, prefer roblox-3d-asset-forge.

Add Threejs World Design to your agent

Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.

Install with a prompt

Paste this into a compatible coding agent:

add this skill "threejs-world-design" from https://github.com/mjclavillas/roblox-3d-design-skills

Install with the CLI

Run this command in a controlled environment after reviewing the repository:

npx skills add https://github.com/mjclavillas/roblox-3d-design-skills --skill threejs-world-design

Skill instructions

Three.js World Design

Build an actual navigable 3D scene with a deliberate composition, usable scale, and editable exports. Three.js is the primary runtime and delivery format; Blender supports modeling, rigging, skinning, and animation. Instructions alone, a screenshot, or a concept image do not count as a built world.

Delivery contract

Unless the user specifies otherwise, deliver:

  • A runnable Three.js project with source, pinned dependencies and lockfile, local asset paths, and exact install/run/build commands.
  • world.glb, containing the exportable scene and required animation clips, that loads in Three.js and imports into Blender. Supply separately exported animated assets when modular loading is appropriate and record their placements.
  • A scene manifest containing stable asset IDs, relative paths, transforms, units, camera settings, clip names, collision intent, and source-file mapping.
  • Editable .blend sources for assets authored in Blender. A Three.js JSON file is optional and never replaces the Blender-compatible GLB.
  • Actual preview captures, reference comparisons when an image is supplied, and a short validation report. Deliver only files that exist.

This is a workflow skill, not a bundled engine or converter. Inspect available tools and versions before promising a browser preview, Blender round trip, or Roblox import. Do not install unrelated services or publish a world as part of local export.

Choose the scope

Inspect the existing project and provided references. Identify the intended camera, movement style, world size, target devices, visual style, focal areas, and required animations. Use reasonable stated defaults for reversible choices; clarify only a missing decision that changes the result substantially.

For an individual rigged Roblox asset, use roblox-3d-asset-forge if available. For Roblox placement or gameplay integration, use available Studio tools and relevant Roblox skills; JavaScript does not run as Roblox gameplay code. If companion skills are absent, retain the export contract and report which target checks remain untested.

Reference matching

When an image is supplied, default to MATCH, not reinterpretation. Read reference-matching.md before constructing the scene. Preserve its visible composition, silhouette, proportions, layout, colors, and identifying details. Do not substitute a generic environment or use lighting polish to hide incorrect geometry.

Treat “identical” as the requested visible-view target. Aim for the closest demonstrated match and report remaining differences; never promise exact unseen geometry or pixel identity without evidence. Keep inferred sides and interiors distinct from observed features. Do not silently reduce a requested 3D world to a textured plane.

Design and build

  1. Write a compact world brief. Record landmarks, routes, boundaries, elevation changes, atmosphere, asset kit, scale, and camera. Separate walkable space, decoration, collision, and background scenery. Read world-composition.md for layout and environment decisions.
  2. Block out in Three.js. Establish the ground, dominant masses, focal landmark, navigation loop, and camera framing. Use a player-size proxy. Keep geometry coarse until scale and reference composition work. Preserve any supplied image's layout over generic composition heuristics.
  3. Build one representative area. Resolve a modular kit, material palette, lighting, and one animated object if requested. Review from the gameplay camera and reference camera before expanding across the map.
  4. Author detailed or deforming assets in Blender. Keep source models, export rigs, and previews separate. Read threejs-blender-export.md for axis conversion, bones, animation, and export boundaries.
  5. Assemble with stable IDs. Use reusable meshes and materials; instance compatible repeated static objects. Keep editable placement data outside opaque mesh exports. Use deliberate density and clear traversal routes instead of uniform random scattering.
  6. Implement only required interaction. Orbit/fly controls support inspection. A walkable-world claim requires player collision, ground contact, slopes/steps, and boundaries to be tested; an orbit camera is insufficient. Three.js rendering alone does not provide a physics controller.
  7. Measure at the intended view. Record target device/browser, viewport, resolution, frame timing, visible triangles, draw calls, and asset sizes when measured. Bound pixel ratio and shadow cost. Profile dense views and motion, not just an empty starting view. Browser results do not establish Roblox performance.
  8. Export and reload. Run the Three.js production build, load the exported GLB in a fresh viewer, and import it into a clean Blender scene when available. Compare transforms, materials, rig, and every required clip. Fix the source and repeat the affected export checks.

Acceptance and handoff

Report each applicable gate as PASS, FAIL, or NOT TESTED, with file paths or observations:

  • Reference fidelity: camera-matched comparison and specific remaining mismatches.
  • World design: scale, landmark readability, routes, boundaries, and traversal checks.
  • Three.js: project runs, production build loads assets, no unresolved loader errors, required interactions work.
  • Export: final GLB reloads, textures resolve, object hierarchy and placements survive.
  • Blender: actual import inspected, correct dimensions/orientation, bones and clip playback checked if present.
  • Animation: start/middle/end and loop seam inspected, deformation and independent animated copies checked.
  • Roblox, only if requested: actual Studio import and runtime checks, separately reported.

Provide launch commands and explain any manual steps. A file existing on disk proves only file creation, not successful import or animation. If a tool is unavailable, finish the accessible artifacts and state the exact untested steps without claiming completion of those gates.

Files included

  • agents/openai.yaml
  • LICENSE
  • references/reference-matching.md
  • references/threejs-blender-export.md
  • references/world-composition.md
  • SKILL.md

More skills