← ClaudeAtlas

test-data-genlisted

Use when tests need realistic fixtures or mock data and you want to generate them deterministically instead of copying production data.
NSBen/skillfoundry · ★ 1 · AI & Automation · score 73
Install: claude install-skill NSBen/skillfoundry
# Test Data Gen ## When to use Invoke this skill when a test needs sample rows, JSON, or objects that match a schema but must stay deterministic and privacy-safe. ## Steps 1. Identify the target schema or model and its required/optional fields. 2. Choose a generation strategy: fakes, factories, or seeded randomization. 3. Keep it deterministic (fixed seed) so tests are reproducible. 4. Never embed real PII; use obviously synthetic values. 5. Emit a small reusable builder the test suite can call. ## Examples - "Generate 50 fake user records for the test suite" - "Create fixtures matching the Order schema" ## References Prefer a factory over large literal blobs; assert on shape, not on exact generated values that may change between runs.