Index of every page on this site: llms.txt
All skills
oaustegard avatar

/building-property-tests

@b9eb735
Run it yourself

Finds correctness bugs by checking code against a simple reference model over generated inputs and operation sequences, then shrinks each failure to a regression test and a fix. Use for "property test this", "model-based testing", "find bugs in this data structure", or a Hypothesis state machine.

Use this Skill: https://skilld.dev/gh/oaustegard/claude-skills/building-property-tests

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

CHANGELOG.md

≈632 tokens on demand. Your agent reads this file only when SKILL.md points to it.

building-property-tests - Changelog

All notable changes to the building-property-tests skill are documented in this file. The format is based on Keep a Changelog.

[0.1.1] - 2026-11-16

Other

  • building-property-tests: cut SKILL.md and references to instructions (0.1.1)

[0.1.1] - 2026-11-16

Changed

  • SKILL.md and both references cut to instructions: the dated case histories, framing and per-rule backstory are removed (they remain in 0.1.0's provenance above and in experiments/remex-proptest). SKILL.md 220 to 119 lines, references 149 to 73.

[0.1.0] - 2026-11-16

Initial release. Adapts the method of Inanna Malick's proptest-praxis skill (inanna-malick/agent-skills, MIT) and her post Property Testing with Agent Swarms from Rust proptest to Python Hypothesis. Its harness calibration now runs through gating and its invariant declaration through declaring-invariants.

Provenance

Two runs on 2026-11-16 shaped the procedure:

  • oaustegard/experiments/bm25-proptest: one harness on the bm25 skill found a cache that ignored file contents and an empty-vocabulary crash. Shipped as bm25 0.2.2. The property suite rejected a wrong first fix that the regression test accepted (step 8).
  • oaustegard/experiments/remex-proptest: four Sonnet agents, one per area, on remex 2.2.0. Their regressions failed in 68 cases covering 21 defects, among them silent code corruption between the two .npz writers at d*bits % 8 != 0 and a segfault after pickling the default quantizer. Fixed in remex 2.2.1. The harnesses caught 72 of 73 planted bugs.

Added

  • SKILL.md: ten-step procedure, routing table against hunting-failing-inputs, gating and declaring-invariants, earned exceptions, failure modes with their diagnosis dates.
  • scripts/hypothesis_stats.py: runs a Hypothesis suite with statistics on and fails when a relied-on event() class falls below a floor or never fires.
  • assets/stateful_template.py: a runnable RuleBasedStateMachine with a toy cached store, a planted mutant, a rejected-operation property and event counters.
  • references/targets.md: property kinds, generator rules, tolerance rules, and where bugs were found.
  • references/delegating.md: running one agent per area, the brief, the constraints that came from diagnosed stops, and the orchestrator's half.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning5d3 checks · Risk SAFE
  • Gen Agent Trust Hub5d

    The skill provides a framework for property-based testing using the Hypothesis library. It includes utility scripts for measuring test coverage and templates for model-based testing. While it executes commands and installs standard packages, these are transparently managed and necessary for the skill's purpose. A low-risk surface for indirect prompt injection exists because the skill is designed to run tests on arbitrary target codebases.

  • Socket5d

    No alerts

  • Snyk5d

    Risk: MEDIUM · 1 issue

Signed by skilld at b9eb735. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
metadata
{
  "version": "0.1.1"
}

README badge

README badge for oaustegard/claude-skills/building-property-tests