Skip to content
TASFT
Tech & Coding

property-based-testing

Writes, reviews, and debugs property-based tests — Hypothesis, fast-check, proptest, jqwik, rapid, and Echidna or Medusa for Solidity invariants. Use whenever tests should cover a whole input domain instead of a hand-picked list of examples: encode/decode and serialize/deserialize pairs, parsers, canonicalizers and normalizers, validators, numeric and Decimal types, comparators and sort order, data structures, and smart-contract state invariants. Also use when adding cases to an existing @given, fast-check, or proptest suite, when judging whether existing property tests assert anything real, and when a generator has shrunk a counterexample and you need to tell a wrong property from a genuine bug. Not for coverage-guided binary fuzzing (libFuzzer, AFL), mutation-testing campaigns, static analysis, benchmarking, or end-to-end UI tests.

Install

GitHub CLI, public preview, gh 2.90+ · Pinned to the reviewed commit. Inspect first with: gh skill preview trailofbits/skills plugins/property-based-testing/skills/property-based-testing

gh skill install trailofbits/skills plugins/property-based-testing/skills/property-based-testing --agent claude-code --pin 123037ec8aed26f0d86327cc39137ee5043e5deb

Copy folder (documented by the agent's docs) · Copy the skill folder from the source repository at the reviewed commit into personal.

~/.claude/skills/property-based-testing/

Listed as compatible with Claude Code, Cursor, OpenAI Codex, Kiro, GitHub Copilot, Gemini CLI. Compatibility is declared in the listing; TASFT has not tested this skill in each agent.

Walkthrough

No step-by-step guide has been written for this skill yet. Its instructions are in the source SKILL.md; see the Markdown and JSON views for the record.

Reviews

Reviews open once verified users exist.

Related skills