0x-shashi/web3-audit-skills/spec-compliance

Claude Code and agent skill by 0x-shashi/web3-audit-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Verify smart contract implementations comply with EIP/ERC standards and protocol specifications. Use when checking ERC-20, ERC-721, ERC-1155, ERC-4626, or EIP-712 compliance, or when identifying non-standard token behavior that causes integration failures.

Install

npx vskill@latest install 0x-shashi/web3-audit-skills/spec-compliance

SKILL.md

Spec Compliance Skill

Verify smart contract implementations comply with EIP/ERC standards and protocol specifications. Non-compliant implementations cause integration failures, fund losses, and security vulnerabilities.


Why Compliance Matters

Impact of Non-ComplianceExample
Integration failureDEXs can't list non-standard ERC20 (missing decimals())
Silent fund lossERC721 safeTransferFrom not calling onERC721Received = NFTs lost
Security vulnerabilityEIP-712 without chainId = cross-chain signature replay
Accounting errorsERC4626 wrong rounding direction = vault inflation attack
Ecosystem rejectionBridges, wallets, indexers refuse non-standard tokens

Supported Standards

Token Standards
StandardTypeKey FunctionsCommon Issues
ERC-20Fungible tokentransfer, approve, transferFromMissing return values, approve race
ERC-721Non-fungible tokensafeTransferFrom, approve, ownerOfMissing receiver callback
ERC-1155Multi-tokensafeTransferFrom, safeBatchTransferFromBatch operation atomicity
ERC-4626Tokenized vaultdeposit, withdraw, convertToSharesRounding direction, first depositor attack
ERC-2612Permit (gasless approve)permit, nonces, DOMAIN_SEPARATORSignature replay, frontrunning
Infrastructure Standards
StandardTypeSecurity Focus
EIP-712Typed data signingDomain separator, chain ID
EIP-1967Proxy storage slotsStandard slot locations
EIP-2535Diamond standardSelector collision, storage isolation
EIP-4337Account abstractionUserOp validation, paymaster trust
EIP-1153Transient storageTSTORE/TLOAD lifecycle
EIP-2981Royalty infoNot enforceable (informational only)

Compliance Verification Approach

1. Interface Completeness

Does the contract implement ALL required functions with correct signatures?

solidity
// ERC-20 REQUIRED interface (IERC20)
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address from, address to, uint256 amount) external returns (bool);
// ERC-20 REQUIRED events
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
// OPTIONAL but expected by most integrations
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
2. Behavioral Compliance

Does each function behave as specified? (Not just exist with the right signature)

3. Edge Case Handling

Does the implementation handle boundary conditions specified in the standard?


Resources

Workflows

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
46
Repository forks
6
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/0x-shashi/web3-audit-skills/spec-compliance/badge)](https://verified-skill.com/skills/0x-shashi/web3-audit-skills/spec-compliance)

Something wrong with this skill or its page? Tell us.