json-api-mock-generator

Generate JSON API mock responses with configurable record counts and nested structures.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/ehtbanton/ClaudeSkillsRepo --skill json-api-mock-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: json-api-mock-generator
Source: https://github.com/ehtbanton/ClaudeSkillsRepo/tree/main/json-api-mock-generator
Command: npx skills add https://github.com/ehtbanton/ClaudeSkillsRepo --skill json-api-mock-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of realistic JSON API mock response files, streamlining development and testing workflows by providing ready-to-use data.

Core Features & Use Cases

  • Realistic Data Generation: Creates mock data with appropriate data types, nested structures, and configurable record counts.
  • Multiple Response Formats: Supports list endpoints, single resource responses, and error responses.
  • Use Case: Developers can quickly generate mock data for a new user authentication API, complete with user profiles, roles, and timestamps, without needing a live backend.

Quick Start

Create a mock API response for a blog posts endpoint.

Frequently Asked Questions about json-api-mock-generator

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

FAQPage Schema
How do I generate mock JSON data for API testing without a live backend?

Generate mock JSON data by creating realistic response files with proper data types, nested structures, and configurable record counts, eliminating the need for a live backend during testing.

Can I create fake API responses for error states and single resources?

Yes, you can create fake API data for error states and single resources. The generator supports multiple JSON structure patterns including list endpoints, single resource responses, and error responses.

What specific data types can I configure when generating JSON mock data?

When generating JSON mock data, you can configure specific data generation rules for IDs, timestamps, names, numbers, and relationships to ensure realistic nested structures.

Does mock API response generation work for nested JSON structures?

Yes, mock API response generation handles nested JSON structures by applying specific data generation rules for relationships, IDs, timestamps, and numbers to produce realistic complex data files.

What is the best way to mock a blog posts endpoint for development?

The best way to mock a blog posts endpoint for development is to trigger generation with a prompt like "create mock API response for a blog posts endpoint" to instantly produce ready-to-use JSON data.