·multiversx-wasm-debug
</>

multiversx-wasm-debug

multiversx/mx-ai-skills

分析编译的 WASM 二进制文件以进行大小优化、恐慌分析以及使用 DWARF 符号进行调试。在解决合约部署问题、优化二进制文件大小或调试运行时错误时使用。

13安装·2热度·@multiversx

安装

$npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-wasm-debug

SKILL.md

Analyze compiled output.wasm files for size optimization, panic investigation, and source-level debugging. This skill helps troubleshoot deployment issues and runtime errors.

| Panic messages | High | Use scpanic! or strip in release | | Format strings | High | Avoid format!, use static strings | | JSON serialization | Very High | Use binary encoding | | Large static arrays | High | Generate at runtime or store off-chain | | Unused dependencies | Variable | Audit Cargo.toml | | Debug symbols | High | Build in release mode |

| unreachable | Panic without message | Check unwrap(), expect() | | out of gas | Computation limit hit | Check loops, storage access | | memory access | Buffer overflow | Check array indexing | | integer overflow | Math operation | Check arithmetic |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-wasm-debug
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 multiversx-wasm-debug?

分析编译的 WASM 二进制文件以进行大小优化、恐慌分析以及使用 DWARF 符号进行调试。在解决合约部署问题、优化二进制文件大小或调试运行时错误时使用。 来源:multiversx/mx-ai-skills。

如何安装 multiversx-wasm-debug?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-wasm-debug 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/multiversx/mx-ai-skills