Skip to content
SkillModel-led2,451 tokens in use

bevy-ecs

Helps an agent build and debug Bevy 0.20 games in Rust: components, systems, schedules, States, observers, messages and headless tests.

9,684 stars on the repository Apache License 2.0gamedev-skills/awesome-gamedev-agent-skills · skills/other-engines/bevy-ecs
npx skills add gamedev-skills/awesome-gamedev-agent-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing bevy-ecs costs

103tokens idle
2,451tokens in use
5,560tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure25/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 60

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity92
  • Maintenance96
  • Community60
  • Maturity24
  • Momentum40

This skill helps an agent structure a Bevy 0.20 game around its ECS. It starts by reading the Bevy version pinned in Cargo.toml and Cargo.lock, models per-entity data as components and shared data as resources, and writes systems as ordinary functions with declared access.

It includes patterns for spawning and filtering, ordering with chain and run conditions, plugins and a headless App test driven by manual time. A long gotcha list covers query-conflict panics, deferred Commands, and renamed APIs from older releases such as EventReader, SpriteBundle and delta_seconds.

What You Get

  • A five-step workflow from reading the pinned Bevy version to modelling data, writing systems, ordering them and verifying
  • Rust patterns for spawning with required components, disjoint queries, plugins, ordering and run conditions
  • A headless cargo test that uses MinimalPlugins and manual time so movement checks are deterministic
  • A gotcha list for B0001 and B0002 panics, deferred spawns, resources as entities since 0.19, and renamed events, bundles and state methods

Common Use Cases

  • Fixing a B0001 query-conflict panic
  • Updating code that uses EventReader, SpriteBundle or Camera2dBundle
  • Adding states, run conditions and system ordering to a game
  • Writing a headless test for a gameplay rule

What Makes It Unique

Bevy breaks its API in every minor release, so the skill makes the pinned version decide which syntax is right and never mixes snippets from two minors. Its panic texts and the headless test were compiled and run against a real Bevy release, and each old API name is mapped to its replacement.

Under The Hood

The agent loads the SKILL.md and, when needed, a reference on queries, schedules, states and change detection. It reads Cargo.toml and Cargo.lock, edits Rust source files in your project and runs cargo check, cargo test and cargo run, which build code and may download crates through Cargo. It reads the first panic from the run and reports which of these it ran. It fetches no web pages itself and calls no APIs; for visual changes it asks you to run the game and describe what you see.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers