/bevy-skills:bevy-migration-0-18-to-0-19from bevy-skills
Guides migration from Bevy 0.18 to 0.19, covering renamed text layout APIs, new FontSource/FontSize types, scene serialization crate changes, and Resource-to-component query changes.
Ships in bevy-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Released 2026-06-18. Apply top-down — earlier items break later builds if skipped. Going all the way to 0.20? Finish this sheet, then bevy-migration-0-19-to-0-20.
bevy = "0.18" → bevy = "0.19" bump.#[derive(Resource)] type suddenly behaves like a component.bevy_capture, etc.) hasn't shipped 0.19 yet.new_with_ prefix// 0.19
TextLayout::justify(Justify::Left) // was new_with_justify
TextLayout::linebreak(/* … */) // was new_with_linebreak
TextLayout::no_wrap() // was new_with_no_wrap
TextFont fields changed type: FontSource + FontSize// 0.19 — font is FontSource (handle OR family), font_size is FontSize
TextFont {
font: asset_server.load("fonts/FiraSans-Bold.ttf").into(), // Handle → FontSource via .into()
font_size: FontSize::Px(24.0), // f32 → FontSize::Px / ::Vh / ::Rem
..default()
}
// Select by family (needs the `bevy/system_font_discovery` feature for installed fonts):
TextFont { font: FontSource::family("Fira Sans"), ..default() }
0.19 swapped the cosmic-text layout backend for Parley, which does font fallback
automatically via fontique. The old "insert a DefaultFontHandle so ..default()
entities inherit a font" trick is obsolete — see references/text-and-fonts.md.
bevy_scene is reused for the new BSN system. Classic DynamicScene round-trip
serialization moved to bevy_world_serialization:
// 0.18 → 0.19
// bevy_scene::DynamicScene → bevy_world_serialization::DynamicWorld
// bevy::scene::SceneRoot → bevy::world_serialization::WorldAssetRoot
// DynamicSceneBuilder → DynamicWorldBuilder
// SceneSpawner → WorldInstanceSpawner
glTF scene spawning still uses the old (now world_serialization) system. Full table:
references/scene-serialization.md.
Res<T>, ResMut<T>, #[derive(Resource)], and insert_resource all still work.
The narrow breakages:
// ILLEGAL in 0.19 — a type can no longer be both:
#[derive(Component, Resource)] struct Health(u32);
Plus: a resource type now also matches Query<&T>, and inserting it as a component
can despawn other copies. Non-send resource methods were renamed (deprecated, not removed):
world.init_non_send::<T>(); // was init_non_send_resource
world.get_non_send::<T>(); // was get_non_send_resource
Details + the query/despawn footgun: references/resources-as-components.md.
# 0.19: audio is NO LONGER implied by 2d / 3d / ui — add it explicitly:
bevy = { version = "0.19", features = ["3d", "bevy_audio", "vorbis"] }
# ui is NO LONGER implied by 2d / 3d either — add "ui" if you build UI.
experimental_ dropped. FeathersPlugin → FeathersCorePlugin, and widget components
lost their Core prefix (CoreScrollbarThumb → ScrollbarThumb,
CoreSliderDragState → SliderDragState, etc.). Only relevant if you use Feathers.
bevy_capture (the crate behind bevy-capture) tracks Bevy and may not have a 0.19
release yet — verify a 0.19-compatible version exists before bumping. When it does,
EasyScreenRecordPlugin gained a required output_dir: Option<PathBuf> field
(only breaks manual struct construction; ..default() is fine).
#[reflect(Resource)] reflection access now also needs ReflectComponent in some paths.TextFont::default().font is a FontSource, not a Handle<Font> — code that read it as a handle won't compile.bevy/system_font_discovery feature; on Linux also libfontconfig1-dev.set_serif_family, etc.) now return Result — and you mostly shouldn't need them under Parley.bevy-migration-0-19-to-0-20 — the next release's catalogue.bevy-migration-0-17-to-0-18 — the previous release's rename catalogue.bevy-ui — TextFont/FontSize/FontSource in everyday UI code.bevy-cargo-features — feature-implication table and renames.bevy-ecs-components — the Component model the new Resource subtrait plugs into.What SKILL.md sets; muted values are Claude Code's defaults
32 skills in this plugin
/bevyUse when starting any Bevy task, choosing between Update and FixedUpdate, picking Cargo feature flags, or recalling which sibling skill covers ECS, assets, rendering, UI, or migration. Routes to the right Bevy 0.20 skill and pins the engine version for downstream snippets./bevy-a11yUse when designing or auditing high-standard video-game accessibility in Bevy 0.20, integrating screen readers and focus navigation, supporting adaptive controllers and complete remapping, implementing captions or audio description, checking contrast and motion safety, or building disabled-player test evidence./bevy-animationUse when wiring `AnimationPlayer` + `AnimationGraphHandle`, building an `AnimationGraph` from glTF clips, blending state-driven animations with `AnimationTransitions::play`, isolating body parts with `AnimationMask`, firing gameplay sync via `#[derive(AnimationEvent)]` + `On<E>` observers, tweening with `AnimatableCurve` / `EaseFunction` / `CubicSegment::new_bezier_easing` from `bevy::curve`, or applying the 12 Basic Principles of Animation to 3D characters in Bevy 0.20.npx claudepluginhub chrisgliddon/bevy-skills --plugin bevy-skillsOther plugins' skills for the same job