Skip to content
Back to skills

Babylonjs Build Scenes

ASecurity

Build Babylon.js engine, scene, asset-container and world lifecycles with explicit simulation and resource ownership.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
businessnodegitapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add TimothyMeadows/Hephaera --skill babylonjs-build-scenes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Babylonjs Build Scenes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Babylonjs Build Scenes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/timothymeadows-babylonjs-build-scenes/badge)](https://www.skillsdirectory.com/skills/timothymeadows-babylonjs-build-scenes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: babylonjs-build-scenes
description: Build Babylon.js engine, scene, asset-container and world lifecycles with explicit simulation and resource ownership.
engines: [BABYLONJS]
---

# Build Babylon.js Scenes

## When to use

Create game scenes, streamed environments or the Babylon engine/asset boundary.

## Engine and dependencies

Before edits or tool launches, run `resolve-engine.sh` and `resolve-skill.sh babylonjs-build-scenes`; require compatibility and honor task override scope. Read the locked Babylon package versions, engine contract, world conventions and budgets. Keep core/loaders/GUI packages compatible. Use project-hosted assets and decoders; do not install packages or introduce CDN globals implicitly.

## Workflow

1. Own `Engine` or selected `WebGPUEngine`, canvas, render loop and resize handling at the application boundary. Await required initialization, select backend capabilities explicitly and route context-loss/restoration failures visibly.
2. Give each `Scene` an enter/leave/dispose contract and active-camera policy. Map application entity IDs to nodes; meshes and observables must not become the only durable gameplay state. Avoid duplicate loops after remounts.
3. Register loaders and use the installed revision's asset-container API for independently owned bundles. Stage loaded containers before activation. Transition tokens reject stale asynchronous results; dispose abandoned bundles without touching retained shared assets.
4. Decide handedness, units, origin strategy, camera clipping and static/instanced/thin-instance use from actual content. Thin instances need an explicit index-to-entity mapping and update/bounds policy.
5. Keep save schemas and content IDs independent from scene serialization. A Babylon scene export can preserve authored presentation but does not automatically include application rules, AI state or migrations. For navigation, select the actual plugin/data source, coordinate conversion and movement adapter; never assume a navmesh or agent solver is included by selecting this skill.
6. Remove owned observable subscriptions; dispose containers, scenes and the owning engine at their distinct lifetime ends. Preserve reusable textures/materials until their final user is released.

## Output and verification

Deliver lifecycle and loading adapters, world identity rules and resource/budget evidence. Test failed imports, transition races, missing textures, multiple instances, repeated enter/exit and resize/visibility restoration. Record real browser/GPU behavior separately from state fixtures. Consult the [official asset-container implementation/API](https://github.com/BabylonJS/Babylon.js/blob/master/packages/dev/core/src/assetContainer.ts) at the host's pinned revision rather than assuming current master matches.

Files in this skill

  • SKILL.md2.7 KB
  • agents/openai.yaml244 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.