rust-bevy-standards

rust-bevy-standards is a skill for Claude Code, Codex from kimgoetzke/coding-agent-configs. It costs 44 tokens per session (1,142 once invoked), scanned A, original, MIT.

A set of coding standards for Rust applications built with Bevy, a game and real-time graphics engine.

In plain words
What is it for?
Use it while writing or updating Bevy code, especially cameras, materials, events, messages, observers, colors, and text layout.
Why use it?
It helps prevent code from relying on Bevy APIs that changed in versions 0.17 and 0.18.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kimgoetzke/coding-agent-configs/rust-bevy-standards
Any agent
npx skills add kimgoetzke/coding-agent-configs --skill rust-bevy-standards
Clone the repo
git clone --depth 1 https://github.com/kimgoetzke/coding-agent-configs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rust-bevy-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/kimgoetzke/coding-agent-configs/rust-bevy-standards.svg)](https://agentmods.dev/skills/kimgoetzke/coding-agent-configs/rust-bevy-standards)
Your own site
<a href="https://agentmods.dev/skills/kimgoetzke/coding-agent-configs/rust-bevy-standards"><img src="https://agentmods.dev/badge/skills/kimgoetzke/coding-agent-configs/rust-bevy-standards.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01142
Opus 5 $0.00022 $0.00571
Sonnet 5 $0.00009 $0.00228
Haiku 4.5 $0.00004 $0.00114

Measured 6d ago against content hash a146c8a2ae3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

rust-bevy-standards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/rust-bevy-standards/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

⚠️ Bevy 0.17+ Breaking Changes

  • Material handles wrapped in MeshMaterial3d<T>, not Handle<T>

  • Observer pattern replaces event system (commands.trigger(), add_observer())

  • Event split into Message (buffered) and Event (observers)

  • EventWriter/EventReader replaced by MessageWriter/MessageReader (message.write() / messages.read())

  • Observer trigger API changed:

    // Old
    commands.add_observer(|trigger: Trigger<OnAdd, Player>| {
        info!("Spawned player {}", trigger.target());
    });
    
    // New
    commands.add_observer(|add: On<Add, Player>| {
        info!("Spawned player {}", add.entity);
    });
    
  • Color arithmetic removed; use component extraction instead

⚠️ Bevy 0.18+ Breaking Changes

  • RenderTarget is now a required component on Camera, not a Camera field:
    // Old
    Camera { target: RenderTarget::Image(handle.into()), ..default() }
    // New
    commands.spawn((Camera3d::default(), RenderTarget::Image(handle.into())));
    
  • BorderRadius is now a field on Node, not a component
  • LineHeight is now a required component on Text/Text2d/TextSpan; removed from TextFont
  • AmbientLight resource renamed to GlobalAmbientLight; AmbientLight is now a component on Camera
  • clear_childrendetach_all_children, remove_childrendetach_children, remove_childdetach_child (same on EntityCommands and EntityWorldMut)
  • AnimationTarget { id, player } replaced by separate AnimationTargetId(id) and AnimatedBy(player_entity) components
  • next_state.set(...) now always fires OnEnter/OnExit; use set_if_neq for the old behaviour
  • MaterialPlugin fields prepass_enabled/shadows_enabled replaced by Material trait methods enable_prepass()/enable_shadows()
  • SimpleExecutor removed; use SingleThreadedExecutor instead
  • #[reflect(...)] now only supports parentheses, not braces or brackets
  • AssetLoader, AssetSaver, AssetTransformer, Process now require #[derive(TypePath)]
  • ron no longer re-exported from bevy_scene or bevy_asset; add it as a direct dependency
  • Feature renames: animationgltf_animation, bevy_sprite_picking_backendsprite_picking, bevy_ui_picking_backendui_picking, bevy_mesh_picking_backendmesh_picking

General

  • Never delete target binaries — Bevy rebuilds take minutes

Read the full file on GitHub · 126 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 126 lines · 44 tokens per session scan A a146c8a2ae3a

Subscribe to this mod's changes

rust-bevy-standards is a skill published in the GitHub repository kimgoetzke/coding-agent-configs (2 stars, last pushed 17d ago), licensed MIT. It adds 44 tokens to every session and 1,142 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.