Agent skill · Data & Analytics

api-response-mocker

Generate realistic mock API responses with fake data. Use for testing, prototyping, or creating sample data for frontend development.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-response-mocker-dkyazzentwatwa-chatgpt-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/api/api-response-mocker-dkyazzentwatwa-chatgpt-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# API Response Mocker Generate realistic mock API responses with fake data using Faker. ## Features - **Schema-Based Generation**: Define response structure - **Faker Integration**: Realistic fake data - **Nested Objects**: Complex nested structures - **Arrays**: Generate lists of objects - **Relationships**: Reference other mock data - **Multiple Formats**: JSON, XML output ## Quick Start ```python from api_mocker import APIMocker mocker = APIMocker() # Generate user response user = mocker.generate({ "id": "uuid", "name": "name", "email": "email", "created_at": "datetime" }) # Generate list of users users = mocker.generate_list({ "id": "uuid", "name": "name", "email": "email" }, count=10) ``` ## CLI Usage ```bash # Generate from schema file python api_mocker.py --schema user_schema.json --output user.json # Generate list python api_mocker.py --schema product.json --count 50 --output products.json # Generate with seed (reproducible) python api_mocker.py --schema order.json --seed 42 --output order.json # Preview without saving python api_mocker.py --schema customer.json --preview ``` ## Schema Format Define fields using Faker provider names: ```json { "id": "uuid", "first_name": "f

What's inside
Steps it walks through
  1. Features
  2. Quick Start
  3. CLI Usage
  4. Schema Format
  5. Available Data Types
  6. Personal
  7. Address
  8. Internet
  9. Business
  10. Financial
  11. Date/Time
  12. Text
  13. Numeric
  14. Advanced Schemas
Ships with 1 file
  • metadata.json
Commands it runs
Generate from schema file
python api_mocker.py --schema user_schema.json --output user.json
Generate list
python api_mocker.py --schema product.json --count 50 --output products.json
Generate with seed (reproducible)
python api_mocker.py --schema order.json --seed 42 --output order.json
Preview without saving
python api_mocker.py --schema customer.json --preview
More from claude-skill-registry
All skills →
About this skill
What does the api-response-mocker skill do?

Generate realistic mock API responses with fake data. Use for testing, prototyping, or creating sample data for frontend development.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-response-mocker-dkyazzentwatwa-chatgpt-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going