Agent SkillsAgent Skills
majiayu000

foundry

@majiayu000/foundry
majiayu000
275
50 forks
Updated 5/6/2026
View on GitHub

Ethereum development with foundry (forge, cast, anvil)

Installation

$npx agent-skills-cli install @majiayu000/foundry
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Pathskills/development/foundry/SKILL.md
Branchmain
Scoped Name@majiayu000/foundry

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

npx agent-skills-cli list

Skill Instructions


name: foundry description: Ethereum development with foundry (forge, cast, anvil)

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 testingforge-test-overview.md
write tests in Solidity with forgeforge-writing-tests.md
use cheatcodes to manipulate blockchain stateforge-test-cheatcodes.md
debug tests with detailed call tracesforge-test-traces.md
test with randomized inputs (fuzz testing)forge-fuzz-testing.md
organize test cases in table formatforge-table-testing.md
test protocol invariantsforge-invariant-testing.md
replay test failuresforge-replay-testing.md
test against live blockchain state (forking)forge-fork-testing.md
deploy smart contractsforge-deploy.md
generate gas consumption reportsforge-gas-reports.md
capture gas snapshots for functionsforge-gas-function-snapshots.md
capture gas snapshots for code sectionsforge-gas-section-snapshots.md
lint Solidity codeforge-linting.md
use Forge Standard Library utilitiesforge-std.md

Cast

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

Anvil

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