rigor

Validate BigInt safety, on-chain data sources, and receipt guards in TypeScript web3 components.

2|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/0xHoneyJar/rune --skill rigor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rigor
Source: https://github.com/0xHoneyJar/rune/tree/main/.claude/skills/rigor
Command: npx skills add https://github.com/0xHoneyJar/rune --skill rigor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validate data correctness in web3 components to prevent on-chain mistakes, inconsistent state, and faulty transactions.

Core Features & Use Cases

  • BigInt safety: enforce correct falsy checks and safe arithmetic with 0n values.
  • Data source integrity: promote reliable on-chain data sourcing over stale or indexed data.
  • Receipt guards: prevent re-execution and duplicate effects from transaction receipts.
  • Stale closures prevention: apply patterns that avoid stale state closures in UI logic interacting with contracts.
  • Use Case: audit a React + TypeScript module that handles token transfers to ensure correctness before deployment.

Quick Start

Use the rigor command on a specific file: /rigor VaultWithdraw.tsx Or run /rigor to validate the current context.

Frequently Asked Questions about rigor

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

FAQPage Schema
How do I validate BigInt safety in TypeScript web3 components?

Validate BigInt safety in TypeScript web3 components by enforcing correct falsy checks and safe arithmetic with 0n values. Use targeted validation commands to audit your TSX files, preventing inconsistent state and faulty on-chain transactions.

How do I prevent stale closures in React components interacting with smart contracts?

Prevent stale closures in React components interacting with smart contracts by applying specific patterns that avoid stale state closures in UI logic. These patterns ensure your contract interactions use current state, avoiding duplicate effects.

Why does my web3 UI execute duplicate effects from transaction receipts?

Your web3 UI executes duplicate effects from transaction receipts due to missing receipt guards. Implement receipt guard patterns to prevent re-execution and ensure data correctness across UI and contract interactions.

How do I ensure reliable on-chain data sourcing instead of stale indexed data?

Ensure reliable on-chain data sourcing instead of stale indexed data by promoting direct on-chain data sources within your TypeScript modules. This data source integrity check guarantees your web3 components operate on accurate, real-time blockchain state.

Can I audit a React and TypeScript token transfer module for data correctness before deployment?

Yes, you can audit a React and TypeScript token transfer module for data correctness before deployment. Run the validation command on your specific TSX file to check BigInt safety, data sources, and receipt guards.

Do I need special setup to validate data correctness in web3 TypeScript files?

No, you do not need special setup to validate data correctness in web3 TypeScript files. You can invoke the validation command directly on TypeScript or TSX files to receive concrete checks and guidance immediately.