Index of every page on this site: llms.txt
All skills
thedivergentai avatar

/bevy-asset-scenes

@db004d7
Run it yourself

Load Bevy 0.20 assets with AssetServer and spawn scenes with bsn!, spawn_scene, and queue_spawn_scene. Use when content comes from disk, a handle must be ready, or a level root should be replaced. Keywords: AssetServer, Handle, is_loaded_with_dependencies, bsn, Scene, file_watcher, LevelRoot.

Use this Skill: https://skilld.dev/gh/thedivergentai/game-dev-agentic-skills/bevy-asset-scenes

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesecs-ownership.md

≈236 tokens on demand. Your agent reads this file only when SKILL.md points to it.

ECS ownership - bevy-asset-scenes

Who owns each piece of state, and on which schedule.

Target: Bevy 0.20+.

Need Owner Schedule
Per-entity Component + Query Update or FixedMain
App-wide Resource insert in Startup
Spawn Commands Startup or the runtime schedule
Ordered mutation .chain() same schedule
Plugin setup Plugin build before run
File bytes AssetServer plus Assets<T> load in Startup; read when is_loaded_with_dependencies is true
Strong handle kept alive Resource such as PropMesh insert once; dropping it unloads
Level identity LevelRoot component despawn that entity before queue_spawn_scene

spawn_scene fails while dependencies are unloaded. queue_spawn_scene waits and spawns in SpawnScene, which runs after Update. Do not both immediate-spawn and queue the same scene in one system.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides instructions and code examples for managing assets and scenes in the Bevy game engine. No security issues were detected.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at db004d7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated last month

README badge

README badge for thedivergentai/game-dev-agentic-skills/bevy-asset-scenes