deploy-engine

Build WASM engine variants and deploy them to Cloudflare R2.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, wasm-bindgen, wrangler, git, curl, powershell, and includes scripts (resource) components.

What problem does it solve?

Build and publish WebAssembly engine variants (WebGL2 + WebGPU) to the Cloudflare R2 CDN, ensuring ready-to-use artifacts whenever engine code changes or deployment is requested.

Core Features & Use Cases

  • Build both WASM variants (webgl2 and webgpu) for browser-based engines.
  • Upload and publish artifacts to the spawnforge-engine R2 bucket and make them available at engine.spawnforge.ai.
  • Validate deployment, provide repeatable publishing steps, and support rapid iteration when engine code is updated.

Quick Start

Run the build-and-upload script to compile all WASM variants and publish them to the spawnforge-engine R2 bucket

Frequently Asked Questions about deploy-engine

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

FAQPage Schema
How do I deploy WebAssembly engine variants to Cloudflare R2?

You deploy WebAssembly engine variants by running a build-and-upload script that compiles WebGL2 and WebGPU targets and publishes the artifacts to the spawnforge-engine R2 bucket.

What dependencies are required to build WASM and deploy it to Cloudflare CDN?

Building WASM and deploying it to Cloudflare CDN requires Rust with the wasm32-unknown-unknown target, wasm-bindgen CLI v0.2.108, wrangler CLI, git, curl, and access to a Cloudflare R2 bucket.

Does deploying WASM to Cloudflare R2 support both WebGL2 and WebGPU variants?

Yes, deploying WASM to Cloudflare R2 supports both WebGL2 and WebGPU variants, compiling each engine version to ensure browser-based artifacts are ready for use at engine.spawnforge.ai.

What's the best way to automate WebAssembly engine updates when Rust code changes?

Automating WebAssembly engine updates when Rust code changes involves triggering the build-and-upload script, which compiles new WASM variants and uploads them to the Cloudflare R2 bucket for immediate CDN availability.

Why does my WASM engine deployment to Cloudflare R2 fail during the build step?

WASM engine deployment to Cloudflare R2 fails during the build step if the Rust wasm32-unknown-unknown target is missing or if the required wasm-bindgen CLI v0.2.108 is not installed in your environment.