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 (test and script directories, fuzz runs, profiles, block_timestamp), remappings.txt, the nearest AGENTS.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 in foundry.toml, and pin fork block numbers.

References

Installs
1
GitHub Stars
642
First Seen
11 days ago