·msw-mocking

Mock Service Worker (MSW) 2.x for API mocking. Use when testing frontend components with network mocking, simulating API errors, or creating deterministic API responses in tests.

4Installs·0Trend·@yonatangross

Installation

$npx skills add https://github.com/yonatangross/skillforge-claude-plugin --skill msw-mocking

SKILL.md

| Handler location | src/mocks/handlers.ts | | Default behavior | Return success | | Override scope | Per-test with server.use() | | Unhandled requests | Error (catch missing mocks) | | GraphQL | Use graphql.query/mutation | | WebSocket | Use ws.link() for WS mocking |

| references/msw-2x-api.md | Complete MSW 2.x API reference | | examples/handler-patterns.md | CRUD, auth, error, and upload examples | | checklists/msw-setup-checklist.md | Setup and review checklists | | scripts/handlers-template.ts | Starter template for new handlers |

http-request-mocking Keywords: http.get, http.post, http handler, REST mock Solves:

Mock Service Worker (MSW) 2.x for API mocking. Use when testing frontend components with network mocking, simulating API errors, or creating deterministic API responses in tests. Source: yonatangross/skillforge-claude-plugin.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/yonatangross/skillforge-claude-plugin --skill msw-mocking
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is msw-mocking?

Mock Service Worker (MSW) 2.x for API mocking. Use when testing frontend components with network mocking, simulating API errors, or creating deterministic API responses in tests. Source: yonatangross/skillforge-claude-plugin.

How do I install msw-mocking?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yonatangross/skillforge-claude-plugin --skill msw-mocking Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/yonatangross/skillforge-claude-plugin