egorfedorov/slot-casino-game-developer-skills-for-stake-engine
wasm-integration
Integrate, validate, and harden WebAssembly modules in frontend/backend application pipelines.
Design & UI
Use judgment
Installs
14
Stars
53
Security
No audit
Freshness
Unknown
Updated
—
First seen Mar 10, 2026
Installation
Project
Global
Entire repo
Entire repo (global)
$
npx skills add egorfedorov/slot-casino-game-developer-skills-for-stake-engine --skill wasm-integration
Copy
SKILL.md
WASM Integration
Use this skill to move WebAssembly integration from ad hoc wiring to validated artifact contracts.
Workflow
Define integration contract.
Document module roles, expected exports/imports, init symbol, and runtime constraints.
Declare artifact locations and loader ownership.
Build and package deterministically.
Produce .wasm and loader artifacts with reproducible build flags.
Keep artifact naming stable for deployment and caching.
Validate bundle integrity.
Verify wasm binary header/version and non-empty content.
Verify loader files exist and include WASM instantiation path.
Verify required symbols are referenced by loader contract.
Validate runtime assumptions.
Check thread/SIMD feature assumptions and fallbacks where required.
Confirm error handling around failed fetch/instantiate paths.
Produce handoff and release gate.
Deliver pass/fail validation summary, patch plan, and unresolved risks.
Include exact commands for reproducible verification.
Commands
python3 scripts/validate_wasm_bundle.py \
--manifest <path/to/wasm_bundle.json>
Treat non-zero exits as blocker findings.
Output Contract
Return:
Bundle Map: module names and artifact paths.
Validation Findings: pass/fail by module with exact mismatch reasons.
Patch Plan: files and integration points to fix.
Verification: command outputs and success criteria.
Residual Risks: runtime assumptions not yet proven.
References
references/workflow.md: end-to-end integration flow.
references/runtime-contracts.md: expected loader/module contracts.
references/signoff-template.md: release handoff template.
Execution Rules
Keep module-loader contracts explicit and versioned.
Validate artifact presence and binary sanity before runtime debugging.
Require deterministic error handling for load/init failures.
Treat missing critical symbols as blocker issues.