LogoClawIndex
CasesSkillsAbout
LogoClawIndex

mocking-assistant - Create stable API and service mocks

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

Tags

Updated: 2026-05-11
testingmockingAPIMSWfixtures

Capabilities

create MSW handlerssetup mock serverdefine fixturesoverride handlers

Typical Inputs

test filesAPI specificationsservice interfaces

Typical Outputs

mock server configurationHTTP handlerstest fixtures

What this skill does

  • create MSW handlers
  • setup mock server
  • define fixtures
  • override handlers
  • mock services
  • spy on functions
  • mock date/time
  • mock modules
  • mock GraphQL
  • simulate errors
  • simulate delays
  • generate IDs

Inputs

  • test files
  • API specifications
  • service interfaces
  • fixture data

Outputs

  • mock server configuration
  • HTTP handlers
  • test fixtures
  • service mocks
  • function spies
  • module mocks
  • GraphQL handlers

Requirements

  • JavaScript/TypeScript environment
  • testing framework support
  • module system 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.