mocking-assistant
CommunityCreate stable API and service mocks.
Authorzinohome
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 mock data for APIs, services, and UI components, ensuring consistent and predictable test environments.
Core Features & Use Cases
- MSW API Mocking: Define handlers for various HTTP methods (GET, POST) to simulate API responses, including success, error, and delayed scenarios.
- Fixture Conventions: Establish reusable data structures (fixtures) for common entities like users and products, ensuring data consistency across tests.
- Service Mocking: Implement mock classes for services to isolate dependencies and test business logic without relying on actual external services.
- Use Case: When developing a new feature that interacts with a third-party API, use this Skill to mock the API's responses, allowing you to test your frontend components and backend logic thoroughly without needing a live API connection.
Quick Start
Use the mocking-assistant skill to create MSW handlers for GET and POST requests to '/api/users'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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/zinohome/CozyChat/archive/main.zip#mocking-assistant Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.