Build WASM engine (WebGL2 + WebGPU) and deploy to Cloudflare R2 CDN at engine.spawnforge.ai. Use when engine/ Rust code changes need to ship, or when asked to "deploy engine", "update CDN", or "publish WASM".
Resources
1Install
npx skillscat add tristan578/project-forge/deploy-engine Install via the SkillsCat registry.
SKILL.md
Deploy Engine to R2 CDN
Build both WASM variants and upload to the spawnforge-engine R2 bucket.
Steps
- Build WASM —
bash "${CLAUDE_SKILL_DIR}/scripts/build-and-upload.sh" - Verify — curl
https://engine.spawnforge.ai/engine-pkg-webgl2/spawnforge_engine_bg.wasmreturns 200
Prerequisites
- Rust stable +
wasm32-unknown-unknowntarget wasm-bindgen-cliv0.2.127wranglerCLI authenticated to Cloudflare account0b949ff499d179e24dde841f71d6134f- R2 bucket:
spawnforge-engine
Scripts
bash "${CLAUDE_SKILL_DIR}/scripts/build-and-upload.sh"— Full build + upload pipeline