property-based-testing
Installation
SKILL.md
Property-Based Testing Guide
Use this skill when you encounter patterns where PBT provides stronger coverage than example-based tests.
When to Invoke (Automatic Detection)
Invoke this skill when you detect:
- Serialization pairs:
encode/decode,serialize/deserialize,toJSON/fromJSON - Parsers: URL parsing, config parsing, protocol parsing
- Normalization:
normalize,sanitize,clean,canonicalize - Validators:
is_valid,validate,check_* - Data structures: Custom collections with
add/remove/getoperations - Mathematical/algorithmic: Pure functions, sorting, ordering, comparators