wasm-optimizer

Community

Wasm optimizer for fast, compact game adapters.

Authorhdkz-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides guidelines and tools for optimizing WebAssembly modules used in the project, particularly for game engine adapters (e.g., Stockfish).

Core Features & Use Cases

  • Size optimization: Strategies to minimize .wasm binary size (e.g., using wasm-opt, compiler flags).
  • Loading Performance: Best practices for fetching, compiling, and instantiating Wasm modules (streaming compilation).
  • Memory Management: Guidelines for managing Wasm memory from JavaScript/TypeScript to prevent leaks.
  • Integration: Patterns for seamless communication between Wasm and the main JS thread or Web Workers.

Quick Start

Run the wasm optimizer on your Stockfish WebAssembly build to minimize size and improve streaming load performance.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wasm-optimizer
Download link: https://github.com/hdkz-dev/multi-game-engines/archive/main.zip#wasm-optimizer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.