# Bevy cargo features

> Bevy cargo features is an open-source agent skill for developer tools. Helps an agent pick the right Bevy 0.20 Cargo feature set for a project. It is available on Claude Code and Cursor.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Cursor
- **Website:** https://github.com/shinyobjectz/raea-skills/tree/main/skills/bevy/pack/bevy-cargo-features
- **Repository:** https://github.com/shinyobjectz/raea-skills
- **GitHub stars:** 38
- **License:** MIT
- **Skill name:** bevy-cargo-features
- **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 guides an agent through choosing Bevy 0.20 Cargo features when setting up or auditing a Bevy project's manifest. It covers the top-level collections such as 2d, 3d, ui and audio, the mid-level API collections for custom renderers, and the headless default_app option for servers without rendering, windowing or audio.

The skill lays out which collection adds what, shows example Cargo.toml entries for desktop, headless and minimal client builds, and explains opt-in input features like mouse, keyboard and gamepad. It also includes a table of feature moves from Bevy 0.18 and 0.19 to 0.20 and a list of common pitfalls, such as builds that lose UI or audio after disabling default features.

It is written for Rust projects that use Cargo and expects the agent to edit or review a Cargo.toml file. It references related skills for WASM manifests, asset handling and version migrations.

## When your agent uses it

> Use when picking Bevy 0.20 Cargo features — top-level `2d`/`3d`/`ui`/`audio`, mid-level `3d_api`/`3d_bevy_render`/`ui_api`/`common_api`, headless `default_app`, input opt-ins `mouse`/`keyboard`/`gamepad`, `bevy_curve` (was `bevy_math/curve`), `compressed_image_saver_universal`, `render_dev_tools`, or debugging missing UI/audio/window after `default-features = false`.

## 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-cargo-features)
- [License: MIT](https://github.com/shinyobjectz/raea-skills/tree/HEAD/skills/bevy/pack/bevy-cargo-features)

## Features

- **Top-level feature collections:** Explains what the 2d, 3d, ui and audio collections enable and which ones must be listed explicitly since Bevy 0.19.
- **Mid-level API collections:** Covers common_api and the *_api collections for building a custom renderer without the stock pipeline.
- **Headless server setup:** Shows a default_app configuration with MinimalPlugins for builds without a window, rendering or audio.
- **Opt-in input features:** Lists how mouse, keyboard, gamepad and related input features are enabled when default_platform is off.
- **Migration feature moves:** Tabulates how features moved or were removed between Bevy 0.18, 0.19 and 0.20.
- **Common manifest pitfalls:** Describes errors such as missing UI or audio after disabling defaults and removed shader format features.

## Good for

- Trim the Bevy feature list in Cargo.toml to shrink a WASM build
- Set up a headless Bevy server without rendering or windowing
- Fix missing UI or audio after setting default-features to false
- Migrate a Bevy 0.19 manifest to the 0.20 feature layout
- Enable mouse, keyboard and gamepad input in a minimal Bevy client

## 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-cargo-features`:

```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-cargo-features &&
cp -R "$tmp/skills/bevy/pack/bevy-cargo-features" ~/.claude/skills/bevy-cargo-features &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/bevy-cargo-features` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/bevy-cargo-features` 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-cargo-features &&
cp -R "$tmp/skills/bevy/pack/bevy-cargo-features" ~/.agents/skills/bevy-cargo-features &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/bevy-cargo-features` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/bevy-cargo-features` 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-cargo-features &&
cp -R "$tmp/skills/bevy/pack/bevy-cargo-features" ~/.cursor/skills/bevy-cargo-features &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/bevy-cargo-features` 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-cargo-features
```

Or copy the folder to `~/.gemini/skills/bevy-cargo-features` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/bevy-cargo-features`:

```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-cargo-features &&
cp -R "$tmp/skills/bevy/pack/bevy-cargo-features" ~/.copilot/skills/bevy-cargo-features &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/bevy-cargo-features` 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-cargo-features` into your agent's skills folder as `bevy-cargo-features`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which Bevy version does Bevy cargo features cover?

It targets Bevy 0.20, with notes on feature changes from 0.18 and 0.19.

### Does Bevy cargo features run any scripts or change files on its own?

No scripts are included. It guides the agent's choices when editing a Cargo manifest.

### Why does my 3D build have no UI or audio after switching off default features?

Since 0.19 the 3d feature does not imply ui or audio, so both must be listed explicitly. The skill's gotchas section covers this case.

### Which clients is Bevy cargo features designed for?

The skill metadata lists opencode, claude-code and cursor compatibility, and it is distributed through a Claude Code plugin marketplace.

### How do I install Bevy cargo features in Claude Code?

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

### Does Bevy cargo features 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 cargo features?

Claude Code and Cursor. 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 cargo features?

The closest alternatives to Bevy cargo features are Bevy rendering, Bevy, Bevy assets, Bevy wasm webgpu and Bevy migration 0 17 to 0 18.

## Where this comes from

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

## Alternatives

- [Bevy rendering](https://ai-powered.com/skills/bevy-rendering): Bevy rendering 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 assets](https://ai-powered.com/skills/bevy-assets): Bevy assets is an open-source agent skill for developer tools.
- [Bevy wasm webgpu](https://ai-powered.com/skills/bevy-wasm-webgpu): Bevy wasm webgpu is an open-source agent skill for developer tools.
- [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 porting](https://ai-powered.com/skills/bevy-porting): Bevy porting is an open-source agent skill for developer tools.
- [Bevy custom assets](https://ai-powered.com/skills/bevy-custom-assets): Bevy custom assets is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/bevy-cargo-features
