Property-based testing (Trail of Bits)
SkillWrite and review property-based tests with Hypothesis, fast-check, proptest and more.
Helps Claude test whole input domains rather than a few hand-picked examples. It offers a catalog of properties worth testing (round-trips, idempotence, ordering, invariants) for parsers, serializers, validators, numeric types and smart contracts. It also flags property tests that quietly assert nothing. Covers Hypothesis, fast-check, proptest, jqwik, rapid, and Echidna/Medusa for Solidity.
Try asking:
- "Add Hypothesis tests for my JSON encoder and decoder"
- "Are my fast-check tests actually checking anything?"
- "Write invariant tests for this ERC-20 contract"
Source: trailofbits/skills · CC-BY-SA-4.0 · by Trail of Bits

Log in to join the discussion.