MayrosSkills Hub
Back to browse

test-data-gen

ApiliumApiliumv1.0.35300
officialplatinum (7/8)

Install

mayros skill install test-data-gen
mayros skill install [email protected]

Faker patterns, edge cases, fixtures, SQL/CSV seed generation

README

@apilium/test-data-gen

Test data generation skill for Mayros -- realistic fake data with @faker-js/faker, edge cases, boundary values, SQL inserts, JSON fixtures, and CSV output.

Installation

Copy this skill directory into your Mayros skills folder:

cp -r skills/test-data-gen ~/.mayros/skills/test-data-gen

Or install via the Mayros CLI:

mayros skill install @apilium/test-data-gen

Usage

Once configured, the agent can:

  • Faker patterns: Generate realistic names, emails, phone numbers, addresses, dates, UUIDs, and more using @faker-js/faker
  • Edge cases: Generate boundary values and adversarial inputs for strings, numbers, dates, arrays, objects, and booleans
  • SQL inserts: Generate INSERT statements with realistic data matching your schema
  • JSON fixtures: Generate arrays of objects matching a TypeScript interface or database schema
  • CSV output: Generate CSV files with headers and properly escaped values
  • Deterministic generation: Seed-based output for reproducible tests

Example prompts

"Generate 50 fake user records with name, email, and address"
"What are the edge cases I should test for a string input?"
"Generate SQL INSERT statements for 20 orders with foreign keys to users"
"Create a JSON fixture file for testing my API endpoint"
"Generate test data with a seed so my tests are reproducible"
"What edge cases should I test for date inputs?"

Semantic Predicates

| Predicate | Scope | Description | |-----------|-------|-------------| | testdata:generated | agent | Test data generated by the agent | | testdata:pattern_context | namespace | Pattern context for enrichment |

License

MIT

Versions

v1.0.3Feb 27, 2026
v1.0.2Feb 27, 2026
v1.0.1Feb 27, 2026
v1.0.0Feb 27, 2026

Comments

Sign in to leave a comment.

Loading comments...