defi-expert

Validate DeFi protocol integrations for token decimals, denominations, and address checksums.

1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/BarisSozen/claude --skill defi-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defi-expert
Source: https://github.com/BarisSozen/claude/tree/main/.claude/skills/defi-expert
Command: npx skills add https://github.com/BarisSozen/claude --skill defi-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures DeFi integrations consistently use correct data formats, token decimals, denominations, and checksummed addresses to prevent common integration errors.

Core Features & Use Cases

  • Validation of token decimals: verify decimals for common tokens (e.g., USDC=6, ETH/WETH=18) before arithmetic.
  • Standardized denominations: ensure proper units (wei, ray, wad, bps) are used across computations.
  • Address integrity: enforce checksummed addresses and correct formatting in payloads and configs.
  • Review & debug guidance: provides a safety checklist before integrating new protocols like Aave, Uniswap, Curve.

Quick Start

Validate a DeFi protocol integration payload by confirming decimals and units before sending transactions.

Frequently Asked Questions about defi-expert

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

FAQPage Schema
How do I validate token decimals before writing DeFi protocol integration code?

Standardized denomination validation ensures proper units like wei, ray, wad, and bps are applied consistently across DeFi computations. Using correct denominations prevents critical arithmetic errors when handling token amounts in protocol integrations like Aave or Compound.

Why does my DeFi integration fail when sending token amounts to Uniswap or Curve?

DeFi integration failures often occur when token amounts lack proper checksummed addresses or correct denominations. Enforcing address integrity and validating token decimals before sending API payloads prevents these common formatting and transaction errors.

When do I need to enforce checksummed addresses for DeFi protocol integrations?

You need to enforce checksummed addresses for DeFi protocol integrations before any integration code is written or API payloads are sent. This address integrity check ensures correct formatting in configurations and prevents invalid transaction submissions.

Does this DeFi validation approach work with Aave, Compound, and Curve integrations?

Yes, this validation approach applies to protocol integrations such as Aave, Compound, Uniswap, and Curve. It enforces requirements for token decimals, denominations, and checksummed addresses specifically for these DeFi components when handling token amounts.

What is the best way to check wei, ray, wad, and bps denominations in DeFi code?

The best way to check denominations in DeFi code is to apply a standardized validation process ensuring proper units like wei, ray, wad, and bps are used across computations. This enforces correct data formats before executing transactions.