Overview
web3-testing is an open-source testing skill for Claude Code and compatible agents, published by wshobson. Its author describes it as: “Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protoc…”. The project has 39k stars on GitHub and is available under the MIT license. Add it to your setup with `/plugin marketplace add wshobson/agents`.
What web3-testing does
Master comprehensive testing strategies for smart contracts using Hardhat, Foundry, and advanced testing patterns.
Best for
What’s inside
The SKILL.md for web3-testing is organised into these sections:
- When to Use This Skill
- Hardhat Testing Setup
- Unit Testing Patterns
- Foundry Testing (Forge)
- Advanced Testing Patterns
- Snapshot and Revert
- Mainnet Forking
- Impersonating Accounts
- Additional patterns and templates
Installation
Add web3-testing to your agent with:
/plugin marketplace add wshobson/agents Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — ships a claude code plugin marketplace
- Codex — declared in the repository topics
- Cursor — declared in the repository topics
- OpenCode — declared in the repository topics
- GitHub Copilot — declared in the repository topics
- Antigravity — declared in the repository topics
License
web3-testing is published under the MIT license.
Strengths
- Clear MIT license — safe to read and adapt within its terms
- Ships in wshobson/agents, an established project with 39,066 GitHub stars
- Works with Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, Antigravity
- Actively maintained — repository updated in the last 90 days
- Its repository gained 669 GitHub stars over the last 24 days
Author
Topics
Frequently asked questions
- What does web3-testing do?
- Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.
- How do I install web3-testing?
- Run /plugin marketplace add wshobson/agents in your agent, then reload your skills. Review the source at https://github.com/wshobson/agents before installing.
- Is web3-testing free to use?
- Yes. web3-testing is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Which agents does web3-testing work with?
- web3-testing lists Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, and Antigravity — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does web3-testing come from?
- web3-testing ships inside wshobson/agents, a repository that contains 54 catalogued skills in total. The repository's 39,066 GitHub stars apply to that whole collection, not to this skill on its own.