Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By trailofbits Verified Orgv1.2.3CC-BY-SA-4.0In 3 marketplaces
Write property-based tests, review existing ones for tests that assert nothing, and triage a shrunk counterexample into a wrong property, ambiguous spec, or real bug. Covers Hypothesis, fast-check, proptest and Echidna/Medusa.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
3 marketplaces, most starred first
property-based-testing, hypothesis, fast-check, proptest, fuzzing, invariants, echidna, medusa
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Write, review, and triage property-based tests — Hypothesis, fast-check, proptest, and Echidna or Medusa for Solidity invariants.
This plugin is part of the Trail of Bits Skills marketplace.
/plugin marketplace add trailofbits/skills
/plugin menu
Then select the property-based-testing plugin to install.
/plugin install trailofbits/skills/plugins/property-based-testing
This plugin provides a skill covering three jobs: writing property tests, reviewing existing ones for tests that assert nothing, and triaging a shrunk counterexample into a wrong property, an ambiguous spec, or a real bug. It recognises these shapes:
See skills/property-based-testing/references/libraries.md for the complete list.
The skill ships three evals, because "the skill fires" and "the skill helps" are different claims and only the second one matters to a user.
./evals-extra/run.sh # trigger rate against labelled queries
EFFORTS=low ./evals-extra/effectiveness.sh # does the generated suite catch a real bug?
Both spend real API budget — run.sh runs one session per query per run, 45 at its
defaults (measured at 51.9 min and $36.50 at JOBS=4), and effectiveness.sh is 3.
Neither runs in CI for that reason; they are what you run when you change the
description or the guidance. RUNS=1 ./evals-extra/run.sh is the cheap smoke test.
Both harnesses ship a --self-test that costs nothing and runs in make check, so a
harness that has stopped discriminating fails the build instead of reporting a green
skill forever. run.sh --self-test drives the classifier with a stub binary and
asserts, among other things, that a crashed session invalidates the sweep rather than
being absorbed by the pass threshold.
effectiveness.sh grades by running the generated tests against a fixture with a
known defect, not by reading what the model said about its own work. Both scripts
exit non-zero when they inspect nothing, so a broken harness fails loudly instead of
reporting a clean pass.
See skills/property-based-testing/README.md for what the queries cover and how to
run the no-skill baseline.
evals/ — the ablation suiteThe third eval is not a shell harness. evals/ holds claude plugin eval cases, run
from the plugin root, and every case runs twice — once with the plugin loaded and once
without — so the number it reports is Δ against the unaided model rather than a raw
score. A skill that scores full marks in both arms is spending context and buying
nothing, and that is the failure this suite exists to catch.
claude plugin eval . --ablation with-without --judge-model sonnet --allow-tools Write
Two operational notes, both learned the hard way:
ANTHROPIC_API_KEY. Each case runs in a sandboxed config dir, so an
interactive login is not visible to it and a subscription OAuth token is ignored.
Without the key every session dies instantly as Not logged in, costs a cent, and
the judge then grades that string — which scores zero and looks like a real result.
Check apiKeySource in a trace before believing any number.--allow-tools Write is load-bearing, not convenience. 03's strongest grader
fires when the model creates a requirements.txt; deny Write and it can never
create one, so the grader passes for free.Measured on opus, 3 runs per arm, ~$4.30 per full sweep:
| case | fires | with | without | Δ |
|---|---|---|---|---|
02-neg-cargo-fuzz-coverage | no | 1.00 | 1.00 | 0.00 |
03-dependency-is-users-call | yes | 0.50 | 0.00 | +0.50 |
02 is the over-trigger guard — coverage-guided fuzzing is on the description's
exclusion list, and the skill did not fire in any of the three with-plugin runs. Δ0 is
the correct result for a negative.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub trailofbits/skills --plugin property-based-testingPlugins from other owners that cover similar ground