Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Bevy Game Code Patterns

Helps you write Bevy game code that compiles on your pinned version, runs on a fixed clock and is easy to test.

Claude's review

7/10 Practical Bevy guide with a version change table, FixedUpdate usage and headless App tests, with a few references to sibling rules.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Use when writing Bevy (Rust ECS) game code - pin and respect the repo's minor version, plugins/systems/queries/resources, schedules with FixedUpdate and Time, states and run conditions, messages vs observers across versions, required components, testing systems with App::update and a manual time strategy, compile-time and allocation hygiene.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: bevy-ecs-patterns
category: architecture
description: Use when writing Bevy (Rust ECS) game code - pin and respect the repo's minor version, plugins/systems/queries/resources, schedules with FixedUpdate and Time, states and run conditions, messages vs observers across versions, required components, testing systems with App::update and a manual time strategy, compile-time and allocation hygiene.
tech_stack: Bevy
source: informed by the Bevy documentation, examples and per-release migration guides; own wording
---
# Bevy ECS Patterns

## Overview

Bevy is a code-first Rust engine built on an ECS: entities are IDs, components are plain structs, systems are ordinary functions whose parameters declare the data they touch, and the scheduler runs them in parallel where it can. Bevy also ships a breaking release every few months — the API you remember may not be the API the repository pins.

**Core principle:** The repository's pinned Bevy minor is the API. Systems are small functions over queries, simulation runs in `FixedUpdate`, and every system is testable by building an `App` and calling `update()`.

## Version first

```toml
# Cargo.toml — for 0.x crates "0.18" already means >=0.18.0, <0.19.0: the minor is pinned
bevy = "0.18"
```

Read `Cargo.lock` for the resolved version and that version's migration guide before writing code. Never bump the minor in a feature task. Changes that bite code written from memory:

| Since | Change |
|---|---|
| 0.15 | `Time::delta_seconds()` → `delta_secs()`; required components (`#[require(...)]`) replace most bundles; `Single<...>` system parameter |
| 0.16 | `Query::single()` / `get_single()` return `Result`; systems may return `Result` and use `?` |
| 0.17 | Buffered events renamed to **messages**: `#[derive(Message)]`, `MessageWriter::write`, `MessageReader::read`, `app.add_message::<T>()`; observers use `On<T>` for entity events |

## Plugins, components, systems

```rust
use bevy::prelude::*;

#[derive(Component, Default)]
#[require(Transform, Velocity)]
pub struct Player;

#[derive(Component, Default, Deref, DerefMut)]
...

From makifbaysal's repository, Apache-2.0 licence.

Related skills

  • Checked

    Game Audio Mixing

    Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game camera tuning

    Builds and tunes follow, orbit and first person game cameras in Godot or Cinemachine so they stop jittering.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game Enemy AI

    Designs enemy AI with perception, pathfinding and steering so enemies chase fairly and never get stuck.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game Loop and Timing

    Makes movement, timers and physics behave the same at any frame rate in Unity, Godot, Bevy and web games.

    by makifbaysal 123
    7/101 credit
  • Checked

    Game Security Review

    Reviews Unity, Godot and Unreal code for cheats that hurt other players, purchase exploits and unsafe save files.

    by makifbaysal 123
    7/101 credit
  • Checked

    Roblox Game Structure

    Helps you organise a Roblox game's client and server code, data flow and streaming so it stays secure.

    by EL4CTEO 169
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added