---
name: hashgraph-online/rust-bevy-procedural-world-builder
source: https://app.decimal.ai/s/hashgraph-online-rust-bevy-procedural-world-builder@1/SKILL.md
source_sha256: 8a6ca1e51fa3
---

# Rust Bevy Procedural World Builder

Use this skill to turn procedural generation into a testable data pipeline:
generate data first, validate it, then materialize entities safely in Bevy.

## Core Workflow

1. Represent the world as data before spawning sprites or entities.
2. Make randomness explicit with seeds and generation parameters.
3. Validate constraints such as bounds, reachability, spawn safety, and resource
   placement.
4. Spawn Bevy entities from generated data in batches or chunks.
5. Keep background generation isolated from Bevy world mutation.
6. Profile generation and rendering separately before optimizing.

## Read Next

| Task | Load |
|------|------|
| Add generated rooms, terrain, or bases | `guidelines.md`, `workflows/build-procedural-world.md` |
| Review generation data structures | `references/procedural-world-patterns.md` |
| Move expensive generation off the main thread | `references/procedural-world-patterns.md` |

## Source Notes

Guidance is transformed and paraphrased from Herbert Wolverson,
*Advanced Hands-On Rust*, especially Chapters 10 through 13 on building and
optimizing a generated Mars-base game. Examples are original skeletons.