·property-based-testing
</>

property-based-testing

Use when writing tests for serialization, validation, normalization, or pure functions - provides property catalog, pattern detection, and library reference for property-based testing

10Installs·1Trend·@ed3dai

Installation

$npx skills add https://github.com/ed3dai/ed3d-plugins --skill property-based-testing

How to Install property-based-testing

Quickly install property-based-testing AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/ed3dai/ed3d-plugins --skill property-based-testing
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: ed3dai/ed3d-plugins.

SKILL.md

View raw

Property-based testing (PBT) generates random inputs and verifies that properties hold for all of them. Instead of testing specific examples, you test invariants.

| Roundtrip | decode(encode(x)) == x | Serialization, conversion pairs | | Idempotence | f(f(x)) == f(x) | Normalization, formatting, sorting | | Invariant | Property holds before/after | Any transformation | | Commutativity | f(a, b) == f(b, a) | Binary/set operations | | Associativity | f(f(a,b), c) == f(a, f(b,c)) | Combining operations |

| Identity | f(x, identity) == x | Operations with neutral element | | Inverse | f(g(x)) == x | encrypt/decrypt, compress/decompress | | Oracle | newimpl(x) == reference(x) | Optimization, refactoring | | Easy to Verify | issorted(sort(x)) | Complex algorithms | | No Exception | No crash on valid input | Baseline (weakest) |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/ed3dai/ed3d-plugins --skill property-based-testing
Category
</>Dev Tools
Verified
First Seen
2026-02-26
Updated
2026-03-10

Browse more skills from ed3dai/ed3d-plugins

Quick answers

What is property-based-testing?

Use when writing tests for serialization, validation, normalization, or pure functions - provides property catalog, pattern detection, and library reference for property-based testing Source: ed3dai/ed3d-plugins.

How do I install property-based-testing?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/ed3dai/ed3d-plugins --skill property-based-testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/ed3dai/ed3d-plugins