foundry-testing
CommunityMaster Foundry tests for Solidity.
Software Engineering#foundry#forge#cheatcodes#solidity-testing#fork-testing#event-testing#gas-reporting
Authorccashwell
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing robust Solidity tests with Foundry can be verbose and error-prone; this skill provides a reusable set of patterns and cheatcodes to accelerate test authoring and ensure consistent test quality.
Core Features & Use Cases
- Cheatcodes and forge-std assertions for deterministic tests.
- Fork testing patterns to validate behavior on forked networks.
- Gas reporting and optimization guidance to track performance.
- Event testing and test organization patterns for scalable suites.
- Real-world scenarios: unit tests, integration tests, and forks in Foundry projects.
Quick Start
Create a new Foundry test file under test/ and begin with a simple test using forge-std.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: foundry-testing Download link: https://github.com/ccashwell/evm-cortex/archive/main.zip#foundry-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.