analyze-wast

Analyze WAST files to debug WebAssembly compilation issues and generate regression tests.

29|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/Milky2018/wasmoon --skill analyze-wast
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-wast
Source: https://github.com/Milky2018/wasmoon/tree/main/.claude/skills/analyze-wast
Command: npx skills add https://github.com/Milky2018/wasmoon --skill analyze-wast

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complexity of debugging WebAssembly test failures by providing systematic analysis across compilation stages.

Core Features & Use Cases

  • Compilation Analysis: Examines IR, VCode, and machine code to pinpoint WASM compilation issues.
  • Regression Testing: Automatically creates comprehensive tests to prevent future failures.

Quick Start

Analyze the failing test in 'spec/elem.wast' to identify the root cause.

Frequently Asked Questions about analyze-wast

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

FAQPage Schema
How do I debug WebAssembly test failures across compilation stages?

Debug WebAssembly test failures by analyzing compilation stages—IR, VCode, and machine code—to pinpoint where WASM compilation breaks. This Skill examines each stage systematically to identify root causes in failing WAST tests and wasmoon compilation bugs.

What is WAST and when do I need to analyze it?

WAST is WebAssembly's text format used for spec tests. Analyze WAST files when debugging test failures in spec/*.wast, investigating compilation regressions, or reproducing wasmoon issues to understand how the compiler handles your test cases.

How do I create regression tests from failing WebAssembly tests?

Generate minimal regression tests automatically by analyzing your failing WAST test. This creates comprehensive artifacts that document the failure, prevent future regressions, and provide minimal reproducible examples for debugging compilation stages.

Can I use this to reproduce WebAssembly compilation bugs?

Yes. This Skill reproduces WASM compilation failures by analyzing IR, VCode, and machine code outputs from wasmoon. Extract minimal test cases and artifacts that demonstrate the exact compilation issue for targeted debugging.

What compilation artifacts does WAST analysis produce?

WAST analysis produces intermediate representation (IR), virtual code (VCode), and machine code outputs that expose where compilation fails. These artifacts pinpoint bugs and serve as evidence for regression tests and debugging reports.