← ClaudeAtlas

test-data-managerlisted

Generates deterministic test data factories and fixtures from TypeScript types, Zod schemas, or JSON Schema. Seeded RNG means same seed → same data on every machine. Injects edge cases (boundary values, nulls, unicode, empty collections) from a canonical catalog and respects declared invariants. Produces <domain>.factory.ts + fixtures/<domain>.json. PIPELINE-1 step 4.
mytechsonamy/VibeFlow · ★ 0 · Data & Documents · score 75
Install: claude install-skill mytechsonamy/VibeFlow
# Test Data Manager An L1 Truth-Validation skill. Its job is to give every test suite a **source of deterministic, invariant-respecting data** so tests are reproducible across machines and never lie about coverage by silently mutating on each run. This skill does not generate tests — `component-test-writer`, `contract-test-writer`, and `business-rule-validator` all *consume* the factories and fixtures this skill emits. ## When You're Invoked - During PIPELINE-1 step 4, in parallel with the other L1 skills. - On demand as `/vibeflow:test-data-manager <type-source-path>`. - Re-runs automatically when `invariant-formalizer` updates `invariant-matrix.md` — generated data must stay compatible. ## Input Contract | Input | Required | Notes | |-------|----------|-------| | Type source | yes | TypeScript interface/type file, Zod schema file, or JSON Schema file. Path arg or auto-discovered via `repo-fingerprint.json`. | | `scenario-set.md` | optional | Scenario-specific data hints become variant presets. | | `invariant-matrix.md` | optional but preferred | If present, every generated object must satisfy the declared invariants. | | `business-rules.md` | optional | Rules with `condition` fields become fixture preset triggers. | | Existing factories | scanned | Any existing `*.factory.ts` with a `@generated-by vibeflow:test-data-manager` banner is rewritten in place; hand-written factories are never overwritten. | | Seed | optional | `VIBEFLOW_DATA_SEED` env var, else the fixed