Install
openclaw skills install revertwtf-catalog-entryAdd or update precise revert.wtf catalog entries, fixtures, source metadata, and matcher tests for one or a small set of EVM/RPC/provider/wallet/protocol errors.
openclaw skills install revertwtf-catalog-entryUse this skill when the task is to add, fix, rename, deprecate, or verify specific entries in the revert.wtf error catalog.
packages/catalog/src/data/shards/ as the source of truth.packages/catalog/src/sources.ts.requires for guard context, especially broad JSON-RPC codes like -32000 or generic provider messages.layer: evm, rpc, provider, wallet, library, account_abstraction, protocol, or unknown.source: ecosystem/library/provider/protocol id.category: stable free-form bucket such as revert, json_rpc, gas_estimation, facilitator_verify, or signature.packages/catalog/src/data/shards/core/.packages/catalog/src/data/shards/ecosystems/.CatalogEntry with:
idpatternssummarylikelyCausesnextStepsretryHelpful, increasingGasHelpful, and confidencereferencesfixtures/<layer-or-source>/ when practical.selector for known custom error selectors.json_path for structured provider/MCP/facilitator fields such as code, status, invalidReason, or errorReason.aa_code for ERC-4337 AAxx codes.Run the smallest useful set:
node scripts/build-catalog-data.mjs --generate --dist --check
node --experimental-strip-types scripts/validate-catalog.ts
node scripts/check-catalog-duplicates.mjs --fail-on=id,same-source-selector
node node_modules/typescript/bin/tsc -p packages/catalog/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/parser/tsconfig.json --noEmit
If the change touches parser behavior, also run parser tests when the local environment allows it:
pnpm --filter @revertwtf/parser test
On this Windows workspace, recursive pnpm/Vitest or Next commands may fail with spawn EPERM. If that happens, fall back to direct tsc and targeted Node smoke checks, and report the limitation.