Mock test data generator prompt from a schema
Paste a schema or type definition and get realistic mock records, including edge cases, ready for seeding or fixtures.
بواسطة Ahmed Eid0 نسخة
متى تستخدم هذا البرومبت
- When seeding a local database for development.
- When writing tests that need varied, realistic input data.
- When demoing a feature without using real customer data.
نص البرومبت
Generate {{focus}} realistic mock/test data records in {{language}} format for this schema or type, with varied and edge-case values.
{{CLIPBOARD}}
{{focus}}{{language}}{{CLIPBOARD}}الكتلة {{CLIPBOARD}} تُستبدل تلقائياً بما نسخته قبل الضغط على «نسخ».
املأ المتغيرات ثم انسخ
Generate {{focus}} realistic mock/test data records in {{language}} format for this schema or type, with varied and edge-case values.
كيف تستخدمه
- انسخ البرومبت بالزر أو املأ المتغيرات أولاً.
- الصقه في ChatGPT أو Claude أو Gemini.
- عدّل النتيجة أو أعد الطلب بتغيير المتغيرات.
مثال على النتيجة
[
{ \"id\": 1, \"email\": \"j.rivera@example.com\", \"age\": 34, \"country\": \"US\" },
{ \"id\": 2, \"email\": \"\", \"age\": 0, \"country\": \"XX\" },
{ \"id\": 3, \"email\": \"long.name.with.dots@sub.example.co.uk\", \"age\": 129, \"country\": \"JP\" }
]نصائح للاستخدام
- Specify the exact count and output format (JSON, CSV, SQL inserts) you need.
- Ask explicitly for edge cases like empty strings, nulls, or boundary numbers.
- Never generate data that mimics real, identifiable customer records.
أسئلة شائعة
- Is this data safe to use in a shared dev environment?
- Yes, it's synthetic and not derived from real records, but still avoid pasting real production data as a reference sample.
- Can it match a specific JSON schema or TypeScript type?
- Yes, paste the schema or type definition into the clipboard field and it will generate matching records.