/install skylv-mock-server-generator
mock-server-generator
Create mock HTTP servers for API testing and development. Generate fake data, define endpoints, and simulate responses without a real backend.
Overview
A skill that helps developers create mock APIs quickly for testing frontend applications, prototyping, or decoupling microservices development.
Features
- Quick Server Creation: Generate a mock server with a single command
- Custom Endpoints: Define custom routes, methods, and response bodies
- Dynamic Responses: Use templates to generate realistic fake data
- Delay Simulation: Add latency to simulate real network conditions
- Error Simulation: Easily simulate 4xx/5xx error responses
- Data Persistence: Store and retrieve mock data across requests
- OpenAPI Import: Generate mocks from OpenAPI/Swagger specifications
Commands
Start a Basic Mock Server
start mock server on port 3000
Define Custom Endpoints
add GET /api/users returning [{"id": 1, "name": "John"}]
add POST /api/posts with delay 500ms
Import from OpenAPI
generate mock from https://api.example.com/openapi.json
Use Cases
- Frontend development without a backend
- API testing and test data generation
- Prototyping and demo environments
- CI/CD pipeline testing
- Microservice decoupling
Requirements
- Node.js 18+
- Optional: Docker for containerized deployment
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install skylv-mock-server-generator - After installation, invoke the skill by name or use
/skylv-mock-server-generator - Provide required inputs per the skill's parameter spec and get structured output
What is Skylv Mock Server Generator?
Generate mock HTTP servers with custom endpoints, dynamic fake data, delay and error simulation, and OpenAPI import for API testing and development. It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.
How do I install Skylv Mock Server Generator?
Run "/install skylv-mock-server-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Skylv Mock Server Generator free?
Yes, Skylv Mock Server Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Skylv Mock Server Generator support?
Skylv Mock Server Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Skylv Mock Server Generator?
It is built and maintained by SKY-lv (@sky-lv); the current version is v1.0.0.