mocking-assistant

Community

Create stable API and service mocks.

AuthorCamilo8902
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the development and testing process by enabling the creation of reliable mocks for APIs, services, and UI components, ensuring consistent and isolated testing environments.

Core Features & Use Cases

  • API Mocking with MSW: Define mock API responses for various HTTP methods (GET, POST) and scenarios, including error handling and delayed responses.
  • Fixture Management: Utilize predefined data fixtures for consistent and reusable mock data.
  • Service & Function Mocking: Mock entire services or individual functions for isolated unit and integration testing.
  • Use Case: When developing a new feature that relies on an external API, use this Skill to mock the API's responses, allowing you to test your frontend components and logic without depending on the actual backend being available or stable.

Quick Start

Use the mocking-assistant skill to create MSW handlers for a GET /api/users/:id endpoint.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: mocking-assistant
Download link: https://github.com/Camilo8902/GabyCosmetics/archive/main.zip#mocking-assistant

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.