{
  "slug": "property-based-testing",
  "title": "property-based-testing",
  "summary": "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.",
  "type": null,
  "category": "tech",
  "difficulty": null,
  "est_time": null,
  "agents": [
    "claude",
    "cursor",
    "codex",
    "kiro",
    "copilot",
    "gemini"
  ],
  "requires": [],
  "output": "",
  "steps": [],
  "declared_permissions": [],
  "audience_note": null,
  "license": "CC-BY-SA-4.0",
  "license_url": "https://github.com/trailofbits/skills/blob/123037ec8aed26f0d86327cc39137ee5043e5deb/LICENSE",
  "share_alike": {
    "notice": "Share-alike license: adaptations must use the same license.",
    "attribution": {
      "owner": "trailofbits",
      "url": "https://github.com/trailofbits/skills/tree/123037ec8aed26f0d86327cc39137ee5043e5deb/plugins/property-based-testing/skills/property-based-testing"
    },
    "written_by": "TASFT"
  },
  "version": "123037e",
  "updated_at": "2026-09-16",
  "source": {
    "url": "https://github.com/trailofbits/skills/tree/123037ec8aed26f0d86327cc39137ee5043e5deb/plugins/property-based-testing/skills/property-based-testing",
    "commit_sha": "123037ec8aed26f0d86327cc39137ee5043e5deb"
  },
  "trust": {
    "scan_state": "not_scanned",
    "creator_verified": false,
    "last_checked_at": "2026-11-24T00:00:00Z",
    "contains_scripts": false
  },
  "install": {
    "claude": "gh skill install trailofbits/skills plugins/property-based-testing/skills/property-based-testing --agent claude-code --pin 123037ec8aed26f0d86327cc39137ee5043e5deb",
    "cursor": "gh skill install trailofbits/skills plugins/property-based-testing/skills/property-based-testing --agent cursor --pin 123037ec8aed26f0d86327cc39137ee5043e5deb",
    "codex": "gh skill install trailofbits/skills plugins/property-based-testing/skills/property-based-testing --agent codex --pin 123037ec8aed26f0d86327cc39137ee5043e5deb",
    "kiro": "gh skill install trailofbits/skills plugins/property-based-testing/skills/property-based-testing --agent kiro-cli --pin 123037ec8aed26f0d86327cc39137ee5043e5deb",
    "copilot": "gh skill install trailofbits/skills plugins/property-based-testing/skills/property-based-testing --agent github-copilot --pin 123037ec8aed26f0d86327cc39137ee5043e5deb",
    "gemini": "gh skill install trailofbits/skills plugins/property-based-testing/skills/property-based-testing --agent gemini-cli --pin 123037ec8aed26f0d86327cc39137ee5043e5deb"
  },
  "demo": false,
  "url": "https://thereaskillforthat.dev/skill/property-based-testing"
}