mock
Installation
SKILL.md
Mock — Mock Data & API Simulation Tool
Generate realistic mock data, define API endpoints, record and replay HTTP interactions, and manage response schemas — all from the command line. Perfect for frontend developers prototyping without a backend, QA engineers needing test fixtures, or anyone who needs fake-but-realistic data fast.
Prerequisites
- Python 3.8+
bashshelljq(for JSON formatting, optional but recommended)curl(for server testing)
Data Storage
All mock data is stored in ~/.mock/data.jsonl as newline-delimited JSON. Each record has a unique id, a type field (endpoint, response, schema, seed, recording), and a created_at timestamp.
Configuration is stored in ~/.mock/config.json.