api-mock

Community

Generate API mocks and stub servers

Authormanastalukdar
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the generation of mock API servers and stub services, streamlining development and testing by providing a reliable, isolated environment.

Core Features & Use Cases

  • API Mock Generation: Create mock servers from OpenAPI specs, GraphQL schemas, or by analyzing existing code (Node.js, Python, Go).
  • Tool Flexibility: Supports Prism, MSW (Mock Service Worker), json-server, and WireMock for diverse mocking needs.
  • Realistic Data: Generates mock data using Faker.js for more accurate testing scenarios.
  • Use Case: A frontend developer needs to build a user interface for a new feature but the backend API is not yet ready. This Skill can generate a mock API server that simulates the expected API responses, allowing the frontend development to proceed without delays.

Quick Start

Use the api-mock skill to generate a json-server mock from the OpenAPI specification located at 'api/v1/swagger.json'.

Dependency Matrix

Required Modules

@stoplight/prism-climsw@faker-js/fakerjson-server

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: api-mock
Download link: https://github.com/manastalukdar/claude-devstudio/archive/main.zip#api-mock

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.