Wasm integration

From egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine · View interactive version

Wasm integration is an AI agent skill from the GitHub repository egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine. Integrate, validate, and harden WebAssembly modules in frontend/backend application pipelines. Use when wiring WASM build artifacts with JS/TS loaders, validating module/loader contracts, checking init symbols and runtime assumptions, triaging WASM loading failures, or preparing release sign-off for

How to use this skill

Skill file

WASM Integration

Use this skill to move WebAssembly integration from ad hoc wiring to validated artifact contracts.

Workflow

  1. Define integration contract.
  1. Build and package deterministically.
  1. Validate bundle integrity.
  1. Validate runtime assumptions.
  1. Produce handoff and release gate.

Commands

python3 scripts/validate_wasm_bundle.py \
  --manifest <path/to/wasm_bundle.json>

Treat non-zero exits as blocker findings.

Output Contract

Return:

  1. Bundle Map: module names and artifact paths.
  2. Validation Findings: pass/fail by module with exact mismatch reasons.
  3. Patch Plan: files and integration points to fix.
  4. Verification: command outputs and success criteria.
  5. Residual Risks: runtime assumptions not yet proven.

References

Execution Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.