rust-engine

Develop Bevy ECS components and bridge systems for SpawnForge engine.

5|1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Tristan578/project-forge --skill rust-engine-tristan578
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-engine
Source: https://github.com/Tristan578/project-forge/tree/main/.claude/skills/rust-engine
Command: npx skills add https://github.com/Tristan578/project-forge --skill rust-engine-tristan578

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Engine development for SpawnForge often struggles to maintain strict separation between core Rust logic and browser-specific bridge code, risking architectural drift and fragile WASM interop during engine evolution.

Core Features & Use Cases

  • Enforces engine/src/** architectural boundaries, guiding the development of Bevy ECS components, bridge systems, and pending queues.
  • Standardizes command dispatch and pending work flows to map JSON-like commands to deterministic engine actions.
  • Provides validation tooling and documented workflows to verify Bevy 0.18 compatibility, bridge isolation, and wasm-target builds.
  • Use Case: Modify engine components with confidence while preserving architectural integrity and production-grade guarantees.

Quick Start

Start by updating engine/src components, then run the architecture validator and WASM cargo checks to confirm correctness.

Frequently Asked Questions about rust-engine

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

FAQPage Schema
How do I maintain strict architecture boundaries between core Rust logic and WASM bridge systems in Bevy?

To maintain architecture boundaries between Rust and WASM, enforce engine/src/** separation by standardizing Bevy ECS components, bridge systems, and pending queues to prevent architectural drift during engine evolution.

How do I map JSON-like commands to deterministic Bevy ECS actions?

Mapping JSON-like commands to deterministic Bevy ECS actions requires standardizing command dispatch and pending work flows, ensuring bridge systems safely queue and execute engine actions without race conditions.

Can I use Bevy 0.18 conventions for WASM target builds in a production engine?

Yes, Bevy 0.18 conventions support WASM target builds in a production engine by enforcing validation workflows, command patterns, and bridge isolation to ensure deterministic builds and prevent regressions.

What is the best way to validate Bevy ECS components and WASM interop during engine development?

The best way to validate Bevy ECS components and WASM interop is running an architecture validator alongside WASM cargo checks, confirming engine/src/** boundaries and Bevy 0.18 compatibility after component updates.

Why does my WASM bridge interop break when modifying core Rust engine components?

WASM bridge interop breaks when modifying core Rust components due to architectural drift, which occurs when strict engine/src/** boundaries and pending queue command dispatch patterns are not enforced.

Do I need pending queues to handle command dispatch in a Bevy ECS engine?

Yes, pending queues are needed to handle command dispatch in a Bevy ECS engine because they map JSON-like commands to deterministic engine actions, ensuring safe and scalable production-grade execution.