# Bevy migration 0 19 to 0 20

> Bevy migration 0 19 to 0 20 is an open-source agent skill for developer tools. Guides an agent through upgrading Bevy 0.19 projects to Bevy 0.20 breaking changes. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/shinyobjectz/raea-skills/tree/main/skills/bevy/pack/bevy-migration-0-19-to-0-20
- **Repository:** https://github.com/shinyobjectz/raea-skills
- **GitHub stars:** 38
- **License:** MIT
- **Skill name:** bevy-migration-0-19-to-0-20
- **Collection:** https://github.com/shinyobjectz/raea-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill is a migration cheat sheet for moving a Rust project from Bevy 0.19 to Bevy 0.20. It lists the breaking changes in order of how likely they are to hit first, with before and after code for observers, pointer events, UI buttons, iter_many, state updates and the World system parameter. It also covers rendering changes such as opt-in screen space transmission, the Tonemapping::None behaviour, and the move from naga_oil to WESL shaders, with a reference table for shader module paths.

The skill is organised as a checklist to apply top-down, with a gotchas section for changes that compile but behave differently, such as deprecated APIs that only emit warnings and render or ordering shifts that show up as flaky frames. It points to a previous-release migration skill to apply first when coming from 0.18, and to related Bevy skills for observers, UI, materials and cargo features.

It expects a Rust project using Bevy and works through compiler errors and runtime behaviour changes. It runs no scripts and has no tool requirements.

## When your agent uses it

> Use when upgrading from Bevy 0.19 to Bevy 0.20, when `On<Add, T>` or `On<Pointer<Click>>` stops compiling (now `On<Add<T>>` and `On<PointerClick>`), when `ui::Interaction`/`ui::widgets::Button` warn as deprecated (use `ui_widgets::Button` + `Hovered` + `Pressed`), when a `.wgsl` shader with `#import`/`#ifdef` fails to load (WESL), when `iter_many` yields `Result`, when `NextState::set_if_neq` or `Tonemapping::None` behave differently, or when translucent materials stopped refracting (`ScreenSpaceTransmission` is opt-in). Index of every breaking Bevy 0.20 change.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/shinyobjectz/raea-skills/tree/HEAD/skills/bevy/pack/bevy-migration-0-19-to-0-20)
- [License: MIT](https://github.com/shinyobjectz/raea-skills/tree/HEAD/skills/bevy/pack/bevy-migration-0-19-to-0-20)

## Features

- **Observer and event migration:** Covers the new form of lifecycle observers and flattened pointer event fields.
- **UI button replacement:** Shows moving from deprecated interaction and button types to the widget button with hover and pressed markers.
- **Rendering behaviour changes:** Explains opt-in screen space transmission, tonemapping differences and per-material order-independent transparency.
- **WESL shader conversion:** Describes converting naga_oil shader files and imports to the WESL format with a module path reference.
- **Scheduling and ECS updates:** Lists changes to exclusive systems, built-in schedule ordering and query utilities.
- **Deprecation and gotcha list:** Separates deprecated-but-working APIs from silent behaviour changes to fix before the next release.

## Good for

- Fix compiler errors after bumping Bevy from 0.19 to 0.20
- Convert a custom shader from naga_oil #import syntax to WESL
- Update a Bevy UI button system to use the new hover and pressed markers
- Find why translucent materials stopped showing refraction after upgrading
- Replace deprecated iter_many and state update calls in an existing Bevy game

## Install

### Claude Code

This skill ships in the `raea` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add shinyobjectz/raea-skills
/plugin install raea@raea
```

Or copy only this skill to `~/.claude/skills/bevy-migration-0-19-to-0-20`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bevy-migration-0-19-to-0-20 &&
cp -R "$tmp/skills/bevy/pack/bevy-migration-0-19-to-0-20" ~/.claude/skills/bevy-migration-0-19-to-0-20 &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/bevy-migration-0-19-to-0-20` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/bevy-migration-0-19-to-0-20` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bevy-migration-0-19-to-0-20 &&
cp -R "$tmp/skills/bevy/pack/bevy-migration-0-19-to-0-20" ~/.agents/skills/bevy-migration-0-19-to-0-20 &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/bevy-migration-0-19-to-0-20` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/bevy-migration-0-19-to-0-20` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bevy-migration-0-19-to-0-20 &&
cp -R "$tmp/skills/bevy/pack/bevy-migration-0-19-to-0-20" ~/.cursor/skills/bevy-migration-0-19-to-0-20 &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/bevy-migration-0-19-to-0-20` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/shinyobjectz/raea-skills.git --path skills/bevy/pack/bevy-migration-0-19-to-0-20
```

Or copy the folder to `~/.gemini/skills/bevy-migration-0-19-to-0-20` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/bevy-migration-0-19-to-0-20`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bevy-migration-0-19-to-0-20 &&
cp -R "$tmp/skills/bevy/pack/bevy-migration-0-19-to-0-20" ~/.copilot/skills/bevy-migration-0-19-to-0-20 &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/bevy-migration-0-19-to-0-20` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git
```

Then copy `raea-skills/skills/bevy/pack/bevy-migration-0-19-to-0-20` into your agent's skills folder as `bevy-migration-0-19-to-0-20`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which Bevy versions does Bevy migration 0 19 to 0 20 cover?

It covers the upgrade from Bevy 0.19 to Bevy 0.20, and notes that the current patch release is 0.20.1.

### Should I run another migration first?

If you are coming from 0.18, the skill says to apply the 0.18 to 0.19 migration skill first.

### Do deprecated APIs break the build?

The skill says deprecated items such as Interaction, set_if_neq and TypeIdMap still build with warnings, and should be fixed before 0.21.

### Does the skill run scripts or need extra tools?

No. The skill contains no scripts and does not set any allowed tools.

### How do I install Bevy migration 0 19 to 0 20 in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bevy-migration-0-19-to-0-20 to use it in all your projects, or to .claude/skills/bevy-migration-0-19-to-0-20 in one project. Or install the raea plugin, which includes it: /plugin marketplace add shinyobjectz/raea-skills, then /plugin install raea@raea.

### Does Bevy migration 0 19 to 0 20 run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Bevy migration 0 19 to 0 20?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Bevy migration 0 19 to 0 20?

The closest alternatives to Bevy migration 0 19 to 0 20 are Bevy migration 0 17 to 0 18, Bevy migration 0 18 to 0 19, Bevy, Bevy rendering and Bevy pbr materials.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Bevy migration 0 17 to 0 18](https://ai-powered.com/skills/bevy-migration-0-17-to-0-18): Bevy migration 0 17 to 0 18 is an open-source agent skill for developer tools.
- [Bevy migration 0 18 to 0 19](https://ai-powered.com/skills/bevy-migration-0-18-to-0-19): Bevy migration 0 18 to 0 19 is an open-source agent skill for developer tools.
- [Bevy](https://ai-powered.com/skills/bevy-shinyobjectz): Bevy is an open-source agent skill for developer tools.
- [Bevy rendering](https://ai-powered.com/skills/bevy-rendering): Bevy rendering is an open-source agent skill for developer tools.
- [Bevy pbr materials](https://ai-powered.com/skills/bevy-pbr-materials): Bevy pbr materials is an open-source agent skill for developer tools.
- [Bevy ecs queries](https://ai-powered.com/skills/bevy-ecs-queries): Bevy ecs queries is an open-source agent skill for developer tools.
- [Bevy assets](https://ai-powered.com/skills/bevy-assets): Bevy assets is an open-source agent skill for developer tools.
- [Bevy ecs components](https://ai-powered.com/skills/bevy-ecs-components): Bevy ecs components is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/bevy-migration-0-19-to-0-20
