bevy-master
БесплатноБез исполняемых скриптовНе проверенBevy ECS hub for Bevy 0.20+. Use when starting a Bevy game, choosing ECS boundaries, or picking a Bevy skill. Keywords: Bevy, ECS, bevy-master, schedules…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
Bevy Master: ECS hub
ECS hub for Bevy 0.20+. Start here to set up a Bevy app, decide which components, resources, and systems own each piece of state, and load the right Bevy skill for the job.
Library target
Target: Bevy 0.20+ (tested against 0.20.0).
Who owns what (ECS)
For every piece of state, name:
- which component or resource owns it
- which system may mutate it
- which message or observer should observe it
Schedules replace a scene tree. Do not add an autoload, a signal bus, or a Node layer cake.
The Quick Start ECS page defines entities, components (Component), systems as functions, Query, Commands, Startup, and Update, plus .chain() for order. Messages, observers, resources, and app states are covered in their own skills. See those files before calling a type.
Routing
| Scenario | Route |
|---|---|
| New Bevy app, ECS boundaries, which skill to load | This hub, then the module directory below |
| New crate, Cargo features, feature folders | bevy-project-foundations |
| Artifact ledger into a Bevy crate | gdas-reader then bevy-rea |
| Entity composition, components, systems | bevy-ecs-composition |
| Messages, events, observers | bevy-events-messaging |
| Components and resources as data | bevy-data-resources |
| App states or a per-entity mode flag | bevy-state-machines |
| App-wide resources and schedules | bevy-app-resources |
| Character movement | bevy-character-movement |
| 3D physics | bevy-physics-3d |
| 2D physics | bevy-physics-2d |
| Ray, overlap, or physics pick | bevy-spatial-queries |
| Navigation mesh or path data | bevy-navigation |
| Chase, patrol, retarget | bevy-ai-navigation |
| Seeded level or loot layout | bevy-procedural-generation |
| Keyboard, mouse, gamepad | bevy-input-handling |
| 2D or 3D camera entity | bevy-camera-systems |
| Play or control a clip | bevy-audio-systems |
| Load assets or spawn a scene | bevy-asset-scenes |
| Player save slot | bevy-save-load |
| Logs and frame diagnostics | bevy-debugging-profiling |
| Parallelism, fixed step, handle lifetime | bevy-performance |
cargo test |
bevy-testing-patterns |
| Clips, blend graphs, sprites, lights, materials, UI, or a genre loop | Module directory below |
When not to spawn an entity
Data that is not simulated can be a plain Rust struct or a resource. The Quick Start treats resources as app-wide data. A score or a seed is one Resource inserted at startup. Do not copy a Godot Object / RefCounted / Resource / Node table into Bevy.
Workflows
(a) App scaffold. App::new(), plugins, schedules, and states. The plugins page documents Plugin, DefaultPlugins, MinimalPlugins, and add_plugins. The bevy 0.20.0 crate docs list a bevy_state feature ("built in global state machines"). States, init_state, and OnEnter are the state API. Do not invent a plugin list beyond DefaultPlugins / MinimalPlugins.
(b) Entity. Components plus systems. Movement belongs on a fixed timestep. bevy::time 0.20.0 documents Fixed ("fixed timestep game clock") and run_fixed_main_schedule (FixedMain). Do not invent a schedule label beyond those names.
(c) Data. Components and resources. Not .tres files.
(d) Performance. The ECS page states systems run in parallel by default when they can, and .chain() forces order. Frame-time diagnostics and handle lifetimes are on bevy-performance. No numeric budget is stated on those pages.
Examples
[package]
name = "bevy-app"
version = "0.1.0"
edition = "2021"
[dependencies]
bevy = "0.20"
A new app adds DefaultPlugins, inserts one resource, and spawns the player on startup.
#[derive(Resource)]
struct Score(u32);
#[derive(Component)]
struct Player;
fn spawn_player(mut commands: Commands) {
commands.insert_resource(Score(0));
commands.spawn((Player, Transform::from_xyz(0.0, 0.0, 0.0)));
}
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_systems(Startup, spawn_player)
.run();
}
Input writes velocity. Movement writes Transform. They share Player data, so they are chained on FixedUpdate.
#[derive(Component)]
struct Velocity(Vec2);
fn read_input(
keys: Res<ButtonInput<KeyCode>>,
m
Установить bevy-master в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл bevy-master?
Bevy ECS hub for Bevy 0.20+. Use when starting a Bevy game, choosing ECS boundaries, or picking a Bevy skill. Keywords: Bevy, ECS, bevy-master, schedules, plugins.
Как установить скилл bevy-master?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bevy-master запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub