api-response-mocker

Generate realistic mock API responses from schemas with fake data.

86|18|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill api-response-mocker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-response-mocker
Source: https://github.com/dkyazzentwatwa/chatgpt-skills/tree/main/api-response-mocker
Command: npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill api-response-mocker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires faker, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of realistic mock API responses, eliminating the need for manual data generation during development and testing.

Core Features & Use Cases

  • Schema-Based Generation: Define the structure of your mock responses using a flexible schema.
  • Realistic Fake Data: Leverages the Faker library to generate diverse and believable data types (names, emails, addresses, dates, etc.).
  • Use Case: Quickly generate a dataset of 100 user profiles for a new web application's frontend development, complete with nested addresses and creation timestamps.

Quick Start

Use the api-response-mocker skill to generate a mock user response based on the provided schema.

Frequently Asked Questions about api-response-mocker

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

FAQPage Schema
How do I generate realistic mock API responses for frontend testing?

To generate mock API responses, you define a schema structure and the skill outputs fake data populated with realistic names, emails, and dates. It supports nested objects and arrays, making it ideal for frontend development and testing scenarios.

Can I generate mock JSON and XML data from a custom schema?

Yes, you can generate mock data in both JSON and XML output formats from your custom schema. The skill reads your defined data structure and populates it with fake data, supporting complex nested objects and arrays.

How do I create fake user profiles with nested addresses for prototyping?

You create fake user profiles by defining a schema with nested address objects and timestamps. The skill leverages the Faker library to populate these fields with diverse, believable data for your prototyping needs.

Do I need the Faker library to generate mock API data?

Yes, you need the Python Faker library installed to generate mock API data. The skill depends on Faker to produce realistic, diverse data types such as names, emails, addresses, and dates.

What is the best way to automate sample data generation for API testing?

The best way to automate sample data generation is using a schema-based approach. This skill automates fake data creation by mapping your defined schema to realistic values, eliminating manual data entry during testing.

Does schema-based mock data generation support custom values?

Yes, schema-based mock data generation supports custom values alongside Faker-generated data. You can define specific static values in your schema while automatically generating realistic fake data for other fields.