/install revertwtf-parser-decoder
revert.wtf Parser And Decoder Skill
Use this skill when working in packages/parser, packages/selectors, packages/aa, or shared result types in packages/core.
Boundaries
- Parser behavior must stay reproducible from package data and caller-provided input.
- Keep live lookups out of parser paths.
- No website-only explanation logic in
packages/parser. - Website, CLI, MCP, and packages should consume the same parser/catalog results.
- Preserve evidence-based ranking. Specific decoded evidence should beat broad wrappers.
- Keep full catalog-backed surfaces on server/API boundaries. Do not make a browser client download the catalog for one decode/search.
- Use package subpaths for small imports:
@revertwtf/parser/decode,@revertwtf/parser/explain,@revertwtf/catalog/panic,@revertwtf/aa/parse,@revertwtf/aa/explain.
Parser Map
packages/parser/src/normalizeError.tscollects messages, codes, error names, revert data, method/action hints, and trace frames.packages/parser/src/extractRevertData.tsfinds revert bytes in nested provider and simulator payloads.packages/parser/src/extractTraceFailures.tssummarizes failed call frames.packages/parser/src/decodeRevertData.tsdecodes SolidityError(string),Panic(uint256), provided ABI errors, and selector catalog matches.packages/parser/src/matchCatalog.tsindexes and matches catalog patterns.packages/parser/src/explain.tsranks decoded results, trace evidence, and catalog matches into user-facing explanations.packages/parser/src/browser*.ts,packages/catalog/src/browser.ts, andpackages/aa/src/browser*.tsprotect browser-condition imports from accidental full-data bundles.packages/aa/src/handles ERC-4337 AAxx and EntryPointFailedOp/FailedOpWithRevert.
Workflow
- Reproduce with a fixture or minimal object.
- Decide whether the issue belongs in:
- normalization/extraction,
- revert decoding,
- catalog matching,
- AA decoding,
- selector data,
- or catalog entry data.
- Keep the behavioral change narrow and covered by tests.
- Add fixtures for new provider shapes or revert payloads.
- Avoid changing match priority globally unless a test proves the previous order was wrong.
Tests And Checks
node node_modules/typescript/bin/tsc -p packages/core/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/selectors/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/parser/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/aa/tsconfig.json --noEmit
When the local runner allows it:
pnpm --filter @revertwtf/parser test
pnpm --filter @revertwtf/aa test
pnpm --filter @revertwtf/selectors test
If pnpm/Vitest fails with spawn EPERM, report that and include direct tsc plus a targeted Node smoke check.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install revertwtf-parser-decoder - 安装完成后,直接呼叫该 Skill 的名称或使用
/revertwtf-parser-decoder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
revert.wtf Parser And Decoder Skill 是什么?
Modify or debug revert.wtf normalization, revert-data extraction, trace extraction, ABI decoding, catalog matching, selector lookup, or ERC-4337 decoding beh... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 18 次。
如何安装 revert.wtf Parser And Decoder Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install revertwtf-parser-decoder」即可一键安装,无需额外配置。
revert.wtf Parser And Decoder Skill 是免费的吗?
是的,revert.wtf Parser And Decoder Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
revert.wtf Parser And Decoder Skill 支持哪些平台?
revert.wtf Parser And Decoder Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 revert.wtf Parser And Decoder Skill?
由 mrtdlgc(@mrtdlgc)开发并维护,当前版本 v0.1.0。