foundry-framework
Expert usage of Foundry (Forge, Cast, Anvil, Chisel) for smart contract development, testing, and deployment. Includes fuzzing, gas reporting, local development, and deployment scripting capabilities.
npx skills add a5c-ai/babysitter --skill foundry-framework --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Foundry Framework Skill Expert-level usage of Foundry, the blazing fast, portable, and modular toolkit for Ethereum application development. ## Capabilities - **Forge Testing**: Write and run Solidity tests with fuzzing - **Gas Optimization**: Generate detailed gas reports and snapshots - **Local Development**: Use Anvil for local blockchain - **Chain Interaction**: Execute Cast commands for on-chain operations - **Project Configuration**: Set up foundry.toml for projects - **Deployment Scripts**: Write and run forge scripts - **REPL Debugging**: Use Chisel for Solidity exploration ## Installation ```bash # Install Foundry curl -L https://foundry.paradigm.xyz | bash # Update to latest foundryup # Verify installation forge --version cast --version anvil --version chisel --version ``` ## Project Setup ### Initialize Project ```bash # New project forge init my_project cd my_project # Add dependencies forge install OpenZeppelin/openzeppelin-contracts forge install foundry-rs/forge-std ``` ### foundry.toml Configuration ```toml [profile.default] src = "src" out = "out" libs = ["lib"] solc = "0.8.20" optimizer = true optimizer_runs = 200 via_ir = false [profile.default.fuzz] runs = 256
- Capabilities
- Installation
- Project Setup
- Initialize Project
- foundry.toml Configuration
- Forge Testing
- Basic Test
- Fuzz Testing
- Invariant Testing
- Fork Testing
- Forge Commands
- Cast Commands
- Read Chain Data
- Send Transactions
Install Foundry curl -L https://foundry.paradigm.xyz | bash Update to latest foundryup Verify installation forge --version cast --version anvil --version chisel --version New project
What does the foundry-framework skill do?
Expert usage of Foundry (Forge, Cast, Anvil, Chisel) for smart contract development, testing, and deployment. Includes fuzzing, gas reporting, local development, and deployment scripting capabilities.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill foundry-framework --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
