Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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
Полный SKILL.md на GitHub

Установить bevy-master в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/2d-animation-ecs-ownership.mdreferences/2d-animation.mdreferences/3d-lighting-ecs-ownership.mdreferences/3d-lighting.mdreferences/3d-materials-ecs-ownership.mdreferences/3d-materials.mdreferences/3d-world-building-ecs-ownership.mdreferences/3d-world-building.mdreferences/ability-system-ecs-ownership.mdreferences/ability-system.mdreferences/adapt-2d-to-3d-ecs-ownership.mdreferences/adapt-2d-to-3d.mdreferences/adapt-3d-to-2d-ecs-ownership.mdreferences/adapt-3d-to-2d.mdreferences/adapt-desktop-to-mobile-ecs-ownership.mdreferences/adapt-desktop-to-mobile.mdreferences/adapt-mobile-to-desktop-ecs-ownership.mdreferences/adapt-mobile-to-desktop.mdreferences/ai-navigation-ecs-ownership.mdreferences/ai-navigation.mdreferences/animation-ecs-ownership.mdreferences/animation-graph-ecs-ownership.mdreferences/animation-graph.mdreferences/animation.mdreferences/app-resources-ecs-ownership.mdreferences/app-resources.mdreferences/asset-scenes-ecs-ownership.mdreferences/asset-scenes.mdreferences/audio-systems-ecs-ownership.mdreferences/audio-systems.mdreferences/camera-systems-ecs-ownership.mdreferences/camera-systems.mdreferences/character-movement-ecs-ownership.mdreferences/character-movement.mdreferences/combat-system-ecs-ownership.mdreferences/combat-system.mdreferences/data-resources-ecs-ownership.mdreferences/data-resources.mdreferences/debugging-profiling-ecs-ownership.mdreferences/debugging-profiling.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить bevy-master с