Skylv Mock Server Generator

# mock-server-generator

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Skylv Mock Server Generator" with this command: npx skills add sky-lv/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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

research-web-publisher

将调研报告内容发布为图文并茂的HTML网页,推送至GitHub并生成国内可访问的预览链接,实现完整发布流程。

Registry SourceRecently Updated
Coding

Futu Client

Provides a Python client to query stock positions, account info, place orders, and retrieve market data using the Futu OpenAPI.

Registry SourceRecently Updated
Coding

Inbox Zero API CLI

Use the Inbox Zero API CLI to inspect the live API schema, list and manage automation rules, and read inbox analytics through the public API. Use this when a...

Registry SourceRecently Updated
Coding

OpenAI Codex Multi OAuth

Manage and debug multiple OpenAI Codex OAuth profiles inside OpenClaw, including native multi-profile auth stores and external-router setups where one active...

Registry SourceRecently Updated