← Back to Skills Marketplace
mrtdlgc

revert.wtf Catalog Entry Skill

by mrtdlgc · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
18
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install revertwtf-catalog-entry
Description
Add 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 err...
README (SKILL.md)

revert.wtf Catalog Entry Skill

Use this skill when the task is to add, fix, rename, deprecate, or verify specific entries in the revert.wtf error catalog.

Ground Rules

  • Treat packages/catalog/src/data/shards/ as the source of truth.
  • Keep source IDs stable. Put display names, aliases, lifecycle labels, legacy/sunsetting/renamed notes, and source references in packages/catalog/src/sources.ts.
  • Keep catalog, parser, MCP, CLI, and web result paths package-owned and reproducible.
  • Prefer narrow evidence over broad matching. Avoid plain substrings for generated custom errors when a selector exists.
  • Use requires for guard context, especially broad JSON-RPC codes like -32000 or generic provider messages.

Workflow

  1. Inspect the raw error and classify it:
    • 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.
  2. Choose the shard:
    • Core standards/providers go under packages/catalog/src/data/shards/core/.
    • Protocol/app/ecosystem contracts go under packages/catalog/src/data/shards/ecosystems/.
  3. Add a CatalogEntry with:
    • globally unique kebab-case id
    • human title
    • tight patterns
    • concise summary
    • concrete likelyCauses
    • action-oriented nextSteps
    • honest retryHelpful, increasingGasHelpful, and confidence
    • source-backed references
  4. Add or update fixtures under fixtures/\x3Clayer-or-source>/ when practical.
  5. Add parser or catalog tests when behavior could regress.

Pattern Choices

  • Use selector for known custom error selectors.
  • Use json_path for structured provider/MCP/facilitator fields such as code, status, invalidReason, or errorReason.
  • Use aa_code for ERC-4337 AAxx codes.
  • Use exact regexes for revert reason strings generated from source code.
  • Use broad substrings only when the phrase is distinctive enough across the whole catalog.

Verification

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.

Usage Guidance
Install this if you work on the revert.wtf catalog and want structured guidance for adding precise error entries and tests. The metadata tags mention crypto and sensitive credentials, but the artifact itself does not request wallet credentials or secret access; still review any generated catalog changes and run the recommended checks before merging.
Capability Tags
cryptorequires-walletrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose is to add, fix, verify, or test specific revert.wtf error catalog entries, and the instructions stay within that catalog-maintenance workflow.
Instruction Scope
The skill gives bounded editing and verification guidance for known repo paths, fixtures, metadata, and tests; it does not ask the agent to override user intent or broaden its authority.
Install Mechanism
The artifact consists of a single non-executable SKILL.md file with no declared dependencies, scripts, or installer behavior.
Credentials
Suggested Node, TypeScript, and pnpm verification commands are proportionate for a TypeScript catalog repository and are user-directed development checks.
Persistence & Privilege
No background workers, persistence, privilege escalation, credential harvesting, wallet actions, or automatic network behavior are present in the artifact.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install revertwtf-catalog-entry
  3. After installation, invoke the skill by name or use /revertwtf-catalog-entry
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of revertwtf-catalog-entry. - Provides a workflow for adding, fixing, renaming, or verifying error catalog entries in revert.wtf. - Defines clear ground rules for source of truth, stability, naming, and pattern matching in the catalog. - Details step-by-step process for classifying and submitting new or updated error entries. - Sets out conventions for matching error patterns and structuring metadata. - Includes verification and testing commands to ensure reliable catalog updates.
Metadata
Slug revertwtf-catalog-entry
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is revert.wtf Catalog Entry Skill?

Add 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 err... It is an AI Agent Skill for Claude Code / OpenClaw, with 18 downloads so far.

How do I install revert.wtf Catalog Entry Skill?

Run "/install revertwtf-catalog-entry" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is revert.wtf Catalog Entry Skill free?

Yes, revert.wtf Catalog Entry Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does revert.wtf Catalog Entry Skill support?

revert.wtf Catalog Entry Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created revert.wtf Catalog Entry Skill?

It is built and maintained by mrtdlgc (@mrtdlgc); the current version is v0.1.0.

💬 Comments