bevy-ecs

Optimize Bevy 0.15+ ECS applications with profiling and code-level improvements.

1|1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/arxxyr/dotfiles --skill bevy-ecs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bevy-ecs
Source: https://github.com/arxxyr/dotfiles/tree/main/dot_agents/skills/bevy-ecs
Command: npx skills add https://github.com/arxxyr/dotfiles --skill bevy-ecs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides performance optimization guidance for Bevy 0.15+ ECS, addressing storage strategies, archetype fragmentation, change detection, run conditions, observers, parallel iteration, practical optimization lists, micro-optimization techniques, and profiling infrastructure.

Core Features & Use Cases

  • Performance Optimization: Offers comprehensive strategies to enhance the performance of ECS applications.
  • Storage Strategies: Identifies the most efficient storage options for components.
  • Archetype Fragmentation: Recommends methods to manage the fragmentation of archetypes.
  • Change Detection: Outlines techniques to reduce unnecessary computations.
  • Run Conditions: Discusses ways to skip execution of systems under certain conditions.
  • Use Case: For game developers or application builders using Bevy or similar ECS frameworks who want to improve their application's performance and resource utilization.

Quick Start

Run the bevy-ecs skill on your Bevy project to apply optimization best practices.

Frequently Asked Questions about bevy-ecs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Bevy ECS performance for archetype fragmentation?

To optimize Bevy ECS archetype fragmentation, apply storage strategies and component grouping methods to manage archetype fragmentation, reducing iteration overhead and improving query performance in Bevy 0.15+ applications.

What are the best practices for profiling Bevy ECS applications?

Profiling Bevy ECS applications involves using profiling infrastructure to identify bottlenecks, measuring system execution times, and applying code-level optimizations to target resource-heavy systems and enhance overall resource utilization.

Can I use run conditions to skip Bevy ECS systems?

Yes, you can use run conditions in Bevy ECS to skip the execution of systems under certain conditions, which reduces unnecessary computations and significantly improves your application's frame rate.

Does this Bevy ECS optimization guidance apply to older framework versions?

This Bevy ECS optimization guidance specifically targets Bevy 0.15+ systems, focusing on newer features like observers and modern change detection techniques, which may not apply to older framework versions.

Why does change detection cause performance bottlenecks in Bevy ECS?

Change detection causes performance bottlenecks in Bevy ECS when overused, triggering unnecessary component computations and system reruns, which can be mitigated by outlining techniques to reduce unnecessary computations.