Agent skill

foundry

Ethereum development with foundry (forge, cast, anvil)

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/foundry

SKILL.md

When to Use This Skill

This guide covers how we write Solidity code for Ehtereum programs with foundry (forge, cast, anvil)

References

Check appropriate references before getting started.

Forge

Need to... Read this resource
understand how to use forge for testing forge-test-overview.md
write tests in Solidity with forge forge-writing-tests.md
use cheatcodes to manipulate blockchain state forge-test-cheatcodes.md
debug tests with detailed call traces forge-test-traces.md
test with randomized inputs (fuzz testing) forge-fuzz-testing.md
organize test cases in table format forge-table-testing.md
test protocol invariants forge-invariant-testing.md
replay test failures forge-replay-testing.md
test against live blockchain state (forking) forge-fork-testing.md
deploy smart contracts forge-deploy.md
generate gas consumption reports forge-gas-reports.md
capture gas snapshots for functions forge-gas-function-snapshots.md
capture gas snapshots for code sections forge-gas-section-snapshots.md
lint Solidity code forge-linting.md
use Forge Standard Library utilities forge-std.md

Cast

Need to... Read this resource
use cast for Ethereum interactions cast-overview.md

Anvil

Need to... Read this resource
run a local Ethereum development node anvil-overview.md

Didn't find tool you were looking for?

Be as detailed as possible for better results