Agent skill
generate-test-data
Generate realistic test data with Bogus or Faker.js
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/generate-test-data
SKILL.md
Generate Test Data
Generate realistic test data matching your domain models.
For .NET (Bogus 9.6K stars)
dotnet add package Bogus
var faker = new Faker<CandidateProfile>("fr")
.RuleFor(c => c.Id, f => Guid.NewGuid().ToString())
.RuleFor(c => c.FirstName, f => f.Name.FirstName())
.RuleFor(c => c.LastName, f => f.Name.LastName())
.RuleFor(c => c.Email, (f, c) => f.Internet.Email(c.FirstName, c.LastName))
.RuleFor(c => c.Skills, f => f.Make(3, () => f.PickRandom(skills)));
var candidates = faker.Generate(100);
For TypeScript (Faker.js 15K stars)
import { faker } from '@faker-js/faker/locale/fr';
const candidates = Array.from({ length: 100 }, () => ({
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
email: faker.internet.email(),
skills: faker.helpers.arrayElements(['CSharp', 'Azure', 'React'], 3),
}));
Arguments
<entity-name>: Domain entity to generate data for--count=<n>: Number of records (default: 100)--locale=<code>: Locale for names/addresses (default: fr)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?