
Bevy ecs components
Guides an agent through Bevy 0.20 ECS components, required components, observers
Bevy ecs components is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 38
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Bevy ecs components
This skill gives an AI coding agent working knowledge of how Bevy 0.20 components are defined and wired together. It covers deriving Component, declaring required components with the require attribute, choosing Table or SparseSet storage, and writing entity-targeted observers that use the On parameter type. It also documents the lifecycle events for add, insert, discard, remove and despawn, along with the on_add, on_insert, on_discard and on_remove hooks.
The skill includes a canonical Rust example that puts these pieces together in a small app, showing plain components, a required-component marker, a sparse tag, a discard hook that logs values, a custom entity event handled by an observer, and a lifecycle observer. It also contains a cheat sheet mapping each lifecycle pattern to the moment it fires, and a list of breaking changes from Bevy 0.18 to 0.20 that helps the agent fix compiler errors after an upgrade.
The guidance is Rust-specific and targets the Bevy game engine. It has no scripts or bundled files; the agent uses it as reference instructions while editing code. It cross-references related skills for queries, systems and migration between Bevy versions.
When your agent uses it
Use when defining `#[derive(Component)]`, declaring required components with `#[require(...)]`, writing observers with `On<E>` or lifecycle observers with `On<Add<T>>` (NOT `On<Add, T>`), choosing Table versus SparseSet storage, or registering `on_add`/`on_insert`/`on_discard`/`on_remove` hooks in Bevy 0.20.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (7 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the raea plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add shinyobjectz/raea-skills
/plugin install raea@raeaOr copy only this skill to ~/.claude/skills/bevy-ecs-components:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bevy-ecs-components &&
cp -R "$tmp/skills/bevy/pack/bevy-ecs-components" ~/.claude/skills/bevy-ecs-components &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/bevy-ecs-components inside it instead.
Copy the skill folder to ~/.agents/skills/bevy-ecs-components to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bevy-ecs-components &&
cp -R "$tmp/skills/bevy/pack/bevy-ecs-components" ~/.agents/skills/bevy-ecs-components &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/bevy-ecs-components inside it instead.
Copy the skill folder to ~/.cursor/skills/bevy-ecs-components to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bevy-ecs-components &&
cp -R "$tmp/skills/bevy/pack/bevy-ecs-components" ~/.cursor/skills/bevy-ecs-components &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/bevy-ecs-components inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/shinyobjectz/raea-skills.git --path skills/bevy/pack/bevy-ecs-componentsOr copy the folder to ~/.gemini/skills/bevy-ecs-components yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/bevy-ecs-components:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bevy-ecs-components &&
cp -R "$tmp/skills/bevy/pack/bevy-ecs-components" ~/.copilot/skills/bevy-ecs-components &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/bevy-ecs-components inside it instead.
Get the folder:
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.gitThen copy raea-skills/skills/bevy/pack/bevy-ecs-components into your agent's skills folder as bevy-ecs-components. Agents that support SKILL.md read one folder per skill.
What it does
- Component definition patterns
- Shows how to derive Component on plain structs and tag types for game state.
- Required components
- Explains the require attribute and its forms for auto-inserting companion components on spawn.
- Storage selection
- Describes choosing Table or SparseSet storage and the trade-offs between them.
- Observers and entity events
- Covers writing observers with the On parameter and defining custom entity-targeted events.
- Lifecycle hooks and events
- Lists add, insert, discard, remove and despawn triggers and the hook functions tied to them.
- Bevy 0.18 to 0.20 changes
- Summarizes renamed and removed APIs so the agent can resolve upgrade errors.
Good for
- Define a Bevy component with default values and required companions
- Write an observer that reacts to a custom entity event
- Pick Table or SparseSet storage for a frequently toggled tag
- Add a lifecycle hook that runs when a component is overwritten
- Fix compiler errors after upgrading a Bevy project to 0.20
Bevy ecs components FAQ
Which Bevy version does Bevy ecs components target?
It is written for Bevy 0.20 and includes notes on changes from 0.17 through 0.19.
Does the skill run any scripts or need extra tools?
No scripts are included and it bundles only the SKILL.md file. It has no tool requirements set.
When should the agent use Bevy ecs components?
When defining Bevy components, required components, observers, lifecycle hooks or storage types in Bevy 0.20 code.
What license applies?
The SKILL.md frontmatter states the MIT license, and the repository is listed under Apache-2.0.
How do I install Bevy ecs components in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/bevy-ecs-components to use it in all your projects, or to .claude/skills/bevy-ecs-components in one project. Or install the raea plugin, which includes it: /plugin marketplace add shinyobjectz/raea-skills, then /plugin install raea@raea.
Does Bevy ecs components 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 ecs components?
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 ecs components?
The closest alternatives to Bevy ecs components are Bevy ecs systems, Bevy ecs queries, Bevy core concepts, Bevy migration 0 17 to 0 18 and Bevy.
Where this comes from
- Description: from the skill's own SKILL.md.
More from shinyobjectz/raea-skills

Check and consult a project's generated vocabulary before naming anything
- Open source
- 38 GitHub stars
- Knowledge and memory

Blank template for authoring new raea skills with a standard section layout
- Open source
- 38 GitHub stars
- Developer tools

Lets an agent write and render video, motion graphics and 3D scenes as React code
- Open source
- 38 GitHub stars
- Design and media

Routes Bevy 0.20 tasks to the right sibling skill and pins the engine version
- Open source
- 38 GitHub stars
- Developer tools

Guides an agent through accessibility design and audits for Bevy 0.20 games
- Open source
- 38 GitHub stars
- Developer tools

Guides an agent through Bevy 0.20 animation: graphs, blending, events and easing
- Open source
- 38 GitHub stars
- Developer tools

