Skip to content
Skill

Bevy UI

Guides an agent in building Bevy 0.20 UI with nodes, buttons, text and focus

Bevy UI 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 UI

This skill gives a coding agent the Bevy 0.20 conventions for building user interfaces. It covers spawning Node-based layouts, using the headless ui_widgets Button with Hovered, Pressed and Activate, styling text through TextFont with FontSource and FontSize, and setting background, border and corner radius values. It also explains keyboard and screen-reader wiring with InputFocus, TabIndex and AccessibleLabel.

The skill includes a complete canonical button example that mirrors Bevy's own button example, plus topic references for layout, text, interaction, colors, palettes, accessibility, children spawning and known pitfalls. A gotchas list flags deprecated 0.18 and 0.19 forms such as ui::Interaction, changed-based button matching and old font and radius fields, so the agent can migrate code. It points to related skills for migration, cameras, queries and localization.

It is written for Rust projects using the Bevy engine and assumes a Bevy 0.20 dependency with the ui feature enabled.

When your agent uses it

Use when building Bevy 0.20 UI with `Node`, `ui_widgets::Button`, `Hovered` / `Pressed` / `Activate`, `children![]`, `TextFont` with `FontSource` and `FontSize`, `BorderRadius` / `CornerRadius`, `BackgroundColor`, `BorderColor`, `InputFocus`, or `AccessibleLabel`, or when `ui::Interaction` and `Changed<Interaction>` show deprecation warnings.

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 9 files (35 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@raea

Or copy only this skill to ~/.claude/skills/bevy-ui:

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

For one project only, put the folder in .cursor/skills/bevy-ui inside it instead.

Cursor docs on skills

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-ui

Or copy the folder to ~/.gemini/skills/bevy-ui yourself.

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/bevy-ui inside it instead.

VS Code docs on skills

Get the folder:

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

Then copy raea-skills/skills/bevy/pack/bevy-ui into your agent's skills folder as bevy-ui. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Node layout recipes
Covers Node, Val units and flexbox patterns for arranging panels and containers.
Headless button widget
Explains ui_widgets Button with hover polling, press state and click events.
Text styling rules
Details TextFont, FontSource, FontSize and text justification changes in 0.20.
Colors and borders
Shows BackgroundColor, BorderColor, corner radius and palette constants.
Focus and accessibility
Covers InputFocus, tab order and accessible labels for keyboard and screen readers.
Deprecation migration notes
Lists stale patterns from earlier Bevy versions and their 0.20 replacements.

Good for

  • Build a centered button that changes color on hover and press
  • Migrate a Bevy 0.18 UI file to the 0.20 text and button APIs
  • Add keyboard focus and screen-reader labels to menu buttons
  • Create a full-screen flex layout with nested text labels
  • Replace deprecated Interaction-based click handling with Activate observers

Bevy UI FAQ

Which Bevy version does Bevy UI target?

It targets Bevy 0.20, and the gotchas cover what changed from 0.18 and 0.19.

Does Bevy UI change how the agent handles clicks?

It directs the agent to use the ui_widgets Button with Activate events rather than the deprecated Interaction component.

Do I need any extra features enabled?

Yes, with default features disabled the ui feature collection must be added, since 0.19 no longer implies it from 2d or 3d.

How do I install Bevy UI in Claude Code?

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

Does Bevy UI 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 UI?

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 UI?

The closest alternatives to Bevy UI are Bevy a11y, Bevy, Bevy migration 0 19 to 0 20, Bevy audio and Bevy testing.

Where this comes from

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

More from shinyobjectz/raea-skills

  1. Check and consult a project's generated vocabulary before naming anything

    • Open source
    • 38 GitHub stars
    • Knowledge and memory
  2. Blank template for authoring new raea skills with a standard section layout

    • Open source
    • 38 GitHub stars
    • Developer tools
  3. Lets an agent write and render video, motion graphics and 3D scenes as React code

    • Open source
    • 38 GitHub stars
    • Design and media
  4. Routes Bevy 0.20 tasks to the right sibling skill and pins the engine version

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

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

    • Open source
    • 38 GitHub stars
    • Developer tools