Skip to content

Comprehensive smart contract testing guide for Hardhat and Foundry, covering unit tests, fuzzing, and mainnet forking.

CCM score
53 of 100
skills.sh installs
229
GitHub stars
50.5K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers unit tests, fixtures, gas assertions, fuzzing, and mainnet forking across Hardhat 2 and Foundry (Forge)
  • Includes config and test templates for hardhat.config.js and Token.t.sol-style suites, with coverage and gas reporting hooks
  • Requires pinned, lockfile-compatible toolchain versions and local chains only, never broadcasting to funded networks
  • Designed for developers writing and automating tests for Solidity contracts before deployment or source verification

Install

$ npx -y skills add sickn33/agentic-awesome-skills --skill web3-testing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • <support-root>/references/hardhat-setup.md
  • <support-root>/references/foundry-setup.md
  • <support-root>/references/test-patterns.md
  • <support-root>/references/mainnet-forking.md
  • <support-root>/references/contract-verification.md
  • <support-root>/assets/hardhat-config.js
  • <support-root>/assets/test-suite.js
  • <support-root>/assets/foundry.toml
  • <support-root>/scripts/test-contract.sh

Details

Repository
github.com/sickn33/agentic-awesome-skills
Categories
Web3 & Crypto, Testing & QA
First seen
Jun 3, 2026

Questions

What does the web3-testing skill do for smart contracts?

The web3-testing skill guides testing strategies for smart contracts using Hardhat and Foundry. It covers unit tests, integration test suites, gas optimization testing, fuzzing for edge cases, mainnet forking and contract verification on Etherscan.

How do I install the web3-testing skill?

Run npx -y skills add sickn33/agentic-awesome-skills --skill web3-testing -y in a project to install web3-testing. Once installed, the agent can write and run smart contract tests with the Hardhat and Foundry patterns this skill describes.

Where does web3-testing stand in the Web3 and Crypto category?

web3-testing is listed in the Web3 and Crypto category on Claude Marketplaces, next to solana-dev, binance-agentic-wallet, okx-dex-market, gmgn-market and gmgn-token. Its inline guidance focuses on Hardhat and Foundry testing for Ethereum-style smart contracts.

What do I need before using web3-testing?

web3-testing needs project-specific contract fixtures and a Hardhat 2 or Foundry toolchain with pinned versions from your lockfile. Its referenced setup files and scripts are external and not bundled, so the agent must ask for them before running dependent steps.

Can web3-testing fork mainnet for realistic tests?

Yes, web3-testing covers forking mainnet for realistic testing, using a MAINNET_RPC_URL environment variable in its Hardhat and Foundry examples. Forked state stays local, and the skill says never to broadcast or deploy to a funded network as a testing shortcut.

More from sickn33/agentic-awesome-skills

All 682

Similar to Web3 Testing

More Web3 & Crypto