msw
•published 2026/03/13
MSW (Mock Service Worker) v2 best practices, patterns, and API guidance for API mocking in JavaScript/TypeScript tests and development. Covers handler design, server setup, response construction, testing patterns, GraphQL, and v1-to-v2 migration. Baseline: msw ^2.0.0. Triggers on: msw imports, http.get, http.post, HttpResponse, setupServer, setupWorker, graphql.query, mentions of "msw", "mock service worker", "api mocking", or "msw v2".
📦 Install Skill
Command line install
Install directly with the `skills` CLI.
npx skills add anivar/msw-skill/rootFile Explorer
No file selected
Select a file to view its content

