create-scene
Create a New Decentraland SDK7 Scene
Runtime constraint: Decentraland runs in a QuickJS sandbox. No Node.js APIs (
fs,http,path,process). Use the SDK'sexecuteTask()+fetch()for async work. See the scene-runtime skill for details.
CRITICAL — read before generating any code: All initial scene entities (everything present at scene load) go in
assets/scene/main.composite, NEVER insrc/index.ts. See "Composite vs TypeScript — where entities go" (Step 4) for the rule, decision table, and rationale.
When the user wants to create a new scene, follow these steps:
1. Ask What They Want to Build
If the user hasn't described their scene, ask them:
- What kind of scene? (gallery, game, social space, interactive art, etc.)
- How many parcels? (default: 1 parcel = 16x16m)
- Any specific features? (3D models, interactivity, UI, multiplayer)
2. Scaffold the Project with /init
Always run /init first. This uses the official @dcl/sdk-commands init to create scene.json, package.json, tsconfig.json, and src/index.ts with the correct, up-to-date configuration, and installs dependencies automatically.