Skip to skills
AI Craft Pad
Home/Skills/Testing & QA/property-based-testing
First-party source

Property Based Testing

A testing guide for meaningful invariants, generated input domains and interpreting minimized counterexamples.

Editorial review checked 2026-10-29 against this instruction snapshot. Supporting scripts and runtime behavior remain outside this review.

What it does

The source focuses on behaviors that can be stated across many inputs, such as a round trip, ordering rule or invariant. It distinguishes a useful property from a test that generates data but asserts little. This helps an agent decide whether property-based testing adds evidence beyond a small set of existing examples.

Best for

Parsers, serializers, normalization functions, numerical rules and data structures with a clear relationship between inputs and outputs. Provide the intended contract and any invalid-input boundaries before selecting a generator.

Tradeoffs and requirements

A generated test can confidently enforce a wrong assumption. Random cases also do not replace integration or user-interface evidence. Framework and runtime setup depend on the project, and a codebase without an observable invariant may benefit more from focused example tests.

Unknown; inspect source requirements and supporting scripts.

Install from the source

Inspect the pinned source snapshot and its supporting files first. The command selects this skill through the open-source skills CLI. Node.js and agent-specific setup may be required. Installation can download code; this catalog never runs it.

npx skills add https://github.com/trailofbits/skills/tree/2be6433b39e009cd2b6fd3be1895f6b1faa5af9a/plugins/property-based-testing/skills/property-based-testing --skill property-based-testing

Review pinned skill folder ↗ · CLI documentation ↗

After source review, use npx skills check and npx skills update to inspect and apply upstream updates. Re-check changed instructions before running them.

Safety & review signals

Static review only. This is not a security audit or a guarantee of safety.

SKILL.md text only; scripts, dependencies and runtime behavior not audited.

No configured text patterns matched. Unmatched or concealed behavior can still exist.

Allowed tools declaration: Unknown. Runtime permissions and network behavior: Unknown.

AI Craft Pad Skill Score

86/100 · Metadata coverage 100% · Model 1.0

Scores summarize observable discovery signals. Popularity and repository activity apply to the whole repository. Unknown runtime safety earns no certification.

Documentation
100/100
100
Maintenance
100/100
100
License Clarity
100/100
100
Repository Health
100/100
100
Compatibility Evidence
80/100
80
Popularity
70/100
70
Originality
80/100
80
Static Safety
60/100
60
Read the formula and limits →

Suggested workflow

Write the invariant in plain language, define a valid input domain and add a small set of known examples. Generate cases, inspect failures and preserve a useful minimized example as a regression when appropriate.

How to judge the result

Check that the property fails against a deliberately incorrect implementation or a known defect. Review generator coverage, reproducibility and whether shrinking retained the condition that makes the failure meaningful.

Similar skills to compare

Related by category; compare scope and dependencies before choosing an alternative.

Testing & QA88/100

test driven development

obra/superpowers

A test-first workflow for turning a specific behavior requirement into an observable failing case and a focused implementation.

Community sourceMITEditorial review
308,209 repo stars1 text flagsReview ↗
Testing & QA88/100

verification before completion

obra/superpowers

A completion-check workflow that ties a claim such as fixed, passing or deployed to fresh evidence from the relevant system.

Community sourceMITEditorial review
308,209 repo stars0 text flagsReview ↗
Testing & QA87/100

ab test setup

sickn33/agentic-awesome-skills

Explore ab test setup as a testing & qa workflow from sickn33/agentic-awesome-skills. Compare its source, maintenance and review signals before choosing it for your agent.

Community sourceMIT6 matching source records
48,724 repo stars1 text flagsReview ↗

More from this source

Development86/100

address sanitizer

trailofbits/skills

Explore address sanitizer as a development workflow from trailofbits/skills. Compare its source, maintenance and review signals before choosing it for your agent.

First-party sourceCC-BY-SA-4.0
7,875 repo stars2 text flagsReview ↗
Testing & QA86/100

adjudicate regression

trailofbits/skills

Explore adjudicate regression as a testing & qa workflow from trailofbits/skills. Compare its source, maintenance and review signals before choosing it for your agent.

First-party sourceCC-BY-SA-4.0
7,875 repo stars0 text flagsReview ↗
Productivity & planning86/100

aflpp

trailofbits/skills

Explore aflpp as a productivity & planning workflow from trailofbits/skills. Compare its source, maintenance and review signals before choosing it for your agent.

First-party sourceCC-BY-SA-4.0
7,875 repo stars2 text flagsReview ↗

Works well in these suggested workflows

Editorial combinations of complementary roles; review each source independently.