bevy-project-foundations
Installation
SKILL.md
Bevy project foundations
When to use
Load this when a new Bevy app needs a crate, a pin, and a place for feature code before gameplay systems exist. Folder names below are layout habits. They are not engine types.
ECS shape
- Crate:
cargo newplus abevydependency pinned at 0.20. - Features:
defaultpulls windowing, input, and rendering. Turndefault-featuresoff only when the binary should stay headless. - App shell:
App::new(), plugins, then systems and resources on thatApp. - Code layout: Split by feature in ordinary Rust modules. The engine does not require a directory tree.
Pin the crate and keep dev builds usable. Bevy's default debug profile compiles dependencies unoptimized, so the dev profile lifts dependency opt-level while the game crate stays easy to step through.