Skip to content

feat(property-based-testing): add property-based-testing skill plugin - #77

Open
yifu001 wants to merge 1 commit into
Factory-AI:masterfrom
yifu001:feat/property-based-testing
Open

yifu001 wants to merge 1 commit into
Factory-AI:masterfrom
yifu001:feat/property-based-testing

Conversation

@yifu001

@yifu001 yifu001 commented Oct 29, 2026

Copy link
Copy Markdown

Part of a 10-PR series contributing the agent-guardrail skill stack (prove-it-works, blast-radius, fix-root-causes, subtract-before-you-add, correct, interrogate, show-me-your-work, create-verification-skill, maintain-verification-skill, property-based-testing). Each PR is independent, adds exactly one single-skill plugin, and can be reviewed and merged in any order; adjacent additions to marketplace.json / README.md may show trivial conflicts with sibling PRs.

What

Adds the property-based-testing plugin: a testing-methodology skill that defaults to property-based tests over example-based unit tests — brainstorm the invariants the unit must hold, enforce them with well-shaped arbitraries that shrink well, and land coverage in the same commit as the production code. Includes dedicated flows for bug fixes (reproduce, then fix the root cause without weakening coverage) and third-party integration points.

Why

The marketplace ships opinionated code-quality skills (typescript) but no testing-methodology skill. Property-based testing is underrepresented in agent training data, so an explicit skill measurably changes the tests an agent writes. Battle-tested in a hackathon repo's quality gates; we are contributing it back.

Provenance and license

Contributed from our own agent skill set (no third-party upstream).

Checklist

  • Plugin under plugins/property-based-testing/ with .factory-plugin/plugin.json
  • Skill directory symlinked into skills/ (per the check-skills CI)
  • .factory-plugin/marketplace.json entry added
  • README "Available Plugins" section added
  • No name collision with existing marketplace skills or Droid built-in skills

Testing methodology: default to property-based tests over
example-based unit tests; coverage lands in the same commit as the
production code it proves.

Contributed from our own agent skill set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant