This is a solid reference for testing smart contracts with both Hardhat and Foundry, covering the patterns you'll actually use: fixtures, mainnet forking, gas reporting, and fuzzing. The code examples are practical, showing things like loadFixture for test setup, vm.prank for impersonation, and proper event assertions. It's worth using when you're setting up a test suite from scratch or need to remember the syntax for forking mainnet at a specific block. The Foundry section is leaner but hits the important cheatcodes. Missing some coverage on mocking and more advanced fuzzing strategies, but what's here will handle most contract testing scenarios you'll run into.

skills.sh installs
229
GitHub stars
39.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill web3-testing --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from sickn33/antigravity-awesome-skills

All 708
1cap-go avatarcapacitor-testingcap-go/capacitor-skillscapacitor testing216skills.sh installs
2marcelorodrigo avatarspring-boot-testingmarcelorodrigo/agent-skillsExpert Spring Boot 4 testing specialist that selects the best Spring Boot testing techniques for your situation with Junit 6 and AssertJ.215skills.sh installs
3vudovn avatarwebapp-testingvudovn/antigravity-kitwebapp testing212skills.sh installs
4akillness avatarbackend-testingakillness/oh-my-skillsbackend testing211skills.sh installs
5sickn33 avatarbats-testing-patternssickn33/antigravity-awesome-skillsbats testing patterns206skills.sh installs
6royrvd avatartesting-best-practicesroyrvd/golden-testing-rules-for-aitesting best practices204skills.sh installs