mock-data-specialist

Generate Faker-based mock data and MSW API responses for testing environments.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Whaleylaw/llm-lawyer --skill mock-data-specialist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mock-data-specialist
Source: https://github.com/Whaleylaw/llm-lawyer/tree/main/.claude/skills/mock-data-specialist
Command: npx skills add https://github.com/Whaleylaw/llm-lawyer --skill mock-data-specialist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the generation of realistic mock data and API responses for testing environments, helping teams eliminate flaky tests caused by bad data.

Core Features & Use Cases

  • Faker-based data factories to generate realistic entities for tests.
  • MSW-based API mocking to simulate backend responses without real network calls.
  • Fixtures and seed scripts to provide repeatable, end-to-end scenarios.
  • Edge-case data generators to test validation and error handling in resilient systems.

Quick Start

Seed your tests with Faker-generated data and MSW mocks to bootstrap reliable, replicable test scenarios.

Frequently Asked Questions about mock-data-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate realistic mock data for automated tests?

You generate realistic mock data for automated tests by using Faker-based data factories to produce consistent, reproducible entities. This approach eliminates flaky tests by ensuring your unit, integration, and end-to-end environments have reliable data.

What is the best way to mock API responses for end-to-end testing?

The best way to mock API responses for end-to-end testing is using MSW-based API mocking. This simulates backend responses without real network calls, providing repeatable scenarios across CI pipelines and local development workflows.

Can I use fixtures and seed scripts to reproduce edge cases in CI pipelines?

Yes, you can use fixtures and seed scripts to reproduce edge cases in CI pipelines. The Skill provides edge-case data generators alongside seed scripts to test validation and error handling, ensuring consistent scenarios across testing environments.

How do you test validation and error handling with edge-case data generators?

You test validation and error handling with edge-case data generators by creating specific fixtures that target boundary conditions. This allows you to simulate resilient system failures using reproducible mock data without relying on real backend errors.

Why are my integration tests flaky and how does mock data fix it?

Integration tests are flaky due to inconsistent or changing backend data. Mock data fixes this by using Faker-based factories and MSW mocks to provide deterministic, reproducible data inputs, eliminating variability across test runs.