foundry-testing
Installation
SKILL.md
Foundry Testing
Write Foundry tests and scripts that pass, pin down the specified behavior, and follow the project's conventions.
Ground Rules
- Read
foundry.toml(testandscriptdirectories, fuzz runs, profiles,block_timestamp),remappings.txt, the nearestAGENTS.md, and one or two neighboring tests before writing. Existing layout, base contracts, and helpers win over the defaults below. - Import Forge Std through the project's remapping; in this template that is
forge-std/src/Test.sol. - Keep tests deterministic: derive times from
block.timestamp, which this template pins infoundry.toml, and pin fork block numbers.