property-based-testing

Installation
SKILL.md

Property-Based Testing

fast-check patterns for JavaScript/TypeScript that find edge cases unit tests miss. Includes 6 canonical property categories with worked examples targeting agent-studio's own utilities.

When to Use

  • New utility functions (path normalization, parsers, transformers)
  • Bug fixes where the fix has a general invariant (not just the specific repro case)
  • Security-sensitive string handling (avoid escaping bugs, injection vectors)
  • Any function where "this property should hold for ALL inputs" can be stated

The 6 Canonical Property Categories

1. Inverse Operations (Round-trip)

import fc from 'fast-check';
// If you serialize then deserialize, you get back the original
fc.assert(
Related skills
Installs
26
GitHub Stars
27
First Seen
Feb 25, 2026