property-based-test

property-based-test is a skill for Claude Code from uqeu/estelle-cli. It costs 0 tokens per session (306 once invoked), scanned A, original, Apache-2.0.

A testing method that generates many varied inputs to check rules that should always hold. For example, it can test whether decoding something that was encoded returns the original value.

In plain words
What is it for?
Use it for parsers, encoders, serializers, sorting, merging, mathematical code, and other functions with clear invariants. It helps turn discovered failures into lasting regression tests.
Why use it?
A few hand-picked examples can miss unusual, empty, very large, or malformed inputs. This method searches for counterexamples and keeps a small failing example when it finds one.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the estelle plugin — 26 skills, 4 agents, 9 hooks shipped together

Good fit Use it for parsers, encoders, serializers, sorting, merging, mathematical code, and other functions with clear invariants. It helps turn discovered failures into lasting regression tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uqeu/estelle-cli/property-based-test
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add uqeu/estelle-cli --skill property-based-test
Clone the repo
git clone --depth 1 https://github.com/uqeu/estelle-cli

Made for: Claude Code.

Or install estelle, the plugin that ships this one along with the rest of its 26 skills, 4 agents, 9 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for property-based-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/uqeu/estelle-cli/property-based-test/github.svg)](https://agentmods.dev/skills/uqeu/estelle-cli/property-based-test)
Your own site
<a href="https://agentmods.dev/skills/uqeu/estelle-cli/property-based-test"><img src="https://agentmods.dev/badge/skills/uqeu/estelle-cli/property-based-test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for property-based-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/uqeu/estelle-cli/property-based-test"><img src="https://agentmods.dev/badge/skills/uqeu/estelle-cli/property-based-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00306
Opus 5.5 $0.00000 $0.00122
Sonnet 5.5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00031

Measured 1mo ago against content hash 920f10288f14, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

property-based-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

estelle-plugin/skills/property-based-test/SKILL.md · 21 lines

What it actually says

property-based-test

A state-of-the-art engineering playbook, drawn from QuickCheck / Hypothesis, that an agent grounding in a real repo can execute. Every referenced symbol is checked by Estelle's grounding gate like any other code.

When to run

A function has a clear invariant/round-trip/idempotence property (parsers, serializers, sort/merge, math, encoders) where example tests under-cover the input space.

Procedure

  1. Name the invariant precisely: round-trip (decode(encode(x))==x), idempotence, commutativity, or a postcondition that must always hold.
  2. Write a @given(strategy) (Hypothesis) test that asserts the property over generated inputs; pick strategies that hit boundaries (empty, huge, unicode, negative, NaN).
  3. Run it; when it fails, keep the SHRUNK minimal counterexample as a permanent regression example test.
  4. Ground every referenced symbol in the real repo — the property test is code Estelle's gate verifies like any other.

Grounding note

Apply this to the caller's ACTUAL code (the code graph + real symbols), not a generic template — the value is a concrete, verifiable change on their repo, not advice.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 21 lines · 0 tokens per session scan A 920f10288f14

Subscribe to this mod's changes

property-based-test is a skill published in the GitHub repository uqeu/estelle-cli (0 stars, last pushed 14d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 306 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

Other skills, from other repositories

remove-ai-slops

Removes AI-generated code smells from branch changes or an explicit file list behind regression tests. Use when the user asks to clean up, deslop, or remove AI-slop patterns from recent changes.

code-yeongyu/lazycodex · 45 tokens

review-work

Post-implementation gate review: run manual QA on the real surface yourself, then launch ONE gate reviewer (never a panel) to audit goal, constraints, code quality, security, missed context, and QA evidence. Use before a PR handoff or when the user explicitly asks to review completed work.

code-yeongyu/lazycodex · 63 tokens

include-test-files-that-assert-on-behavior-being-changed-in-decl

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 29 tokens

check

Auto-fix lint and formatting, then report types and tests. Run before every commit.

ffroliva/gflow-cli · 20 tokens

code-guidelines-go

Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…

dimetron/pi-go · 124 tokens

vhs-e2e-gif

Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…

dimetron/pi-go · 106 tokens