Generate Test Data

Generate deterministic synthetic test data from Pydantic, TypeScript, or OpenAPI shapes.

1|1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/btabaska/simpler-grants-documentation-automation --skill generate-test-data-btabaska
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Generate Test Data
Source: https://github.com/btabaska/simpler-grants-documentation-automation/tree/main/.cursor/skills/skill-generate-test-data
Command: npx skills add https://github.com/btabaska/simpler-grants-documentation-automation --skill generate-test-data-btabaska

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Produce reproducible, synthetic test data that matches a given data shape (Pydantic model, TS interface, or OpenAPI response) without copy-pasting production rows.

Core Features & Use Cases

  • Deterministic test data generation via a seed to ensure CI stability.
  • Shape-aware generation for Pydantic, TypeScript, or OpenAPI responses.
  • Outputs fixtures to standard locations such as api/tests/fixtures/ or frontend/src/test-utils/fixtures/ for easy consumption in tests.

Quick Start

Run the generate-test-data skill with your target shape and optional seed to produce deterministic fixtures.

Frequently Asked Questions about Generate Test Data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate deterministic test data from an OpenAPI spec?

To generate deterministic test data from an OpenAPI spec, provide your target shape and an optional seed to produce reproducible synthetic fixtures. This ensures CI stability by consistently generating the same output for integration tests and mock responses.

What is the best way to create synthetic fixtures for Pydantic models without using production data?

The best way to create synthetic fixtures for Pydantic models without production data is using shape-aware generation with a seed. This produces deterministic, reproducible test data safely, satisfying constraints against copying production rows.

Can I generate seed-based synthetic test data for TypeScript interfaces?

Yes, you can generate seed-based synthetic test data for TypeScript interfaces. The generator is shape-aware and outputs deterministic fixtures to standard locations like frontend/src/test-utils/fixtures/ for easy consumption in UI testing.

Why does my integration test fail when synthetic test data changes between runs?

Integration tests fail when synthetic test data changes between runs because the generation lacks a seed. Applying a seed-based determinism approach ensures the synthetic fixtures remain reproducible across CI runs, preventing intermittent test failures.

Where should generated test fixtures be saved for local dev databases and mock responses?

Generated test fixtures should be saved to standardized output paths such as api/tests/fixtures/ or frontend/src/test-utils/fixtures/. Saving synthetic test data to these standard locations ensures easy consumption by integration tests and local dev databases.