LogoClawIndex
CasesSkillsAbout
LogoClawIndex

mocking-assistant - Create reliable API and service mocks

Creates stable mocks for APIs, services, and UI components using MSW, fixtures, and test patterns

Tags

Updated: 2026-05-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • define MSW handlers
  • setup mock server
  • create fixtures
  • mock API responses
  • mock service implementations
  • spy on function calls
  • control system time
  • override test handlers
  • mock HTTP requests
  • mock GraphQL operations

Inputs

  • test file
  • API endpoint definitions
  • service interfaces
  • fixture data
  • GraphQL schema
  • module dependencies

Outputs

  • MSW handler code
  • mock server configuration
  • fixture data objects
  • HTTP response mocks
  • mock service classes
  • GraphQL handler code
  • test-specific overrides

Requirements

  • Vitest testing framework
  • MSW library
  • test runner environment
  • TypeScript support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
API mocking
MSW
testing
fixtures
service mocking
test doubles
mock server
GraphQL mocking
define MSW handlers
setup mock server
create fixtures
mock API responses
test file
API endpoint definitions
service interfaces
MSW handler code
mock server configuration
fixture data objects