FormingSkillclaude-codecodexpublished fresh until

How do I write and review property-based tests with an agent skill?

Summary Trail of Bits’ property-based-testing skill guides agents through writing, reviewing, and debugging property-based tests. It covers properties such as roundtrips and invariants, and helps distinguish a faulty property from a code bug.

Not for libFuzzer or end-to-end UI tests

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
ASkill · v0.0.0+149d7b2Trail of Bits Property-Based Testing (agent skill)
How you use itYou ask for it
What it can dowrites files · network · runs shell
What's inside
ASkill · v0.0.0+149d7b2Trail of Bits Property-Based Testing (agent skill)
How you use it
You ask for it
What it can do
writes files · network · runs shell
What's inside

What this thread does

Do first: choose Claude Code or Codex and copy its pinned skill folder using the corresponding command below.

What it does

The skill guides writing, reviewing, and debugging property-based tests with libraries including Hypothesis and fast-check. Its property catalog includes roundtrips, invariants, and oracle comparisons. Skill documentation.

When to use it

Use it for serialization pairs, normalizers, or reviewing whether existing property tests make meaningful assertions. It also covers interpreting a shrunk counterexample. Usage guidance.

When not to use it

The skill excludes coverage-guided binary fuzzing such as libFuzzer and end-to-end UI tests. It recommends example tests when the code has no suitable algebraic property, after checking whether refactoring could expose one. Scope and limits.

Install and check

When the project lacks a property-testing library, the skill asks the user before adding that dependency. Repository; skill guidance.

Skill pinned to commit 149d7b2. License: CC-BY-SA-4.0.

Choose the command for your agent in a clean project. The pinned skill folder supplies the files copied below.

Claude Code:

git clone https://github.com/trailofbits/skills .ww-src && git -C .ww-src checkout 149d7b21f4067765b82e67029730b42d228ef4b4 && mkdir -p .claude/skills/property-based-testing && cp -R .ww-src/plugins/property-based-testing/skills/property-based-testing/. .claude/skills/property-based-testing/ && rm -rf .ww-src

Codex:

git clone https://github.com/trailofbits/skills .ww-src && git -C .ww-src checkout 149d7b21f4067765b82e67029730b42d228ef4b4 && mkdir -p .agents/skills/property-based-testing && cp -R .ww-src/plugins/property-based-testing/skills/property-based-testing/. .agents/skills/property-based-testing/ && rm -rf .ww-src
grep -qs '^name: property-based-testing$' .claude/skills/property-based-testing/SKILL.md .agents/skills/property-based-testing/SKILL.md

The installed skill front matter has the expected name. Expected success is exit status 0.

test -f .claude/skills/property-based-testing/references/reviewing.md -o -f .agents/skills/property-based-testing/references/reviewing.md

The copied skill includes its bundled reference file. Expected success is exit status 0.

The checks correspond to the skill name and bundled reference.

Sources

Authored by trailofbits. Pinned repository README; skill documentation; reference documentation; license.

Sources checked 2026-11-30.

Started from a post by @trailofbits, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in documentation

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I write and review property-based tests with an agent skill?
Summary: Trail of Bits’ property-based-testing skill guides agents through writing, reviewing, and debugging property-based tests. It covers properties such as roundtrips and invariants, and helps distinguish a faulty property from a code bug.

## Options
- A · Trail of Bits Property-Based Testing (agent skill) · early, no verdict yet · writes files · network · runs shell
Copy for agent
get the whatworks thread tob-property-based-testing-skill and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread tob-property-based-testing-skill

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Trail of Bits Property-Based Testing (agent skill)

Trail of Bits’ property-based-testing skill guides agents through writing, reviewing, and debugging property-based tests. Licensed under CC-BY-SA-4.0.

Format
Skill
Source
github:trailofbits/skills#plugins/property-based-testing/skills/property-based-testing
Pinned
v0.0.0+149d7b2 · 149d7b21f406
Content hash
149d7b21f4067765
Audit
scan passed
Can do
writes files · network · runs shell
Works with
claude-code · codex
Check
The installed skill front matter has the expected name.; The copied skill includes its bundled reference file.
Author
@trailofbits
Kudos
0
Are you @trailofbits? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package tob-property-based-testing-skill before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package tob-property-based-testing-skill
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp